Skip to main content

peyk logo

peyk

An aiogram-style async bot library for Telegram, Bale, and Rubika.

10-line quickstart

from peyk import Bot

bot = Bot("TOKEN", platform="telegram")

@bot.command("start")
async def start(message):
    await message.answer("Hello from peyk!")

@bot.message()
async def echo(message):
    await message.answer(message.text or "")

bot.run()

platform= is selected once when the bot is created; handlers, filters, keyboards, and normalized message objects stay platform-neutral.

Install

pip install peyk

For development:

pip install -e ".[dev]"

Documentation

  • Capabilities — audited feature support and UNKNOWN areas.
  • Migration from aiogram — import mapping, compatible surfaces, and Peyk-specific differences.
  • Quickstart — simple bot.run() first, then Dispatcher/Router.
  • Examples — runnable examples using public imports.

Tests

pytest

The test suite is offline and uses local/fake servers and in-memory/fakeredis fixtures.

Project record

See docs/decisions.md for the architectural decision record and capability evidence.

Publishing

See PUBLISHING.md for the one-time GitHub/PyPI setup and the release checklist for every version after that.

License

MIT — see LICENSE.

Metadata

Release files for peyk 1.0.0.post35501727810

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for peyk 1.0.0.post35501727810
File Size Uploaded
peyk-1.0.0.post35501727810.tar.gz 404.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for peyk 1.0.0.post35501727810
File Interpreter ABI Platform
peyk-1.0.0.post35501727810-py3-none-any.whl Python 3 none any Details

Total release size: 1.3 MB

Release files / peyk-1.0.0.post35501727810.tar.gz

Download URL peyk-1.0.0.post35501727810.tar.gz
Size 404.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3ab3ae4faaf2cf92790b3f668df70f9ef97642a5dfbba7b2a01c66b3477a445d
BLAKE2b-256 checksum
How to use checksums
95199d938a5a89d78f2d3c5b75e04da5b370d8cf8879d74f98800f8aca7673fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release files / peyk-1.0.0.post35501727810-py3-none-any.whl

Download URL peyk-1.0.0.post35501727810-py3-none-any.whl
Size 850.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e63e44f9b863d8f3c09e519d3df773420017ee701d31a1fc7a54ad6783fec91
BLAKE2b-256 checksum
How to use checksums
697f7b4d5aeb335b9ca5d95a9ee1bec7b42bf2b55379a5380be2e604baa93ca3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0.post35501727810 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page