Modern and fully asynchronous SDK for the Platega payment API
Project description
aioplatega is a modern and fully asynchronous SDK for the Platega payment API written in Python 3.10+ using asyncio and aiohttp.
Documentation: aioplatega docs
Features
Fully asynchronous (asyncio)
Type-safe with Pydantic v2 models and full type annotations
Supports mypy strict mode
aiogram-style command pattern for API methods
Typed exception hierarchy for every HTTP status
Lazy connection pool with aiohttp
Installation
pip install aioplatega
uv add aioplatega
Quick Start
import asyncio
from aioplatega import Platega, PaymentMethodInt, PaymentDetails
async def main():
async with Platega(merchant_id="your-id", secret="your-secret") as client:
result = await client.create_transaction(
payment_method=PaymentMethodInt.SBP_QR,
payment_details=PaymentDetails(amount=100.0, currency="RUB"),
)
print(result.transaction_id, result.status)
asyncio.run(main())
Community
🇷🇺 @platega_sdk
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aioplatega-0.1.0.tar.gz.
File metadata
- Download URL: aioplatega-0.1.0.tar.gz
- Upload date:
- Size: 172.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20aac6bb4de6441063782190d79fb2dc703889af7fd5bffb06d9abf0370b7c90
|
|
| MD5 |
189a39bcdaf4efbfac6e841faea7bc8c
|
|
| BLAKE2b-256 |
c1818e9748ef9556c7e760684c12ec60dfd1cb6048c947751f74a417655becd3
|
Provenance
The following attestation bundles were made for aioplatega-0.1.0.tar.gz:
Publisher:
pypi-release.yml on DOFER998/aioplatega
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aioplatega-0.1.0.tar.gz -
Subject digest:
20aac6bb4de6441063782190d79fb2dc703889af7fd5bffb06d9abf0370b7c90 - Sigstore transparency entry: 959054380
- Sigstore integration time:
-
Permalink:
DOFER998/aioplatega@942bbf4ea42fe2cd6a32e6193a81b17ebf8bb9b5 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/DOFER998
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-release.yml@942bbf4ea42fe2cd6a32e6193a81b17ebf8bb9b5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file aioplatega-0.1.0-py3-none-any.whl.
File metadata
- Download URL: aioplatega-0.1.0-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dab01376d672a8a40047b89d0806d4c00a930858ea5645961440709ee3f84937
|
|
| MD5 |
f5909c53d7c9c94a14fb221143cccd0f
|
|
| BLAKE2b-256 |
1e25ec2bab911737221dd0a237d762950dc1c9d1888f98e45846290d2860b7a9
|
Provenance
The following attestation bundles were made for aioplatega-0.1.0-py3-none-any.whl:
Publisher:
pypi-release.yml on DOFER998/aioplatega
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aioplatega-0.1.0-py3-none-any.whl -
Subject digest:
dab01376d672a8a40047b89d0806d4c00a930858ea5645961440709ee3f84937 - Sigstore transparency entry: 959054495
- Sigstore integration time:
-
Permalink:
DOFER998/aioplatega@942bbf4ea42fe2cd6a32e6193a81b17ebf8bb9b5 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/DOFER998
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-release.yml@942bbf4ea42fe2cd6a32e6193a81b17ebf8bb9b5 -
Trigger Event:
push
-
Statement type: