This release is a pre-release and may not be stable for production use.
aiopaykassa
paykassa.pro Api Python Async Library
Wrapper for Paykassa.pro API and SCI methods
API example:
from aiopaykassa.clients import PayKassaApi
api = PayKassaApi(api_id=<your_api_id>, api_key=<your_api_key>, shop=<your_merchant_id>) # test_mode=True for testing
async def print_bitcoin_btc_balance():
balance = await api.get_shop_balance()
print(balance.bitcoin_btc)
def main():
loop = asyncio.get_event_loop()
loop.run_until_complete(print_bitcoin_btc_balance())
SCI example:
import decimal
from aiopaykassa.clients import PayKassaSci
from aiopaykassa.types import NewOrder
sci = PayKassaSci(sci_id=<your_merchant_id>, sci_key=<your_merchant_password>) # test_mode=True for testing
async def create_order_btc(order_id: int, amount: decimal.Decimal, comment: str) -> NewOrder:
new_order = await sci.create_order(
order_id=order_id,
amount=amount,
currency=Currency.BTC,
system=System.BITCOIN,
comment=comment
)
return new_order
def main():
loop = asyncio.get_event_loop()
loop.run_until_complete(create_order_btc(1, decimal.Decimal(0.00001), "test"))
Metadata
Release files for aiopaykassa 0.0.1a3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aiopaykassa-0.0.1a3.tar.gz | 8.9 kB | Without provenance | Details for aiopaykassa-0.0.1a3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiopaykassa-0.0.1a3-py3-none-any.whl | Python 3 | none | any | Details for aiopaykassa-0.0.1a3-py3-none-any.whl |
Total release size: 27.6 kB
Release files / aiopaykassa-0.0.1a3.tar.gz
| Download URL | aiopaykassa-0.0.1a3.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5543f89c7299f965b81894e6b104eccadfee2803ca05f7f1ad8bc08168e7960
|
|
BLAKE2b-256 checksum How to use checksums |
de09d8c24b12a5d513ae48b64c6bc5b5fa908ce58f1409ba654b40e8eeb2ebaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.10.2 Windows/10
|
Release files / aiopaykassa-0.0.1a3-py3-none-any.whl
| Download URL | aiopaykassa-0.0.1a3-py3-none-any.whl |
|---|---|
| Size | 18.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
789ae3cea61c1ab7345f2bbae80e9b4bd9bbc089e0ddec8e575b1202a2b4b786
|
|
BLAKE2b-256 checksum How to use checksums |
346c3b64e564e13cc17c55f1014183b220e2ecf9cc194cfbefb761baee2222d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.10.2 Windows/10
|
Security for aiopaykassa 0.0.1a3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.