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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bra_loterias-0.1.0.tar.gz.
File metadata
- Download URL: bra_loterias-0.1.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/6.2.6-76060206-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
538cfcbe8de9930980533874c12f3f3e51bcd5ce7c444f01235caefee7b16766
|
|
| MD5 |
b1944de169b3bfa82dbc98dcd8e6538d
|
|
| BLAKE2b-256 |
53c705f8b8396adb5b6e2edbc50fc1485fba4110a45cf425edffa7383b1d4fb5
|
File details
Details for the file bra_loterias-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bra_loterias-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/6.2.6-76060206-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
863bde282fb1dc8b51ff67232b94eca2a6817deb01db4f41f5f585680ebb9e84
|
|
| MD5 |
4efb51ef578e49cfe809c4562fa65e64
|
|
| BLAKE2b-256 |
2f988ba2bff8a41808060bda4dc5e73aba25826eb194cc9087d40fffef2ec736
|