Brazilian Vocabularies
Overview
This package aims to provide basic vocabularies related to Brazil for Python developers.
It’s written in Brazilian Portuguese.
Bug tracker and code repository can be found at GitHub
Vocabularies available
Geographic information
Countries (ISO 3166 in Brazilian Portuguese)
States (Brazilian states)
Cities (Brazilian cities, organized by state)
Cities (Brazilian cities)
Telecom information
Area codes (Geographic Codes a.k.a DDD)
Non Geographic Codes (0x00 prefixes)
Codes (Geographic + Non Geographic Codes)
Requirements
Python 2.4
Installation
Installing on your Python packages:
easy_install brasil.vocab
Adding it to install_requires in another Python package (in setup.py):
install_requires=[
'setuptools',
# -*- Extra requirements: -*-
'brasil.vocab'
],
Basic usage
After installing it we just need to import it and use:
>>> from brasil.vocab.geo import uf
>>> len(uf)
27
>>> print uf[0]
('AC', u'Acre')
Sponsoring
Development of this product was sponsored by :
Credits
Simples Consultoria (products at simplesconsultoria dot com dot br) - Implementation
Changelog
0.8 (2011-12-20)
Added tests [ericof]
Added codes vocabulary to telecom (cng + ddd)[ericof]
Added cng vocabulary to telecom [ericof]
DDD vocabulary now do not provide cng prefixes (0x00) [ericof]
0.7 (2011-05-26)
Fixing typo in Cities vocabulary [erico_andrei]
0.6 (2011-05-25)
Fixing Cities vocabularies [erico_andrei]
0.5 (2011-05-24)
Countries [erico_andrei]
Brazilian States and Cities [lepri]
Initial implementation [erico_andrei]
Area Codes [erico_andrei]
Metadata
Release files for brasil.vocab 0.8
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 |
|---|---|---|---|---|
| brasil.vocab-0.8.tar.gz | 165.9 kB | Without provenance | Details for brasil.vocab-0.8.tar.gz |
Release files / brasil.vocab-0.8.tar.gz
| Download URL | brasil.vocab-0.8.tar.gz |
|---|---|
| Size | 165.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47c421ffe28e80d0ef4400b4abbb8f7f88b127407193f7e2edd9907e9924f97c
|
|
BLAKE2b-256 checksum How to use checksums |
10e2c281e23e3706db55fef2a2f58291f7971dafb0a712f998c076f72a7f7a5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for brasil.vocab 0.8
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.