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.1.tar.gz (514.4 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.1-py3-none-any.whl (145.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codex_bot-0.3.1.tar.gz
  • Upload date:
  • Size: 514.4 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.1.tar.gz
Algorithm Hash digest
SHA256 52181f7a53969fa4e7cf94966e38a321d5ab4d8fff7c3deb49fd9e5ef1b1d61e
MD5 4307d5b2417c7bc2be3eb7bca51e8b7c
BLAKE2b-256 a28b3cf199fcc6e13f3f7e94fee08b24af6eea8e8f5085157021c668e7248aa5

See more details on using hashes here.

Provenance

The following attestation bundles were made for codex_bot-0.3.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: codex_bot-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 145.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d04b202cabd3dd276180c06d68a7738a56005b50a5f6de4d2208dab756723f24
MD5 9e53eda391d8c921b5ef555d22fe0263
BLAKE2b-256 e85cc2db72d1e5367a523ba938783d8576006691da65fa707ff2e9e60f22cd5b

See more details on using hashes here.

Provenance

The following attestation bundles were made for codex_bot-0.3.1-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