Feature-based Aiogram framework library — reusable infrastructure for Telegram bots
Project description
codex-bot
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43f49418d87eac20c5a7bb5e85fa348de0a131cb52f2dfbe2e8a323acf8ff697
|
|
| MD5 |
5abec4bff421d2c815bb7d6749579625
|
|
| BLAKE2b-256 |
e90252338498ce4ce65724d26db76db5e349077ab25416b4a8a70b10ba3d1528
|
Provenance
The following attestation bundles were made for codex_bot-0.2.1.tar.gz:
Publisher:
publish.yml on CodexDLC/codex-bot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
codex_bot-0.2.1.tar.gz -
Subject digest:
43f49418d87eac20c5a7bb5e85fa348de0a131cb52f2dfbe2e8a323acf8ff697 - Sigstore transparency entry: 1339695033
- Sigstore integration time:
-
Permalink:
CodexDLC/codex-bot@e18953daf8d527436472b811c0e7df681cbc6fe2 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/CodexDLC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e18953daf8d527436472b811c0e7df681cbc6fe2 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9519962079195aa46d87fbb9d18d157ecb25cb9ce67b455a111f46a59a4db16f
|
|
| MD5 |
6b32839b6f6fab4c02672b89f106c974
|
|
| BLAKE2b-256 |
c6e2862628f1f18bf7fbc825a0cfe015c7093c0b948df05fb7d6e6673389b1db
|
Provenance
The following attestation bundles were made for codex_bot-0.2.1-py3-none-any.whl:
Publisher:
publish.yml on CodexDLC/codex-bot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
codex_bot-0.2.1-py3-none-any.whl -
Subject digest:
9519962079195aa46d87fbb9d18d157ecb25cb9ce67b455a111f46a59a4db16f - Sigstore transparency entry: 1339695036
- Sigstore integration time:
-
Permalink:
CodexDLC/codex-bot@e18953daf8d527436472b811c0e7df681cbc6fe2 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/CodexDLC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e18953daf8d527436472b811c0e7df681cbc6fe2 -
Trigger Event:
push
-
Statement type: