https://github.com/pythoncanarias/pydeckard
Telegram Bot made in Python to automate different tasks of Python Canarias
https://github.com/pythoncanarias/pydeckard
api bot python telegram
Last synced: 2 days ago
JSON representation
Telegram Bot made in Python to automate different tasks of Python Canarias
- Host: GitHub
- URL: https://github.com/pythoncanarias/pydeckard
- Owner: pythoncanarias
- License: gpl-2.0
- Created: 2017-12-03T19:38:50.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2026-07-05T23:34:58.000Z (11 days ago)
- Last Synced: 2026-07-06T01:10:55.873Z (10 days ago)
- Topics: api, bot, python, telegram
- Language: Python
- Homepage:
- Size: 157 KB
- Stars: 7
- Watchers: 1
- Forks: 5
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-canarias - Pydeckard - square&label=%E2%AD%90)](https://github.com/pythoncanarias/pydeckard/stargazers) [](https://github.com/pythoncanarias/pydeckard/commits/main) [](https://github.com/pythoncanarias/pydeckard) [](https://github.com/pythoncanarias/pydeckard/blob/main/LICENSE) [](https://www.tenerife.es/) - Bot de Telegram para automatizar tareas de la comunidad Python Canarias. (Comunidad y Ecosistema Tech)
README
# PyDeckard
Telegram Bot made in Python to automate different tasks of [Python Canarias](http://pythoncanarias.es).

> "I've seen things you people wouldn't believe"
> In honour of Rick Deckard from Blade Runner.
## Installation
Create a virtualenv for Python3 and install dependencies. In this
example we are using python -m venv:
~~~console
$ python -m venv pydeckard
$ cd pydeckard
$ source ./bin/activate
$ ./bin/pip install git+https://github.com/misanram/pydeckard.git@Instalar-desde-GitHub
~~~
As a developer, you must install it in this other way:
~~~console
$ ./bin/pip install git+https://github.com/misanram/pydeckard.git@Instalar-desde-GitHub[dev]
~~~
After installation, the next step is to create the .env configuration file and
the file for automatic program startup.
During the process, you will be asked to enter your Telegram token and
will be prompted with other configuration-related questions. The only required
item is the Telegram token.
To do this, activate the virtual environment and run:
~~~console
$ pydeckard --setup
~~~
You can now launch the bot, activating the virtual environment and running::
~~~console
$ pydeckard
~~~
.. or delegate the startup of the application to your operating system
using the instructions that setup has provided.
You can view the bot log using:
~~~console
$ journalctl -u pydeckard.service -f systemd
~~~
You can use the flag `--verbose` (or `-v') to get more information in the console:
~~~console
$ python3 bot.py --verbose
~~~
## Tests
Use pytest:
~~~console
$ python3 -m pytest
~~~