Skip to main content

Tochka Bank API Client

Project description

Tochka Bank API Client

PyPI version

Tochka Bank API Client

Features

  • Async client built on niquests, covering the full Tochka API (71 endpoints).
  • Services grouped as namespaces - client.open_banking, client.acquiring, client.sbp, etc.
  • Fully typed: Pydantic request/response models, typed query params via Unpack[TypedDict].
  • Sandbox/production switch, typed errors (TochkaAPIError), async context manager.
  • Models regenerated from swagger.json; client mixins regenerated via scripts/gen_client.py.

Development

To set up for local development:

# Clone your fork
git clone git@github.com:your_username/tochka-client.git
cd tochka-client

# Install in editable mode with live updates
uv tool install --editable .

Run tests:

uv run pytest

Run quality checks (format, lint, type check, test):

just qa

Author

Tochka Bank API Client was created in 2026 by Alexey Pechenin.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tochka_client-0.1.0.tar.gz (33.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tochka_client-0.1.0-py3-none-any.whl (37.9 kB view details)

Uploaded Python 3

File details

Details for the file tochka_client-0.1.0.tar.gz.

File metadata

  • Download URL: tochka_client-0.1.0.tar.gz
  • Upload date:
  • Size: 33.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tochka_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b5a9a1224b226706821a8cfc81762b24ba9d4d922c4ba43f195da514768b2a03
MD5 a0f4a5f2fba7d3e6453bcff8ed855b87
BLAKE2b-256 b090dca34dca60faabb613fe9bc9e070863c84bb4adf1081e618e24ea4960ad1

See more details on using hashes here.

Provenance

The following attestation bundles were made for tochka_client-0.1.0.tar.gz:

Publisher: publish.yml on pyrorhythm/tochka-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tochka_client-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tochka_client-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 37.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tochka_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 74ccb68d23a57387aa2a2689e26730acbf5f66cbb10675b3acdb6a96944f81f3
MD5 ec7fe2416cf109e39d22c2b58be596a8
BLAKE2b-256 2115d849ec484af0c32bf48bc5e361eea67aa726d819ea7cf6bafc328473156e

See more details on using hashes here.

Provenance

The following attestation bundles were made for tochka_client-0.1.0-py3-none-any.whl:

Publisher: publish.yml on pyrorhythm/tochka-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page