Skip to main content

Bra loterias é um CLI para coletar resultados, conferir e gerar jogos das loterias CAIXA. Projeto com finalidades educacionais

Project description

Bra Loterias

Documentation Status CI PyPI version

Bra loterias é um CLI para coletar resultados, conferir e gerar jogos das loterias CAIXA.

Como instalar o projeto

Para instalação do CLI com PIPX:

pipx install bra-loterias

Ou com PIP:

pip install bra-loterias

Como usar?

O CLI tem como parâmetro o nome jogo que deseja os resultados. Por exemplo, a mega-sena:

bra-loterias resultados mega-sena

Resultado:

{
    'concurso': 'concurso 2586',
    'data': 'quarta 26.04.23',
    'numeros_sorteados': ['10', '18', '41', '49', '53', '59'],
    'resultado_premio_principal': 'acumulou',
    'resultados': [
        {'FAIXAS': 'Sena', 'GANHADORES': '0', 'PREMIO (R$)': '0,00'},
        {'FAIXAS': 'Quina', 'GANHADORES': '76', 'PREMIO (R$)': '64.781,77'},
        {'FAIXAS': 'Quadra', 'GANHADORES': '6.010', 'PREMIO (R$)': '1.170,29'}
    ],
    'estimativa_prox_sorteio': 'R$ 50.347.934,06',
    'link': 'https://noticias.uol.com.br/loterias/mega-sena/'
}

Para mais opções, você pode consultar tambem a flag --help:

 Usage: bra-loterias resultados [OPTIONS] JOGO

 Retorna o resultado do jogos em questão.

╭─ Arguments ────────────────────────────────────────────────────╮
│ *    jogo      TEXT  Nome do jogo [default: None] [required]   │
╰────────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────────╮
│ --help          Show this message and exit.                    │
╰────────────────────────────────────────────────────────────────╯

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

bra_loterias-0.1.0.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

bra_loterias-0.1.0-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page