Skip to main content

petrovna

Библиотека для валидации БИК, ИНН, КПП, ОГРН, ОГРНИП, Корр. счета, Номера р/с, СНИЛС

coverage

Установка

pip install petrovna
import petrovna

bic_is_valid: bool = petrovna.validate_bic('<БИК>')
inn_is_valid: bool  = petrovna.validate_inn('<ИНН>')
kpp_is_valid: bool  = petrovna.validate_kpp('<КПП>')
corr_account_is_valid: bool  = petrovna.validate_ks('<КОРРЕСПОНДЕНТСКИЙ_СЧЕТ>', '<БИК>')
ogrn_is_valid: bool  = petrovna.validate_ogrn('<ОГРН>')
ogrnip_is_valid: bool  = petrovna.validate_ogrnip('<ОГРНИП>')
account_number_is_valid: bool  = petrovna.validate_rs('<НОМЕР_Р/С>', '<БИК>')
snils_is_valid: bool  = petrovna.validate_snils('<СНИЛС>')

# Для возврата валидатором списка ошибок, помимо признака валидности, следует указать аргумент 'errors=True'
valid, error = petrovna.validate_bic('<БИК>', errors=True)

Metadata

Release files for petrovna 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for petrovna 1.0.2
File Size Uploaded Provenance Actions
petrovna-1.0.2.tar.gz 3.2 kB Without provenance Details for petrovna-1.0.2.tar.gz

Release files / petrovna-1.0.2.tar.gz

Download URL petrovna-1.0.2.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
933e727710863f3fe8d9d1fdc5a893ff255b240fa6cb34a3cf8dce1401f2f239
BLAKE2b-256 checksum
How to use checksums
8a52226c963bda896a88dd0c4be820180cca8b50109bef222fd6a189101cc52e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Security for petrovna 1.0.2

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.

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page