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

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiopayme-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 cea8b646a1c502702116a5d24bace2229ada61b842848bd26637477a6356baf6
MD5 507204700b91d93d4847f182e056ec9c
BLAKE2b-256 53dd590b3e7bfea3d553776922271a4cf2bb9ce0517db62e84e3ea194e61dff9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiopayme-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 18bdeb22e6e5c25ce5c628346b3976cba00205f64825d91534cee248929dfcbf
MD5 240fb2ff63d97a39441c3163676b53bb
BLAKE2b-256 20aedcb303c3e345d2989a62cf102939dc8cb0b1b3fc4bc6a4044d4b6eb3ce3b

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