Skip to main content


easypay

Get on pypi Last commit Pip module installs total downloads GitHub stars
Telegram Discord

Installation

Install package with pip:

pip install pyeasypay

or

python3 -m pip install pyeasypay

Example usage

Example on creating invoice and waiting for it to be paid:

from asyncio import run, sleep
from pyeasypay import EasyPay, Provider


async def main():
    cryptobot = Provider(name='cryptobot', api_key='')
    crystalpay = Provider(name='crystalpay', login='', secret='')
    pay = EasyPay(providers=[cryptobot, crystalpay])
    invoice = await pay.create_invoice(15, 'RUB', 'cryptobot')
    
    print(f"Invoice URL: {invoice.pay_info}")
    
    while invoice.status != 'paid':
        await sleep(5)
        await invoice.check()
        
    if invoice.status == 'paid':
        print('Invoice paid! 🎉')
        
if __name__ == '__main__':
    run(main())

Supported providers

List of supported providers:

Provider Status Kwargs for Proiver (* is required)
CryptoBot ✅ api_key*, network
CrystalPay ✅ login*, secret*
AAIO WIP

Contributors

Contributions are welcomed!

Contributors

Metadata

Release files for pyeasypay 0.2.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyeasypay 0.2.10
File Size Uploaded
pyeasypay-0.2.10.tar.gz 8.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyeasypay 0.2.10
File Interpreter ABI Platform
pyeasypay-0.2.10-py3-none-any.whl Python 3 none any Details

Total release size: 18.4 kB

Release files / pyeasypay-0.2.10.tar.gz

Download URL pyeasypay-0.2.10.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
459f6b4d208d81315635ecb75e6913eb93030eb336b0b7e156f5751772e79ca2
BLAKE2b-256 checksum
How to use checksums
507bfa66bd67a29b52514a099c55fd62c43432d8c6a2943322d8fdc389c173f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.5

Release files / pyeasypay-0.2.10-py3-none-any.whl

Download URL pyeasypay-0.2.10-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98b24ae5472d6151eba797aeafcca9454700af16917d488580132b974d063527
BLAKE2b-256 checksum
How to use checksums
b19958e50e67a5945097f0268d175c7744b7bc3785cfb74c81874d1c2bff6836
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.5

Release history Release notifications | RSS feed

This release

0.2.10 This release

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page