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.
Release files for seigov 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| seigov-0.1.1.tar.gz | 23.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| seigov-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 47.2 kB
Release files / seigov-0.1.1.tar.gz
| Download URL | seigov-0.1.1.tar.gz |
|---|---|
| Size | 23.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cec73fa8e215a83435a337a0a26f22f54a52c9ac6a075af0c4116dfe9c3446ac
|
|
BLAKE2b-256 checksum How to use checksums |
88e0433da1726ef9555bc50b07e27a33435e69ba498942567939e6d06e548284
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 15, 2026.
Transparency logRelease files / seigov-0.1.1-py3-none-any.whl
| Download URL | seigov-0.1.1-py3-none-any.whl |
|---|---|
| Size | 23.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e37b5d46d89247d0f78088b956ff8460fb03e96d66e8c7641de53d561d22c343
|
|
BLAKE2b-256 checksum How to use checksums |
5ff8a0ce727380b075bc9cd7e231d5683c9bc642f8719adf4f67bdf8ea61e382
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 15, 2026.
Transparency log