Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 06:00 UTC
| 1 | # Python SDK Layout |
| 2 | |
| 3 | ## Key Areas |
| 4 | |
| 5 | - `python/composio/`: core Python SDK. |
| 6 | - `python/tests/`: pytest coverage. |
| 7 | - `python/providers/`: provider packages. |
| 8 | - `python/scripts/`: release and maintenance scripts. |
| 9 | - `python/config/`: Ruff, pytest, and mypy config. |
| 10 | |
| 11 | ## Patterns |
| 12 | |
| 13 | - Preserve Python naming conventions. |
| 14 | - Keep provider-specific behavior out of core unless it is part of the shared abstraction. |
| 15 | - Add local types rather than importing churn-prone generated-client internals when a small typed shape is enough. |
| 16 | - Check TypeScript parity for shared SDK concepts. |
| 17 | |
| 18 | ## Setup And Checks |
| 19 | |
| 20 | Run from `python/`: |
| 21 | |
| 22 | ```bash |
| 23 | make env |
| 24 | source .venv/bin/activate |
| 25 | make chk |
| 26 | make tst |
| 27 | ``` |