{"id":19626540,"url":"https://github.com/petermatts/lotterysim","last_synced_at":"2025-08-19T10:08:27.566Z","repository":{"id":220729461,"uuid":"395545469","full_name":"petermatts/LotterySim","owner":"petermatts","description":"This repository was created to model popular lottery games through statistics and ML.","archived":false,"fork":false,"pushed_at":"2025-01-06T06:23:34.000Z","size":482,"stargazers_count":1,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-06T07:27:24.214Z","etag":null,"topics":["machine-learning","python","simulation","statistics"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/petermatts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-13T06:38:47.000Z","updated_at":"2024-08-10T03:53:05.000Z","dependencies_parsed_at":"2024-02-03T23:19:25.214Z","dependency_job_id":"9986d027-290d-4dbf-b762-e94e580b9722","html_url":"https://github.com/petermatts/LotterySim","commit_stats":null,"previous_names":["petermatts/lotterysim"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petermatts%2FLotterySim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petermatts%2FLotterySim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petermatts%2FLotterySim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petermatts%2FLotterySim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/petermatts","download_url":"https://codeload.github.com/petermatts/LotterySim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240926398,"owners_count":19879737,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["machine-learning","python","simulation","statistics"],"created_at":"2024-11-11T11:46:54.637Z","updated_at":"2025-02-26T20:13:38.923Z","avatar_url":"https://github.com/petermatts.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LotterySim\n\n## Disclaimer\n\nIf anyone uses this repo and wins they would owe a cut to the creator of this project for helping them win. :)\n\n## Running PowerBall\n\n### Scraping the Drawing Data\n\nFrom the directory ```/src/Powerball``` run ```.\\scrape.bat``` (Windows only for now, MacOS will be ```./scrape.command``` or ```./scrape.sh```) \n\nOr from that directory manually run ```python DrawingFreq.py``` and ```python DrawingHist.py```\n\n### Running the Analysis\n\n```python Analysis.py```\n\nThis will out put numbers to CSV files in accordance to their geometic probabilities based on when they were last drawn.\n\nThe files are called ```mainball.csv``` for the main balls and ```powerball.csv``` for the powerballs.\n\n## Running MegaMillions\n\nMegaMillions code and analysis has not yet been implemented. Come back soon.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetermatts%2Flotterysim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetermatts%2Flotterysim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetermatts%2Flotterysim/lists"}