Tool for checking the status of the NPD-payer in Russia
Project description
NPDChecker
Инструмент для проверки статуса плательщика налога на профессиональный доход (НПД) по ИНН
Синхронный режим:
from npdchecker import NPDChecker
checker = NPDChecker()
inn = 144075719327
status = checker(inn) # проверка актуального статуса
status = checker(inn, "2020-07-25") # Проверка статуса на 25 июля 2020 года
Асинхронный режим:
from npdchecker import NPDChecker
checker = NPDChecker()
inn = 144075719327
async def check():
async with checker:
status = await checker.a(inn)
status = await checker.a(inn, "2019-12-31")
checker.run(check())
Ошибки
Все ошибки API идут классом NPDError
. Класс имеет атрибуты code
и message
согласно Документации.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
npdchecker-0.0.1a1.tar.gz
(1.8 kB
view details)
Built Distribution
File details
Details for the file npdchecker-0.0.1a1.tar.gz
.
File metadata
- Download URL: npdchecker-0.0.1a1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/54.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 164536842cc9cb6264ac002540aab8240c95364cba33f17a6bd2bb979a2e03b4 |
|
MD5 | 81d40d63ce7731c540c6f447f55fccc0 |
|
BLAKE2b-256 | 6d72a6b27520bc12a0153420610656bb39bc37679892445b7fe2f1acf47cf72f |
File details
Details for the file npdchecker-0.0.1a1-py3-none-any.whl
.
File metadata
- Download URL: npdchecker-0.0.1a1-py3-none-any.whl
- Upload date:
- Size: 1.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/54.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0afbbbcdf45bdb85b4b20e2d3885170f2c73a0b2a5b2e6ab5baf4c13b56e14ee |
|
MD5 | 3f3abe03f1b1d27771a8fdd92e4f6c4a |
|
BLAKE2b-256 | 529bb8e0db35a8ee8f29f9ef8c6d48b33bf92f29fab4d84902b61340c0cdf6d8 |