Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

petrovna

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

petrovna

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

  • 1.0.2
  • PyPI
  • Socket score

Maintainers
1

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)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc