Skip to main content

Calendar Telegram Bot

Project description

Project info:


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

  1. Create PostgreSQL database
  2. Create a .env file and set the required variables (BOT_TOKEN, OWNERS, POSTGRES_URL)
  3. Install to python environment:
pip install ztx-calendar
  1. Run:
ztx-calendar bot

Docker Compose

  1. Create a .env file and set the required variables (BOT_TOKEN, OWNERS)
  2. Run:
docker compose up

Project details


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.0.0.post0.tar.gz (57.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ztx_calendar-2.0.0.post0-py3-none-any.whl (81.2 kB view details)

Uploaded Python 3

File details

Details for the file ztx_calendar-2.0.0.post0.tar.gz.

File metadata

  • Download URL: ztx_calendar-2.0.0.post0.tar.gz
  • Upload date:
  • Size: 57.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","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

Hashes for ztx_calendar-2.0.0.post0.tar.gz
Algorithm Hash digest
SHA256 7b41a6a05d2454764d55e945491d3d6fb8089fc2b9045f6322480c5f85dac64e
MD5 8abfad45a267768640a918e0b8fac3fd
BLAKE2b-256 520ad1ac797e6f2c7fcf68f403c3295d0a676c67ff263e51e33cae4d8ea968fc

See more details on using hashes here.

File details

Details for the file ztx_calendar-2.0.0.post0-py3-none-any.whl.

File metadata

  • Download URL: ztx_calendar-2.0.0.post0-py3-none-any.whl
  • Upload date:
  • Size: 81.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","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

Hashes for ztx_calendar-2.0.0.post0-py3-none-any.whl
Algorithm Hash digest
SHA256 4db8c4c89c3645f8ee95f27fcca7df79eb5f93a4564cd665fa0f2ce32d8e1a30
MD5 e75d828ed796ce0a15a082c0294da6ec
BLAKE2b-256 fe9cce6115b134eeef9e6798d2f2f0956290539a6627a7bc60180db1548db287

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page