Get up-to-date lottery draws from FDJ
Project description
frenchlottery
Simple Python package to retrieve lottery data from FDJ website.
Installation
pip install frenchlottery
Usage
From the command line (activated env with lottery installed)
- French lottery (default):
python -m frenchlottery -n 15 - Euromillions lottery:
python -m frenchlottery source=euro -n 5
Within your project
from frenchlottery import get_euromillions_results, get_loto_results
loto_res = get_loto_results()
euro_res = get_euromillions_results()
...
TODO
- If
--linesparameter is specified, no need to pull entire history. The user will most likely pull 10-15 lines.
NB
- This is no way affiliated to FDJ. I'm just using it as a source of historical data.
- The initial name for the package was
lotterywhich was way more elegant and worked perfectly within test PyPi (https://test.pypi.org/project/lottery/). However when publishing to PyPI, the name isn't allowed.. Great..!
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
frenchlottery-0.2.0.tar.gz
(5.0 kB
view details)
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 frenchlottery-0.2.0.tar.gz.
File metadata
- Download URL: frenchlottery-0.2.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0d2c1b1dbdbeac8afef8049b8399ee90b03ec8a1b1b5440d4de056565bd9372
|
|
| MD5 |
126e2881cfe6a9a9ab2c9cd275918c82
|
|
| BLAKE2b-256 |
bbb5a0dd20665f6b509479c41a8f19ee55d6f34fa1dc989951f7c71b914bd88e
|
File details
Details for the file frenchlottery-0.2.0-py3-none-any.whl.
File metadata
- Download URL: frenchlottery-0.2.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1283cf311dfbf10b521143e83bec6d94a97f1cde0a736979f467803518df6ba
|
|
| MD5 |
0e8d3e924c3f5741f7a258175a007078
|
|
| BLAKE2b-256 |
791f560a87487aefb28a7fbf2b46094a686b1cedca774a449ad0621fa575bebb
|