Skip to main content

Async Python library for Payme integration

Project description

aiopayme

PyPI version Python versions License Downloads Telegram

Async Python library for Payme integration.

Documentation

aiopayme.github.io

Installation

pip install aiopayme

Quick Example

from aiopayme import Payme, Dispatcher, Router
from aiopayme.types import CheckPerformTransactionCtx

payme = Payme(
    merchant_id="your_merchant_id",
    secret_key="your_secret_key",
    sandbox=True,
)

dp = Dispatcher()
router = Router()

@router.check_perform_transaction()
async def check_perform(ctx: CheckPerformTransactionCtx):
    ...

dp.include_router(router)
payme.setup(dp)

License

MIT

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

aiopayme-0.1.5.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

aiopayme-0.1.5-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file aiopayme-0.1.5.tar.gz.

File metadata

  • Download URL: aiopayme-0.1.5.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for aiopayme-0.1.5.tar.gz
Algorithm Hash digest
SHA256 db96ae296642451c20009977cdefa9007883414f31e46a14996351f2867924ff
MD5 f61176e28ef0c98764e34f23926ea00c
BLAKE2b-256 a46969a54b38438e6e3f01cdf48196f8a35f477fe5b516eddc733d4bf16710e3

See more details on using hashes here.

File details

Details for the file aiopayme-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: aiopayme-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for aiopayme-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 11833c54dc5f27b7d045d214db57640c75d7d082cf13d7d6cf80fbc6efe5a76c
MD5 0598023700f160a18e3dcdc456d9ad6f
BLAKE2b-256 9cecf3318f240bc08efa433a9d93623ecc33092dc2143a49bbc74a4aa680cf7b

See more details on using hashes here.

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