Skip to main content

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("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.1.0

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

Source distribution (sdist)

Source distribution for validador-ie 0.1.0
File Size Uploaded Provenance
validador_ie-0.1.0.tar.gz 8.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for validador-ie 0.1.0
File Interpreter ABI Platform
validador_ie-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.9 kB

Release files / validador_ie-0.1.0.tar.gz

Download URL validador_ie-0.1.0.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3d21396a710dbb915dd0d9378c17d1e9024d69c3521685d59edf2a1827a0ba10
BLAKE2b-256 checksum
How to use checksums
a093d964ff214c43ba2b951319a2248dc1bae45f5dd29fd1378cf5bd4e742a3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 log

Release files / validador_ie-0.1.0-py3-none-any.whl

Download URL validador_ie-0.1.0-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ede72c45070e0188b400afbe449e3e723a747da7cfde2d9cfe35af43f10772c7
BLAKE2b-256 checksum
How to use checksums
6a53215e246edb76158f70bafbb66cc85fadf0a2710ecdee3a9a959a14c4c7d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 log

Security for validador-ie 0.1.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.

Select from 2 files

Attestation for validador_ie-0.1.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 log

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.

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