validador-ie
Valida o formato e o(s) dígito(s) verificador(es) da Inscrição Estadual (IE) das 27 UFs. Sem dependências. Python 3.9+.
pip install validador-ie
from validador_ie import validar_ie, limpar_ie, UFS
r = validar_ie("110.042.490.114", "SP")
r.valida # True
r.formatada # '110.042.490.114'
r = validar_ie("24499080010", "MG") # sem os zeros à esquerda: completa e avisa
r.formatada # '002.449.908/0010'
r.zeros_completados # 2
r = validar_ie("0623079040082", "MG")
r.motivo # 'dígito verificador inválido'
if validar_ie("12345663", "BA"): # o resultado também funciona como booleano
...
A biblioteca confere apenas o formato: não diz se a IE existe, está ativa ou a quem pertence. Para a situação cadastral real, veja a FiscalAPI.
Documentação completa, regras por UF e versão em JavaScript/TypeScript: https://github.com/fiscaIapi/validador-ie
Licença MIT © FiscalAPI
Metadata
Release files for validador-ie 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| validador_ie-0.2.0.tar.gz | 9.2 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| validador_ie-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.8 kB
Release files / validador_ie-0.2.0.tar.gz
| Download URL | validador_ie-0.2.0.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed7933c42bcdf772cabaf4732a913d778cf459a02c5f4a05d55b6d2c0536d824
|
|
BLAKE2b-256 checksum How to use checksums |
5dcfea182b8ef3007d4e5bb74a0c0667a5d9bddf8ab3824320614aa6e28bc774
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
Transparency logRelease files / validador_ie-0.2.0-py3-none-any.whl
| Download URL | validador_ie-0.2.0-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a836c8625fc0ca430a260f4f46643c771d00735c671a1cc4bcd96eadd698e1a7
|
|
BLAKE2b-256 checksum How to use checksums |
9eba91fba4ee3bbe1c94c4363b505d4394e7cb13061505871ee5bfb5b7760e72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
Transparency logSecurity for validador-ie 0.2.0
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for validador_ie-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
Transparency logA 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.