droit-1.1.2
توضیحات
Simple library for creating bots
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | droit-1.1.2 |
| نام | droit |
| نسخه کتابخانه | 1.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jakob Stolze |
| ایمیل نویسنده | jarinox@wolke7.de |
| آدرس صفحه اصلی | https://github.com/jarinox/python-droit |
| آدرس اینترنتی | https://pypi.org/project/droit/ |
| مجوز | LGPLv2.1 |
# python-droit
Droit is a simple library for creating bots - [view on GitHub](https://github.com/jarinox/python-droit)
## 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
- [Wiki > Introduction to Droit v1.1](https://github.com/jarinox/python-droit/wiki/Introduction-to-Droit-v1.1)
- [Documentation](https://github.com/jarinox/python-droit/blob/master/docs/droit.md)
- [Examples](https://github.com/jarinox/python-droit/blob/master/sample/)
## 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
نیازمندی
| مقدار | نام |
|---|---|
| - | parse |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl droit-1.1.2:
pip install droit-1.1.2.whl
نصب پکیج tar.gz droit-1.1.2:
pip install droit-1.1.2.tar.gz