Bra loterias é um CLI para coletar resultados, conferir e gerar jogos das loterias CAIXA. Projeto com finalidades educacionais
Project description
Bra Loterias
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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for bra_loterias-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 863bde282fb1dc8b51ff67232b94eca2a6817deb01db4f41f5f585680ebb9e84 |
|
MD5 | 4efb51ef578e49cfe809c4562fa65e64 |
|
BLAKE2b-256 | 2f988ba2bff8a41808060bda4dc5e73aba25826eb194cc9087d40fffef2ec736 |