seigov 
📖 Documentação: https://strategicprojects.github.io/seigov/
Cliente Python para os Web Services SOAP do SEI (Sistema Eletrônico de
Informações) e do SIP (Sistema de Permissões). Construído sobre
zeep, devolve os resultados como
pandas.DataFrame. É a porta Python do pacote R
rsei.
⚠️ Acesso restrito por IP. Os Web Services do SEI só respondem a requisições vindas de IPs/servidores previamente autorizados no cadastro do serviço. As funções só retornam dados a partir de um host autorizado.
Genérico. O pacote não é amarrado a nenhum órgão: informe o endpoint do Web Service do seu SEI em
SeiClient(url=...).
Instalação
pip install seigov # (após publicação no PyPI)
# ou, do código-fonte:
pip install -e ".[dev]"
Uso
from seigov import SeiClient
sei = SeiClient(
url="https://sei.<seu-orgao>.gov.br/sei/ws/SeiWS.php",
sigla_sistema="MEU_SISTEMA",
identificacao_servico="minha-chave", # chave de acesso
)
# Consultar um processo (retorna um DataFrame)
df = sei.consultar_procedimento("12.1.000000077-4")
# Vários de uma vez (empilha; coluna 'erro' isola falhas por linha)
lote = sei.consultar_procedimentos(["12.1.000000077-4", "12.1.000000078-2"])
# Listagens
unidades = sei.listar_unidades()
series = sei.listar_series()
Configuração também por variáveis de ambiente: SEIGOV_URL,
SEIGOV_SIGLA_SISTEMA, SEIGOV_IDENTIFICACAO_SERVICO, SEIGOV_ID_UNIDADE.
SIP (permissões):
from seigov import SipClient
sip = SipClient(url="https://sei.<seu-orgao>.gov.br/sip/controlador_ws.php?servico=sip",
chave_acesso="...", id_sistema="...")
perms = sip.listar_permissao(id_unidade="110000001")
Estado
Em desenvolvimento (Fase 0/1: core + consultas/listagens iniciais). Veja
PLAN.md para o roteiro completo (escrita, SIP, helpers em lote/por-processo).
Licença
GPL-3.0-or-later.
Metadata
Release files for seigov 0.1.2
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 | Actions |
|---|---|---|---|---|
| seigov-0.1.2.tar.gz | 24.5 kB | With provenance | Details for seigov-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| seigov-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for seigov-0.1.2-py3-none-any.whl |
Total release size: 49.0 kB
Release files / seigov-0.1.2.tar.gz
| Download URL | seigov-0.1.2.tar.gz |
|---|---|
| Size | 24.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96b128c997e39c1bc1aaab749ffc320bbe92b995e230eee54473c13aeab2173b
|
|
BLAKE2b-256 checksum How to use checksums |
965ee76ad1d030ddcda77388c29db16e8fbfeda1c2bab37b957c0559e880dccc
|
| 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 Nov 3, 2026.
Transparency logRelease files / seigov-0.1.2-py3-none-any.whl
| Download URL | seigov-0.1.2-py3-none-any.whl |
|---|---|
| Size | 24.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
947f1e68ed6b53de3140f81155996ffc660dcb11588429794b359de299d5bb4a
|
|
BLAKE2b-256 checksum How to use checksums |
f810d884337b80136caa44712445031dd7d0ce4ba60cdb7d512a55407970e19a
|
| 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 Nov 3, 2026.
Transparency logSecurity for seigov 0.1.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for seigov-0.1.2.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 Nov 3, 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.