Imported from sunteya/exots (
pip/AGENTS.md). Install upstream withnpx skills add sunteya/exots --skill pip. Copyright stays with the author.
pip/AGENTS.md
This directory contains the Python Server implementation for Exots.
Tech Stack
- Language: Python 3.10+
- Package Manager:
uv(withpyproject.toml+uv.lock) - Type Checking: Type hints throughout;
py.typedmarker included
Key Commands
- Install/Sync (dev env):
uv sync --dev - Run Tooling:
uv run <command> - Build: Copy root LICENSE/README then
uv run python -m build - Pack:
uv run python -m build(produces sdist and wheel indist/)
Development Workflow
- Make changes to the Python code in
src/exots/. - Integration tests are in
gem/spec/(Ruby side), run withbundle exec rspec spec/lib/exots/client_python_spec.rb. - The package has zero runtime dependencies (stdlib only).
- Lock dependencies with
uv lockafter dependency changes and commituv.lock. - To build, copy
../LICENSEand../README.mdinto this directory, then runuv run python -m build.
Code Style
- Formatting: Follow PEP 8 conventions.
- Type Hints: All public functions and methods must have type annotations.
- Naming:
snake_casefor functions, methods, variables;PascalCasefor classes. - No External Dependencies: Only use the Python standard library at runtime.
Note: Do not manually edit pip/LICENSE or pip/README.md. These are copied from the project root during the build process.