Library to integrate with the IUGU API.
This project targets Python >= 3.13 and uses uv as the build backend/manager.
- Create a virtualenv and activate it:
uv venv. .venv/bin/activate
- Install in editable mode with dev tools (pytest, black):
uv pip install -e .[dev]
- Run all tests:
pytest
- Tests live under
tests/and follow the patterntest_*.py. - Imports resolve either via the editable install above or the provided
tests/conftest.pywhich addssrc/tosys.pathfor local runs.
- Format the codebase:
black .
- The configuration (line length, Python version) is in
pyproject.toml.
- Build wheel/sdist using uv build backend:
uv build
- Every new feature or bugfix must include corresponding tests in
tests/. - Keep runtime dependencies minimal (the library depends only on
requests). - Public API should be typed;
py.typedis included.