aiosend
aiosend is a synchronous & asynchronous Crypto Pay API client.
Official documentation
Telegram chat
Quick start
import asyncio
from aiosend import CryptoPay
async def main():
cp = CryptoPay(token="TOKEN")
app = await cp.get_me()
print(app.name) # Your App's Name
if __name__ == "__main__":
asyncio.run(main())
aiogram 3.x integration example
import asyncio
from aiogram import Bot, Dispatcher
from aiosend import CryptoPay
cp = CryptoPay("TOKEN")
bot = Bot("TOKEN")
dp = Dispatcher()
@dp.message()
async def get_invoice(message):
invoice = await cp.create_invoice(1, "USDT")
await message.answer(f"pay: {invoice.bot_invoice_url}")
invoice.poll(message=message)
@cp.invoice_paid()
async def handle_payment(invoice, message):
await message.answer(f"invoice #{invoice.invoice_id} has been paid")
async def main():
await asyncio.gather(
dp.start_polling(bot),
cp.start_polling(),
)
if __name__ == "__main__":
asyncio.run(main())
Metadata
Release files for aiosend 3.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiosend-3.0.8.tar.gz | 968.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aiosend-3.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.0 MB
Release files / aiosend-3.0.8.tar.gz
| Download URL | aiosend-3.0.8.tar.gz |
|---|---|
| Size | 968.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e75161ff0ffc4bfbc85f1cffd65d3ac48606b40c4cce4c2ac0576cfe4290c4c
|
|
BLAKE2b-256 checksum How to use checksums |
cd8e987320c9c96c3da6e3e581eb380e34e19910d80f91914ab6965671c4ec3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 29, 2026.
Transparency logRelease files / aiosend-3.0.8-py3-none-any.whl
| Download URL | aiosend-3.0.8-py3-none-any.whl |
|---|---|
| Size | 65.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
24a1582b777a4844354de18143eda36948de6329c35465f03eef4268b362b0ba
|
|
BLAKE2b-256 checksum How to use checksums |
528972f77b504e93002a3644422cf02e342433deda6e97351ae9e23265be63db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 29, 2026.
Transparency log