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 Provenance Actions
pyeasypay-0.2.10.tar.gz 8.8 kB Without provenance Details for pyeasypay-0.2.10.tar.gz

Built distribution (wheel)

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

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

Security for pyeasypay 0.2.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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