Skip to main content

python-droit

Droit is a simple library for creating bots - view on GitHub

At a glance

TEXT!my:TEXT!name:TEXT!is:INP*name!->TEXT!Hi :VAR!inp.name

A bot using the above Droit Database Script will create the following output:

My name is John -> Hi John
My name is Ellie -> Hi Ellie

Droit Database Script comes with many possible condition-blocks like "TEXT" (a word has to be included in the text), "INP" (reads a word or several words) and "SIMT*80" (a sentence similar to up to in this case 80 percent has to be given). They make it easy to create complex question-to-answer rules. You can extend python-droit by easily writing your own condition-blocks (= plugins).

Features

  • Advanced definition of question-to-answer rules using Droit Database Script
  • Multiple users supported
  • Integrated history functionallity to understand references to previous inputs
  • Extendable: create your own sub-rules ("plugins")

Learn

Installation

Easy installation using pip:

pip install droit

Alternatively you can clone this repository and install it to get the most recent version of droit:

git clone https://github.com/jarinox/python-droit
cd python-droit
pip install .

License

This library is published under the terms of the GNU LESSER GENERAL PUBLIC LICENSE. Please see LICENSE for more information.
Copyright 2019-2021 Jakob Stolze

Metadata

Release files for droit 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for droit 1.1.2
File Size Uploaded
droit-1.1.2.tar.gz 28.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for droit 1.1.2
File Interpreter ABI Platform
droit-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 57.2 kB

Release files / droit-1.1.2.tar.gz

Download URL droit-1.1.2.tar.gz
Size 28.4 kB
Tags Source
SHA-256 checksum
How to use checksums
dc5a01ec271d0d155c7bf7f51f1ab0af7ef730798c9092b47cf4398eed89fb77
BLAKE2b-256 checksum
How to use checksums
0deace8337f941fb8ce3c5a259f7d5f90a191d3ea617027593239e6159db5ea6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.7

Release files / droit-1.1.2-py3-none-any.whl

Download URL droit-1.1.2-py3-none-any.whl
Size 28.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15da81c032f3b6f1966f21940c72dea5cababb6c12009091bbfb175a7898ab60
BLAKE2b-256 checksum
How to use checksums
4ad3f672aa504843c839609470257c670dff48a2ceef64a944a2c5d4e65fde4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.7

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page