Metadata-Version: 2.1
Name: fundosbr
Version: 0.1.0
Summary: Script para mostrar dados de fundos de investimento.
Home-page: https://github.com/thobiast/fundosbr
Author: Thobias Salazar Trevisan
License: MIT
Description: # fundosbr - Mostra informações sobre fundos de investimentos brasileiros
        
        ![build](https://github.com/thobiast/fundosbr/workflows/build/badge.svg)
        ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/fundosbr)
        [![codecov](https://codecov.io/gh/thobiast/fundosbr/branch/master/graph/badge.svg)](https://codecov.io/gh/thobiast/fundosbr)
        [![GitHub License](https://img.shields.io/github/license/thobiast/fundosbr)](https://github.com/thobiast/fundosbr/blob/master/LICENSE)
        [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
        
        Script que baixa informações direto do site da CVM e mostra detalhes dos fundos de investimento.
        
        ## Instalação
        
        ```bash
        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 "_DADOS\_DIR_".
        
        ## Ajuda
        
        ```bash
        user@localhost: ~$ fundosbr
        usage: fundosbr [-h] [-d] {busca,informe} ...
        
        Informacoes sobre fundos de investimentos
        
        optional arguments:
          -h, --help       show this help message and exit
          -d, --debug      debug flag
        
        Comandos:
          {busca,informe}
            busca          Busca fundo
            informe        Informes fundo
        
            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
        ```
        
        ```bash
        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
        
        ```
        ## Exemplo de uso:
        
        Procura um fundo pelo nome:
        
        ![](img/busca_exemplo_1.png)
        
        Mostra os informes de um fundo:
        
        ![](img/informe_exemplo.png)
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Environment :: Console
Classifier: Topic :: Software Development
Classifier: Topic :: Terminals
Classifier: Topic :: Utilities
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
