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.7.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.7-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiopayme-0.1.7.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.7.tar.gz
Algorithm Hash digest
SHA256 26d76b88146c10ccd4c67e317f687d0fa9f1d354bd2a54ffaf33ba12e5e440c7
MD5 7637df5c176712030c6de9428838a524
BLAKE2b-256 315aee3b5c274ab4ebd0929525907358e4f872114eec816f580ada7828cb6b3a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiopayme-0.1.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 84b9765336eea04882262227ff471d444b06cf801387e8a5693e11e1f57cb55d
MD5 12aff2d4ad02cdc9078b3e58848ba55e
BLAKE2b-256 abeea77031401b121931dacc2bc8f7e9074713b84bf0324639b1b8d2ee6b6ef2

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