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.2.1.tar.gz (286.2 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.2.1-py3-none-any.whl (145.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codex_bot-0.2.1.tar.gz
  • Upload date:
  • Size: 286.2 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.2.1.tar.gz
Algorithm Hash digest
SHA256 43f49418d87eac20c5a7bb5e85fa348de0a131cb52f2dfbe2e8a323acf8ff697
MD5 5abec4bff421d2c815bb7d6749579625
BLAKE2b-256 e90252338498ce4ce65724d26db76db5e349077ab25416b4a8a70b10ba3d1528

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: codex_bot-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 145.3 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9519962079195aa46d87fbb9d18d157ecb25cb9ce67b455a111f46a59a4db16f
MD5 6b32839b6f6fab4c02672b89f106c974
BLAKE2b-256 c6e2862628f1f18bf7fbc825a0cfe015c7093c0b948df05fb7d6e6673389b1db

See more details on using hashes here.

Provenance

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