Skip to main content

readdbc

Um pacote python para ler dados no formato DBC (DBF comprimido) usado pelo DATASUS.

Uso

O código abaixo descompactará o arquivo COLEBR15.dbc e salvará o conteúdo em COLEBR15.dbf.

import readdbc

readdbc.dbc2dbf('COLEBR15.dbc', 'COLEBR15.dbf')

Esse descompacta e ja converte para .csv:

import readdbc

readdbc.dbc2csv('COLEBR15.dbc', 'COLEBR15.csv')

Suporte

O pacote é testado em todas as versões oficiais do python (3.8 até a 3.12).
Também testado em GNU/Linux e MacOS.
Caso descubra algum bug ou comportamento inesperado nessas versões e plataforma, por favor entre em contato.

Windows não é suportado por enquanto!
Mas caso você seja um usuário do windows e queira ajudar, por favor entre em contato.

Inspiração

read.dbc
An R package for reading data in the DBC (compressed DBF) format used by DATASUS.

Metadata

Release files for readdbc 0.2.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 readdbc 0.2.0
File Size Uploaded Provenance Actions
readdbc-0.2.0.tar.gz 17.0 kB Without provenance Details for readdbc-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 34.8 kB

Release files / readdbc-0.2.0.tar.gz

Download URL readdbc-0.2.0.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3976fbaf7583538038199ecf3e2d5209e53c5c4cb64175b08754886d2bdcc784
BLAKE2b-256 checksum
How to use checksums
59036342f9a3ecaa47b61f14ff35bb093aac8e492e5d46743500dff4e4a48098
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.6 Linux/6.5.0-4-amd64

Release files / readdbc-0.2.0-py3-none-any.whl

Download URL readdbc-0.2.0-py3-none-any.whl
Size 17.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dcf43e7ef3bb5f8704abbafdd9e11d42b26373c61e57759e18cd3122e5eb071b
BLAKE2b-256 checksum
How to use checksums
7416969a2fae24e2d1388b96f67c3e176077f56ee6eed071b69b3a7ecca82b35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.6 Linux/6.5.0-4-amd64

Security for readdbc 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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

0.2.0 This release

2 release files No 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