Skip to main content

Библеотека обертка для API ГИС МТ “Честный Знак”

Project description

  

Библеотека обертка для API ГИС МТ "Честный Знак" и API ЕГАИС

Документация

Установка

Требуется Python версии 3.8 или выше

pip install nechestniy_znak

Пример

from nechestniy_znak import Crpt, Egais

crpt = Crpt()
print(crpt.infoFromEAN13("46494139"))
print(crpt.infoFromDataMatrix("00000046209849Uon<TYfACyAJPHJ"))
print(crpt.infoFromQr("chek.markirovka.nalog.ru/kc/?kiz=RU-430302-AAA4050108"))
print(crpt.infoFromReceipt("t=20231203T2319&s=261.80&fn=7281440701309134&i=10027&fp=3516337491&n=1"))

egais = Egais()
print(egais.infoFromOldMark("22N00001543ZQO6QFMW37ZK80215021095854A4P1E4IHMW86GT5RTFHN5XXFABT9TZ9", "104-101355000854071217387105240265"))
print(egais.infoFromNewMark("171200031066131018001EWB6ECS6IGT6L2OH7XP6QFJMTYQMXCZ5WWVPNDLUU7BCE4FWLCBM7QDHQSESJCTOIXMEAHE2EZLXRZXJJT4UJ4OKEFEIO7RE7J7LQK2ISDFXIA34UAYOZ5ZRYFLTXI4TQ"))
print(egais.infoFromAlcCode("0150320000003561384"))
print(egais.getChains("171200031066131018001EWB6ECS6IGT6L2OH7XP6QFJMTYQMXCZ5WWVPNDLUU7BCE4FWLCBM7QDHQSESJCTOIXMEAHE2EZLXRZXJJT4UJ4OKEFEIO7RE7J7LQK2ISDFXIA34UAYOZ5ZRYFLTXI4TQ"))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nechestniy_znak-1.0.3.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

nechestniy_znak-1.0.3-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file nechestniy_znak-1.0.3.tar.gz.

File metadata

  • Download URL: nechestniy_znak-1.0.3.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for nechestniy_znak-1.0.3.tar.gz
Algorithm Hash digest
SHA256 723d3e4cd33c6ad0f7d8f9c6d9a5f3548be47dc9073a958fea6400dd5858006b
MD5 894dab08ac4c7fb3c6a89e798b8b1eaf
BLAKE2b-256 b3a7e5cde4c4b89302c4a1fbd6eb2e0faff720168a69d8f3044662bdad67f4fe

See more details on using hashes here.

File details

Details for the file nechestniy_znak-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for nechestniy_znak-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a29edbee5644cd5e37650277887d8ea8e3a0a0b78f8441d6bf352b640dfad69c
MD5 577649f9320d48bc08878ad9c2155b3e
BLAKE2b-256 e216230a48939fd7608ebf9d0989d7db9ac78616bb317df051b102a072e585ae

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page