Skip to main content

fundosbr - Mostra informações sobre fundos de investimentos brasileiros

build PyPI - Python Version codecov GitHub License Code style: black

Script que baixa informações direto do site da CVM e mostra detalhes dos fundos de investimento.

Instalação

pip install fundosbr

Os arquivos csv baixados do site da CVM são armazenados no diretório /tmp/fundosbr_dados. Se quiser alterar, edite o arquivo "fundosbr.py" e modifique a variável "CSV_FILES_DIR".

Ajuda

user@localhost: ~$ fundosbr
usage: fundosbr [-h] [-d] {busca,informe,compara,rank} ...

Informacoes sobre fundos de investimentos

optional arguments:
  -h, --help            show this help message and exit
  -d, --debug           debug flag

Comandos:
  {busca,informe,compara,rank}
    busca               Busca fundo
    informe             Informes fundo
    compara             Comparas fundos
    rank                Rank fundos

    Example of use:
        fundosbr busca -h
        fundosbr busca -n verde
        fundosbr busca -c 22.187.946/0001-41
        fundosbr busca -n "ip participa" -t acoes
        fundosbr informe -h
        fundosbr informe 73.232.530/0001-39 -datainicio 202011 -datafim 202012
user@localhost: ~$ fundosbr informe -h
usage: fundosbr informe [-h] [-datainicio DATAINICIO] [-datafim DATAFIM] [-m] cnpj

positional arguments:
  cnpj                  CNPJ do fundo

optional arguments:
  -h, --help            show this help message and exit
  -datainicio DATAINICIO
                        Data inicio (YYYYMM)
  -datafim DATAFIM      Data fim (YYYYMM)
  -m, --mensal          Mostra estatistica mensal
user@localhost: ~$ fundosbr compara -h
usage: fundosbr compara [-h] [-datainicio DATAINICIO] [-datafim DATAFIM] [-m] cnpj

positional arguments:
  cnpj                  CNPJ do fundo

optional arguments:
  -h, --help            show this help message and exit
  -datainicio DATAINICIO
                        Data inicio (YYYYMM)
  -datafim DATAFIM      Data fim (YYYYMM)
  -m, --mensal          Mostra estatistica mensal

Exemplo de uso:

Procura um fundo pelo nome:

Mostra os informes de um fundo:

Metadata

Release files for fundosbr 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fundosbr 0.1.1
File Size Uploaded Provenance Actions
fundosbr-0.1.1.tar.gz 13.3 kB Without provenance Details for fundosbr-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fundosbr 0.1.1
File Interpreter ABI Platform Actions
fundosbr-0.1.1-py3-none-any.whl Python 3 none any Details for fundosbr-0.1.1-py3-none-any.whl

Total release size: 26.7 kB

Release files / fundosbr-0.1.1.tar.gz

Download URL fundosbr-0.1.1.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f845cc62feeaeb3e858ff265978755069183435bdd64d86cad5d3d30db108144
BLAKE2b-256 checksum
How to use checksums
f1696b7d8b208faa15fa20b09771da967790a284c53e9e638e427cc677229fcd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

Release files / fundosbr-0.1.1-py3-none-any.whl

Download URL fundosbr-0.1.1-py3-none-any.whl
Size 13.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d1fd83112bedd8f7d7e35d72463d40e5853b97a88da88f89a767b5fd27aa75a
BLAKE2b-256 checksum
How to use checksums
ddda0ce2fa1f2325e8a86557b0fe4a99ebffc4e4ac064311018578e17bbdae70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

Security for fundosbr 0.1.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page