Calendar Telegram Bot
Project description
Project info:
- Name:
ztx-calendar - Bot: https://t.me/ztx_calendar_bot
- Author: https://t.me/zxcdiana
Command line interface
Get help:
ztx-calendar --help
Configuration
Configuration based on environment variables or a .env file
You can use the .env.template file as a template
Environment variables
- BOT_TOKEN:
str— Telegram bot token - OWNERS:
list[int]— Telegram user IDs of bot owners - POSTGRES_URL:
str— PostgreSQL connection URL (format:postgresql://<USER>:<PASSWORD>@<HOST>/<DATABASE>)
Installation
- Create PostgreSQL database
- Create a
.envfile and set the required variables (BOT_TOKEN,OWNERS,POSTGRES_URL) - Install to python environment:
pip install ztx-calendar
- Run:
ztx-calendar bot
Docker Compose
- Create a .env file and set the required variables (BOT_TOKEN, OWNERS)
- Run:
docker compose up
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ztx_calendar-2.1.1.post1.tar.gz
(57.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ztx_calendar-2.1.1.post1.tar.gz.
File metadata
- Download URL: ztx_calendar-2.1.1.post1.tar.gz
- Upload date:
- Size: 57.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
007561966c68c08225575c516036b1144e5198fffa8b4bdabf7660361c1ef8c5
|
|
| MD5 |
bd488cf633b285d8e18e0a486ac43970
|
|
| BLAKE2b-256 |
8c6d95c166f2e8ec7d00396c467776da675338fcb0e19a851932c4e08f8c565f
|
File details
Details for the file ztx_calendar-2.1.1.post1-py3-none-any.whl.
File metadata
- Download URL: ztx_calendar-2.1.1.post1-py3-none-any.whl
- Upload date:
- Size: 81.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d35ff0926ba2e15e04b9cf870d1cb78994c0f2d7dfdff01a187a9862475ae965
|
|
| MD5 |
04636f13457d3ee4b003ebd55f2e60e7
|
|
| BLAKE2b-256 |
f5b248cd23f7fcc634364c562482f3b03e158340a527208400ded80e1206b530
|