AioSmsActivate
Getting Started
Simple usage
from aiosmsactivate import SmsActivate
from aiosmsactivate.types import SetActivationStatus
import asyncio
sa = SmsActivate('token')
async def main():
balance = await sa.get_balance()
print(balance) # 6.25
number = await sa.purchase('ya')
number.activation_id # 3807035855
number.phone_number # '79238944456'
number.operator # 'mtt'
print(number)
# activation_id=3809954454 phone_number='79927146212' activation_cost=0.2
# country_code='0' can_get_another_sms=True activation_time='2025-07-09 01:14:45'
# operator='mtt' activation_unix_time=1654093857
code = await number.wait_sms_code(timeout=300)
print(code) # 1234
status = await number.get_activation_status()
await number.set_activation_status(SetActivationStatus.CANCEL) # Отменить номер || Cancel number
await number.set_activation_status(8) # Отменить номер || Cancel number
service = await sa.get_service('ya', 0) # 0 it is ru country
print(service)
# code='ya' name='Yandex/Uber' country='0'
# price=0.115 retail_price=0.2 free_price_map={'0.3067': 17134, '0.3065': 16996, ...}
# count=11049 physical_count=5334
asyncio.run(main())
Metadata
Release files for aiosmsactivate 1.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aiosmsactivate-1.5.1.tar.gz | 111.0 kB | Without provenance | Details for aiosmsactivate-1.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiosmsactivate-1.5.1-py3-none-any.whl | Python 3 | none | any | Details for aiosmsactivate-1.5.1-py3-none-any.whl |
Total release size: 148.2 kB
Release files / aiosmsactivate-1.5.1.tar.gz
| Download URL | aiosmsactivate-1.5.1.tar.gz |
|---|---|
| Size | 111.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e991db858551216c7ac4a44b1c6312eeffbd65a119549af0dad85d35cdb5462
|
|
BLAKE2b-256 checksum How to use checksums |
baa3f888a4136c3798ce715116ba352a89aef8605fbbb659aa41a89ad7039a81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Release files / aiosmsactivate-1.5.1-py3-none-any.whl
| Download URL | aiosmsactivate-1.5.1-py3-none-any.whl |
|---|---|
| Size | 37.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88225fc430e310939dded5548387611822d5ed5b1ca61a10db8da1439e8aad4f
|
|
BLAKE2b-256 checksum How to use checksums |
14a6b73b583ee74330bd73a1b80d046b6e30ba16ae3484f9cd0309da347321ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Security for aiosmsactivate 1.5.1
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.