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.2.tar.gz (4.0 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.2-py3.7.egg (10.2 kB view details)

Uploaded Egg

File details

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

File metadata

  • Download URL: python-bcb-0.1.2.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.3

File hashes

Hashes for python-bcb-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1ecbf959289bd270818c3dbf68eb820b9a1bbeb3408553cd8bc2def7d3614cef
MD5 be5cfa75afbc0e6cf92a4e847b7181ad
BLAKE2b-256 1d5e7bd73f8c5cb3a4da9007919ce11e6d89918fc4ebf9ace24fcd197c93fd29

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_bcb-0.1.2-py3.7.egg
  • Upload date:
  • Size: 10.2 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.3

File hashes

Hashes for python_bcb-0.1.2-py3.7.egg
Algorithm Hash digest
SHA256 275aa10831f18ed33813d089d15f10aee061ca24146b7379a23ce5aa9a1d8632
MD5 add108cfe73717820a7faa7aee8ce706
BLAKE2b-256 48c1c8c1a0f36380fe155796542f05c24b4069fb7ab19b1e555ad8d3e2e83a39

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