Skip to main content

Feature-based Aiogram framework library — reusable infrastructure for Telegram bots

Project description

codex-bot

PyPI version Python versions License: Apache 2.0

codex-bot is a feature-based framework built on top of Aiogram 3.x, providing professional-grade infrastructure for building complex Telegram bot ecosystems.


Install

# Core framework only
pip install codex-bot

# Include Redis Stream integration
pip install "codex-bot[redis]"

Quick Start

import asyncio
from codex_bot.director import Director
from codex_bot.engine.discovery.service import FeatureDiscoveryService

async def main():
    # Auto-discovery of business features
    discovery = FeatureDiscoveryService(
        installed_features=["profile", "settings"]
    )
    discovery.discover_all()

    # Unified orchestration
    print("Codex-Bot ready for action!")

if __name__ == "__main__":
    asyncio.run(main())

Modules

Module Extra Description
base - Immutable DTOs and base orchestrator classes
director - Smart navigation and context management
engine - Convention-based feature discovery service
stream [redis] Redis Streams integration for async event handling
fsm - Namespaced FSM with automated garbage collection

Documentation

Full documentation with architecture diagrams, API reference, and guides:

https://codexdlc.github.io/codex-bot/

Part of the Codex ecosystem

Library Description
codex-core Shared DTOs, logging, and security
codex-platform Infrastructure: Redis, Workers, Notifications
codex-ai Agnostic LLM abstraction layer
codex-services Domain engines: Booking, Payments, CRM

Each library is fully standalone — install only what your project needs. Together they form the backbone of codex-bot (aiogram) and codex-django (Django integration layer).


License

This project is licensed under the Apache License 2.0. Developed by Codex Team.

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

codex_bot-0.3.0.tar.gz (287.9 kB view details)

Uploaded Source

Built Distribution

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

codex_bot-0.3.0-py3-none-any.whl (145.4 kB view details)

Uploaded Python 3

File details

Details for the file codex_bot-0.3.0.tar.gz.

File metadata

  • Download URL: codex_bot-0.3.0.tar.gz
  • Upload date:
  • Size: 287.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for codex_bot-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3b5dac8a8b0547ce90c950609933b976d43238c602e41bd5ae715f34bb9f4014
MD5 14ee40ee62b789106e49574b2f009cc5
BLAKE2b-256 7fd03c399e60639466085e737340e45999589d6d40190002ac586b5f78a310c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for codex_bot-0.3.0.tar.gz:

Publisher: publish.yml on CodexDLC/codex-bot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file codex_bot-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: codex_bot-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 145.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for codex_bot-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abba7cbd203fef7506dd16034c9b94e0749c9ee4a33960c2ae15175643a10258
MD5 fc678274ca30a927e8382382a873c1cd
BLAKE2b-256 80facb760f99405b028e71bc6813c4d630d2064f8132d2ca090882a958b3bd37

See more details on using hashes here.

Provenance

The following attestation bundles were made for codex_bot-0.3.0-py3-none-any.whl:

Publisher: publish.yml on CodexDLC/codex-bot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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