Imported from entirius/entirius-py-przelewy24-sdk (
AGENTS.md). Install upstream withnpx skills add entirius/entirius-py-przelewy24-sdk. Copyright stays with the author.
AGENTS.md
Przelewy24 payment gateway SDK — distribution entirius-py-przelewy24-sdk, import przelewy24_sdk.
Commands
| Command | Meaning |
|---|---|
make install |
sync dependencies (uv, incl. extras) |
make check |
lint + format-check (ruff) |
make fix |
auto-fix lint + format |
make test |
test suite (pytest) |
Conventions
- English only: code, docs, commits, branches, PRs.
- MPL-2.0: every non-trivial source file carries the license header (pre-commit inserts it).
- Toolchain: uv + ruff + hatchling + pytest; all config in
pyproject.toml;uv.lockcommitted. - Git flow:
master(production) +develop(integration); changes land via PR; semver tag onmaster. - Never rename the import package
przelewy24_sdk— it is a public API contract. - Default: do not commit — git is the user's call.
Architecture
przelewy24_sdk/: Przelewy24 client (services/), signing in utils/sign.py, DTOs in dto/.
settings.py reads PRZELEWY24_CRC_KEY from Django settings (django.conf).
Runtime deps: requests, django, entirius-py-process-logger.
Tests configure a minimal Django in tests/conftest.py.