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.1.tar.gz (3.3 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.1-py3.7.egg (7.1 kB view details)

Uploaded Egg

File details

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

File metadata

  • Download URL: python-bcb-0.1.1.tar.gz
  • Upload date:
  • Size: 3.3 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.1.tar.gz
Algorithm Hash digest
SHA256 2836568d057a1c7dcac7697164898ff3653a5bfe803e70e8622ac292e70e143c
MD5 a9a0f59c99a11694662602c6dac63b9a
BLAKE2b-256 c3a1c4b90ccb4dd287231a234d6021a0f2150c066a01e061e2ac9d82c63d4e09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_bcb-0.1.1-py3.7.egg
  • Upload date:
  • Size: 7.1 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.1-py3.7.egg
Algorithm Hash digest
SHA256 4ef306959e5f88d8ad8e453dbc7490edecd55df839df006c9fbf407be2e5bfa4
MD5 d04c0bbc4c84cf6ddde72cd2a9828a48
BLAKE2b-256 03dc659ad855c2f9b329c9bba4ce92e3178128afbd41d5f807932305836505fa

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