Skip to main content

peyk logo

peyk

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

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.post45025725829

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.post45025725829
File Size Uploaded Provenance Actions
peyk-1.0.0.post45025725829.tar.gz 433.6 kB With provenance Details for peyk-1.0.0.post45025725829.tar.gz

Built distribution (wheel)

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

Total release size: 1.3 MB

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

Download URL peyk-1.0.0.post45025725829.tar.gz
Size 433.6 kB
Tags Source
SHA-256 checksum
How to use checksums
213fc5a9adcd35f8ddaf8aaa2b13e05804469c37dc4077d4d30768370a934893
BLAKE2b-256 checksum
How to use checksums
33a92c08d337a45c5d4c2f19b800ef5f20bea96bbc35cf239e2793e3a3c7d5f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 22, 2026.

Transparency log

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

Download URL peyk-1.0.0.post45025725829-py3-none-any.whl
Size 875.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
353010abf0ee890ebe4307b29812d4f6c7be5189bc00e720a7e00c6628290021
BLAKE2b-256 checksum
How to use checksums
87127b0bb4798c1cb4ea7fa1f64e0479783c4d6ee0231a76f95f66dae375c3ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 22, 2026.

Transparency log

Security for peyk 1.0.0.post45025725829

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for peyk-1.0.0.post45025725829.tar.gz

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 Nov 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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