Skip to main content

idecomp

tests codecov PyPI Python Licenca docs

O idecomp é um pacote Python para manipulação dos arquivos de entrada e saída do programa DECOMP. O DECOMP é desenvolvido pelo CEPEL e utilizado para os estudos de planejamento e operação do Sistema Interligado Nacional (SIN).

O idecomp oferece:

  • Leitura e escrita de arquivos de entrada e saída do DECOMP
  • Dados tabulares com pandas DataFrame para análise e pós-processamento
  • Mapeamento classe-por-arquivo, com uma classe dedicada para cada arquivo do DECOMP
  • Base sólida no framework cfinterface para leitura de formatos de colunas fixas
  • Tipagem estática completa, compatível com mypy e verificadores de tipo
  • Suporte a Python >= 3.11 com API moderna orientada a objetos

Exemplo Rápido

from idecomp.decomp import Dadger

# Leitura do arquivo dadger.rv0
dadger = Dadger.read("dadger.rv0")

# Acesso aos registros de usinas termelétricas no estágio 1
termicas = dadger.ct(estagio=1)
print(f"Usinas termelétricas no estágio 1: {len(termicas)}")

Instalação

O idecomp é compatível com versões de Python >= 3.11.

Instalação com pip (recomendado):

pip install idecomp

Instalação alternativa com uv:

uv add idecomp

Documentação

Guias, tutoriais e referências de API estão disponíveis no site oficial do pacote: https://rjmalves.github.io/idecomp/

Projetos Relacionados

  • inewave — pacote equivalente para manipulação dos arquivos do NEWAVE
  • cfinterface — framework base para leitura e escrita de formatos de colunas fixas

Contribuindo

Contribuições são bem-vindas! Consulte o CONTRIBUTING.md para instruções sobre como configurar o ambiente de desenvolvimento e enviar contribuições.

Licenca

Distribuído sob a licença MIT. Consulte o arquivo LICENSE.md para mais detalhes.

Metadata

Release files for idecomp 1.18.2

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

Source distribution (sdist)

Source distribution for idecomp 1.18.2
File Size Uploaded Provenance Actions
idecomp-1.18.2.tar.gz 901.2 kB With provenance Details for idecomp-1.18.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for idecomp 1.18.2
File Interpreter ABI Platform Actions
idecomp-1.18.2-py3-none-any.whl Python 3 none any Details for idecomp-1.18.2-py3-none-any.whl

Total release size: 1.1 MB

Release files / idecomp-1.18.2.tar.gz

Download URL idecomp-1.18.2.tar.gz
Size 901.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e5561f88fd135f7d50a028ec768e3fe6f7207e083f2d67d868f1f1b5a03e5651
BLAKE2b-256 checksum
How to use checksums
2844d37fa7fc1805e319cc8b0462b51ad0870fe8a14c51a76673ebceea5a2c02
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 30, 2026.

Transparency log

Release files / idecomp-1.18.2-py3-none-any.whl

Download URL idecomp-1.18.2-py3-none-any.whl
Size 148.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43f45bf9a651a9a9e1dd4090e7a23c9432a1293831ddfdf2d48f915a4b1c1b41
BLAKE2b-256 checksum
How to use checksums
92660bc4c4c519a01fb17f9732b8845dec4a899b6eb65d8c176a7d83d20cd54c
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 30, 2026.

Transparency log

Security for idecomp 1.18.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.

Select from 2 files

Attestation for idecomp-1.18.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 Oct 30, 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.18.2 This release

2 release files Full provenance

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