Skip to main content

Validatee bic, inn, kpp, ogrn, ogrnip, corr. account, account number, snils

Project description

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)

Project details


Download files

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

Files for petrovna, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size petrovna-1.0.2.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page