Skip to main content

Python interface to Brazilian Central Bank web services

Project description

bcb is an interface to structure the information provided by the Brazilian Central Bank. This package interfaces the Brazilian Central Bank web services to provide data already formatted into pandas's data structures and download currency data from Brazilian Centra Bank web site.

Install

bcb is avalilable at PyPI, so it is pip instalable.

pip install python-bcb

Using

Getting currency rates data.

from bcb  import currency
from datetime import date

currency.get('USD', start_date=date(2020, 12, 1), end_date=date(2020, 12, 31))

The rates are quoted in BRL.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-bcb-0.1.3.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_bcb-0.1.3-py3.7.egg (10.8 kB view details)

Uploaded Egg

File details

Details for the file python-bcb-0.1.3.tar.gz.

File metadata

  • Download URL: python-bcb-0.1.3.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.6

File hashes

Hashes for python-bcb-0.1.3.tar.gz
Algorithm Hash digest
SHA256 10f68c6d074a8b7d987a4c36cfe86ea53f36e46bab0e0dcfa30cdd5768f51e7c
MD5 a431d0d0c1524ae2af0c63261035ef99
BLAKE2b-256 bb45b20a022fdd393a0549dfb8ac8fb89c076d719778db1160ad8823dfa0ff02

See more details on using hashes here.

File details

Details for the file python_bcb-0.1.3-py3.7.egg.

File metadata

  • Download URL: python_bcb-0.1.3-py3.7.egg
  • Upload date:
  • Size: 10.8 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.6

File hashes

Hashes for python_bcb-0.1.3-py3.7.egg
Algorithm Hash digest
SHA256 dcc3eb9f0a5c94c17962bf2bb810bc01354a4b312790c84688606fc5c66950b8
MD5 e02eff80fe9ae5294a91a5a60d962253
BLAKE2b-256 d2fc883057e4c1e27d5d9676bd440c42de8bb1795a5e28a193b9be3c322b1854

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page