Skip to content

Commit 2c49814

Browse files
committed
deploy: 9506f31
0 parents  commit 2c49814

50 files changed

Lines changed: 26336 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.buildinfo

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Sphinx build info version 1
2+
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3+
config: c8d92fbd0ec13efe2afa72fc6e83142e
4+
tags: 645f666f9bcd5a90fca523b33c5a78b7

.nojekyll

Whitespace-only changes.

_sources/currency.rst.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Moedas
2+
======
3+
4+
O módulo ``currency`` obtem dados de moedas do conversor de moedas do Banco Central através de webscraping.
5+
6+
.. automodule:: bcb.currency
7+
8+
.. autodata:: get(symbols, start, end, side='ask', groupby='symbol')

_sources/examples.rst.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
Exemplos
3+
========
4+
5+
.. ipython:: python
6+
7+
import pandas as pd
8+
from bcb import currency
9+
10+
df = currency.get(['USD', 'EUR', 'GBP', 'CHF', 'CAD'], start='2000-01-01', end='2021-01-01')
11+
df

_sources/index.rst.txt

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
.. python-bcb documentation master file, created by
2+
sphinx-quickstart on Mon Dec 27 10:36:49 2021.
3+
You can adapt this file completely to your liking, but it should at least
4+
contain the root `toctree` directive.
5+
6+
python-bcb
7+
==========
8+
9+
**python-bcb** é uma interface em Python estruturada para obter informações
10+
da API de dados abertos do `Banco Central do Brasil <https://www.bcb.gov.br>`_.
11+
O projeto de `Dados Abertos do Banco Central do Brasil <https://dadosabertos.bcb.gov.br/>`_
12+
disponibiliza diversas APIs provendo acesso direto a dados de:
13+
14+
* Moedas
15+
* Taxas de Juros
16+
* Índices de preços
17+
* Informações de Instituições Financeiras
18+
* Expectativas do Mercado (Expectativas do Boletim FOCUS)
19+
* E muito outros ...
20+
21+
22+
Instalação
23+
==========
24+
25+
**python-bcb** está disponível no `Python Package Index <https://pypi.org/project/python-bcb/>`_ e pode ser instalado via ``pip`` usando.
26+
27+
.. code-block:: bash
28+
29+
pip install python-bcb
30+
31+
32+
Módulos
33+
=======
34+
35+
``sgs``
36+
Utiliza o webservice do SGS
37+
(`Sistema Gerenciador de Séries Temporais <https://www3.bcb.gov.br/sgspub/>`_).
38+
Diversas séries estão disponíveis no SGS: taxas de juros, índices de preços,
39+
indicadores econômicos, ....
40+
41+
``currency``
42+
Implementado no módulo ``currency`` que obtem dados de séries temporais de moedas do site
43+
<https://www.bcb.gov.br/conversao> via webscraping.
44+
45+
46+
Uso
47+
===
48+
49+
.. ipython::python
50+
51+
from bcb import sgs
52+
sgs.get(('IPCA', 433), last=12)
53+
54+
55+
56+
.. toctree::
57+
:maxdepth: 2
58+
:caption: Conteúdo:
59+
60+
sgs.md
61+
currency.rst
62+
examples.rst
63+
64+
65+
Índices e tabelas
66+
==================
67+
68+
* :ref:`genindex`
69+
* :ref:`modindex`
70+
* :ref:`search`

_sources/sgs.rst.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
SGS
2+
###
3+
4+
O módulo ``sgs`` obtem os dados do webservice do Banco Central.
5+
6+
.. automodule:: bcb.sgs
7+
8+
.. autodata:: get(codes, start=None, end=None, last=0, multi=True)

0 commit comments

Comments
 (0)