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.3.tar.gz (7.6 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.3-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiopayme-0.1.3.tar.gz
  • Upload date:
  • Size: 7.6 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.3.tar.gz
Algorithm Hash digest
SHA256 dd9fae262f5401bb361b2a6c57e5abaf5b29bc3a7da7feb0d605941f7b0d7f12
MD5 71dca7a4c904b74fb5c10e6dfbe7a851
BLAKE2b-256 cdb45c29e3c6261443e3518978914af18154038524708e5b5ee2329019a58ee6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiopayme-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 13.6 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ece037e39daf66ffd27e1157e399b135fed9ffa64d8c78a06f7bf200bf5bb534
MD5 28d05899df7fc0b92fa586a705f1dda0
BLAKE2b-256 347ded0944e94d0cf3d728004ed8db821b52fe8e0c059140ea226387e07d8d03

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