https://github.com/nilicule/lottocheck
Check lottery standings
https://github.com/nilicule/lottocheck
Last synced: over 1 year ago
JSON representation
Check lottery standings
- Host: GitHub
- URL: https://github.com/nilicule/lottocheck
- Owner: nilicule
- Created: 2024-11-11T11:57:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-02T13:27:27.000Z (over 1 year ago)
- Last Synced: 2025-03-02T18:08:00.307Z (over 1 year ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lottery Analysis Project
## Overview
This project is designed to manage and analyze lottery participants and their chances of winning. It consists of several scripts that handle different aspects of the lottery process.
## Usage
### 1. Import Participants
When a new lottery run starts, participants are imported by running `pdf_parser.py`. This script parses a PDF file containing participant data and saves it to a CSV file.
```bash
python pdf_parser.py path/to/lottery_participants.pdf
```
### 2. Update Lottery Standings
Every week, `drawing.py` is run to update the dataset with the numbers drawn that week. This script will output the current lottery standings.
```bash
python drawing.py
```
### 3. Analyze Future Winners
To see how much chance of a prize a certain group of people have, run `future_winners.py` with the name of the group you're looking for as an argument.
```bash
python future_winners.py -en GroupName
```
## Setup
### Requirements
The project dependencies are listed in `requirements.txt`. To set up the project, install the required packages using pip:
```bash
pip install -r requirements.txt
```
This will ensure that all necessary libraries are installed for the scripts to run correctly.
## Files
- `pdf_parser.py`: Parses participant data from a PDF file.
- `drawing.py`: Updates the dataset with the numbers drawn each week.
- `future_winners.py`: Analyzes the chances of a certain group of people winning the lottery.
- `requirements.txt`: Lists the dependencies required for the project.
## License
This project is licensed under the MIT License.