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.2.tar.gz (7.4 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.2-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiopayme-0.1.2.tar.gz
  • Upload date:
  • Size: 7.4 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.2.tar.gz
Algorithm Hash digest
SHA256 c35b3b8d7e7cbf767286f99980dc398e16cb653c0bba393137f5a18078022e15
MD5 a9cbc0010e2235ed43b741d54d55c057
BLAKE2b-256 0ac8cc2573c39e0f15e9800b122025537bacf72bbbb707ae5c4167726f482b04

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiopayme-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ba9e20ebc5b4a390aa0a0d6182def12afec1d8e5bfb23d32437bd7691c39d965
MD5 a6561ca1670c3529a0e5957b48a78dd8
BLAKE2b-256 58e0a80bc48d0fb144309625162772891371438014a9d7cbad5ff1b0fbde6590

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