my-nalog
Python клиент для работы с API сервиса "Мой Налог" (lknpd.nalog.ru)
🔥 Основные возможности
-
Авторизация по SMS или логину/паролю
-
Создание чеков (приходных ордеров)
-
Получение ссылок на печатные формы
-
Сохранение сессии между запусками
📦 Установка
pip install my-nalog
🚀 Пример использования
from my_nalog import NalogRuAPI
api = NalogRuAPI()
api.auth_by_sms("79991234567")
user = api.verify_sms("123456", "...")
receipt = api.create_receipt(100.50, "Услуги")
print(f"Ссылка на чек: {receipt.link}")
📚 Подробная документация
Полная документация и исходный код доступны в GitHub репозитории.
Metadata
Release files for my-nalog 0.2.0
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 |
|---|---|---|---|---|
| my_nalog-0.2.0.tar.gz | 5.2 kB | Without provenance | Details for my_nalog-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| my_nalog-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for my_nalog-0.2.0-py3-none-any.whl |
Total release size: 11.1 kB
Release files / my_nalog-0.2.0.tar.gz
| Download URL | my_nalog-0.2.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f67a996494937ce43a0ef65f5fd8d76afa033cc15f3090a1d2e7cec3274c5da
|
|
BLAKE2b-256 checksum How to use checksums |
505646121c3da493ecde4515979a28e2056379d2f20cf99e5ca3be59f32da396
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / my_nalog-0.2.0-py3-none-any.whl
| Download URL | my_nalog-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e95be090897d00905a5cbc7cfbe64bc5879aa15bad1eda9c150799f84407872
|
|
BLAKE2b-256 checksum How to use checksums |
7e3b0848a8a182a1424adb7510d505071226ca90101251d0d5be1b77a53b41ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Security for my-nalog 0.2.0
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.