[](http://badge.fury.io/py/dadosgovbr)
[](https://travis-ci.org/georgeyk/dadosgovbr)
[](https://coveralls.io/r/georgeyk/dadosgovbr?branch=master)
---
A library to programatically explore the Brazilian open data program.
More details at [dados.gov.br][1]
## Motivation
Basically, I did this library because their web interface was broken for me, specially the search feature.
Also, I feel more confortable exploring the data using a python shell with all the libraries available to handle json,
csv and so on.
## Install
Available in PyPi, just:
```shell
$ pip install dadosgovbr
```
## Examples
The library just provides an "object-wrapping" for the API results, so we can access every attribute as we
inspect any regular python object:
```python
>>> from dadosgovbr import DadosGovBR
>>> api = DadosGovBR()
>>> api.get_tag('VT')
Tag(vocabulary_id=None, packages=<generator object model_list_factory at 0x7f7dac17af00>, display_name=u'VT',
id=u'41a7ab78-3cec-44a3-b2c3-ca15ad55a50f', name=u'VT')
```
Check the tests directory for more examples, like [this one][2].
## NOTE
This is very *work-in-progress* lib.
Contributions are super-welcome. =)
## Development
1. fork the project
2. create virtualenv (optional)
3. pip install -r requirements-devel.txt
4. pre-commit install
5. tox
[1]: http://dados.gov.br/dataset
[2]: example.py
## History
## 0.1.3
* First tag release
* Bug fixes
## 0.1.2
* Improve test coverage
* Minor fixes
## 0.1.1
* Fix import errors
## 0.1.0
* Initial release
Metadata
Release files for dadosgovbr 0.1.3
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 |
|---|---|---|---|---|
| dadosgovbr-0.1.3.tar.gz | 4.8 kB | Without provenance | Details for dadosgovbr-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dadosgovbr-0.1.3-py2-none-any.whl | Python 2 | none | any | Details for dadosgovbr-0.1.3-py2-none-any.whl |
Total release size: 13.7 kB
Release files / dadosgovbr-0.1.3.tar.gz
| Download URL | dadosgovbr-0.1.3.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a2e51a0403545384863450ca8366d8a480392e0f51daff47a821b06fc0b79ad
|
|
BLAKE2b-256 checksum How to use checksums |
6e9f013e6356ff20804c57776a5c55884c614f156bdc5a135be15177e8b3ee2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / dadosgovbr-0.1.3-py2-none-any.whl
| Download URL | dadosgovbr-0.1.3-py2-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
2726d957d2caa97512d03a978430422adfa42b7c30e6149c0f1d0cc196affdcb
|
|
BLAKE2b-256 checksum How to use checksums |
bd260794a596a20364b22918f48f2c496711139f63e390a7fa55526d253fd3d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for dadosgovbr 0.1.3
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.