butterrobot-0.0.2a3
توضیحات
What is my purpose?
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | butterrobot-0.0.2a3 |
| نام | butterrobot |
| نسخه کتابخانه | 0.0.2a3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Felipe Martin |
| ایمیل نویسنده | me@fmartingr.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/butterrobot/ |
| مجوز | GPL-2.0 |
# Butter Robot


Python framework to create bots for several platforms.

> What is my purpose?
## Supported platforms
| Name | Receive messages | Send messages |
| --------------- | ---------------- | ------------- |
| Slack (app) | Yes | Yes |
| Telegram | Yes | Yes |
## Provided plugins
### Development
#### Ping
Say `!ping` to get response with time elapsed.
### Fun and entertainment
#### Loquito
What happens when you say _"lo quito"_...? (Spanish pun)
## Installation
### PyPi
You can run it directly by installing the package and calling it
with `python` though this is not recommended and only intended for
development purposes.
```
$ pip install --user butterrobot
$ python -m butterrobot
```
### Containers
The `fmartingr/butterrobot/butterrobot` container image is published on Github packages to
use with your favourite tool:
```
docker pull docker.pkg.github.com/fmartingr/butterrobot/butterrobot:latest
podman run -d --name fmartingr/butterrobot/butterrobot -p 8080:8080
```
## Contributing
To run the project locally you will need [poetry](https://python-poetry.org/).
```
git clone git@github.com:fmartingr/butterrobot.git
cd butterrobot
poetry install
```
Create a `.env-local` file with the required environment variables,
you have [an example file](.env-example).
```
SLACK_TOKEN=xxx
TELEGRAM_TOKEN=xxx
...
```
And then you can run it directly with poetry
```
docker run -it --rm --env-file .env-local -p 5000:5000 -v $PWD/butterrobot:/etc/app/butterrobot local/butterrobot python -m butterrobot
```
نیازمندی
| مقدار | نام |
|---|---|
| >=0.11.3,<0.12.0 | quart |
| >=3.6.2,<4.0.0 | aiohttp |
| >=20.1.0,<21.0.0 | structlog |
| >=0.4.3,<0.5.0 | colorama |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl butterrobot-0.0.2a3:
pip install butterrobot-0.0.2a3.whl
نصب پکیج tar.gz butterrobot-0.0.2a3:
pip install butterrobot-0.0.2a3.tar.gz