Compare commits
12
Commits
a8c39310d2
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
67d9cf7d69 | ||
|
|
16996b6837 | ||
|
|
838982bfad | ||
|
|
5c20a6b01d | ||
|
|
a8698c88d3 | ||
|
|
f52dd964ad | ||
|
|
1ce176010c | ||
|
|
db567181c7 | ||
|
|
b5c0a6e27f | ||
|
|
15b517d642 | ||
|
|
f9359d1c98 | ||
|
|
da99a95fd8 |
No files matched your search
Regular → Executable
+10
@@ -1,2 +1,12 @@
|
|||||||
# Redis?
|
# Redis?
|
||||||
dump.rdb
|
dump.rdb
|
||||||
|
# CSV files
|
||||||
|
*.csv
|
||||||
|
# Git
|
||||||
|
.git/*
|
||||||
|
# cache, cron logs and the excel backups/locks
|
||||||
|
__pycache__/
|
||||||
|
cron.log*
|
||||||
|
excel_lotto_records/.*.lock
|
||||||
|
*.pre-recording
|
||||||
|
*.pre-ny-backfill
|
||||||
@@ -9,3 +9,5 @@ I am welcoming anyone who wants to to port it to their own state to do so. I cur
|
|||||||
Good luck!
|
Good luck!
|
||||||
|
|
||||||
Old numbers have been re-added to analysis.
|
Old numbers have been re-added to analysis.
|
||||||
|
|
||||||
|
The excel files in this repo are only as new as the last commit. The most recent version is updated daily and can be downloaded from https://wvlotterypredictor.xyz/about/records if you want to stay up to date, just replace the excel_lotto_records folder with the one in the zip.
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Forecast,Chance
|
|
||||||
6-14-15-16-18-22,31/16100
|
|
||||||
|
@@ -1,26 +1,38 @@
|
|||||||
# WVLottopy: Matteo DiBiagio
|
# WVLottopy: Matteo DiBiagio
|
||||||
from fractions import Fraction as frac
|
from fractions import Fraction as frac
|
||||||
|
from math import comb
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
import records
|
||||||
import requests
|
import requests
|
||||||
from collections import Counter
|
from collections import Counter
|
||||||
import csv
|
import csv
|
||||||
|
|
||||||
def get_data():
|
def get_data():
|
||||||
|
# previous records which have since been removed from wvlottery.com's database
|
||||||
df_old = pd.read_excel('./excel_lotto_records/cash25.xlsx')
|
df_old = pd.read_excel('./excel_lotto_records/cash25.xlsx')
|
||||||
salvaged = df_old[['Date', 'Numbers']]
|
salvaged = df_old[['Date', 'Numbers']]
|
||||||
|
|
||||||
url = 'https://wvlottery.com/draw-games/cash-25/?game-analyze=cash-25&what-to-search=historysearch&date-range=-1'
|
url = 'https://gateway.loyalty.wvlottery.com/services/jackpot/api/v1/jackpot-results?gameId=10&jackpotStatus=PAYABLE&size=500&sort=externalId,drawDate,desc&page='
|
||||||
header = {
|
header = {
|
||||||
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36",
|
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36",
|
||||||
"X-Requested-With": "XMLHttpRequest"
|
|
||||||
}
|
}
|
||||||
|
# Get web data, 500 draws a page
|
||||||
# Get web data
|
web = {'Date': [], 'Numbers': []}
|
||||||
r = requests.get(url, headers=header)
|
page = 0
|
||||||
dfs = list(pd.read_html(r.text))
|
while True:
|
||||||
|
r = requests.get(url + str(page), headers=header)
|
||||||
|
data = r.json()
|
||||||
|
for x in data['content']:
|
||||||
|
web['Date'].append(records.draw_day(x))
|
||||||
|
web['Numbers'].append('–'.join(str(n['data']) for n in x['resultData'] if n['type'] == 'REGULAR'))
|
||||||
|
if data['last']:
|
||||||
|
break
|
||||||
|
page += 1
|
||||||
|
dfs = [pd.DataFrame(web)]
|
||||||
pd.set_option('display.max_rows', None)
|
pd.set_option('display.max_rows', None)
|
||||||
# Specifies no max rows, otherwise only shows 10 records
|
# Specifies no max rows, otherwise only shows 10 records
|
||||||
df = pd.concat([dfs[0], salvaged], ignore_index=True)
|
# adds new draws to the excel so the records keep growing
|
||||||
|
df = records.merge_save('./excel_lotto_records/cash25.xlsx', dfs[0], fallback=salvaged)
|
||||||
df2 = df[['Date', 'Numbers']]
|
df2 = df[['Date', 'Numbers']]
|
||||||
date = list(df2['Date'])
|
date = list(df2['Date'])
|
||||||
nums = list(df2['Numbers'].astype('str'))
|
nums = list(df2['Numbers'].astype('str'))
|
||||||
@@ -29,11 +41,14 @@ def get_data():
|
|||||||
date, nums = get_data()
|
date, nums = get_data()
|
||||||
|
|
||||||
# Formatting
|
# Formatting
|
||||||
|
# site uses – and the excel uses -
|
||||||
hyphenfree = []
|
hyphenfree = []
|
||||||
for x in nums:
|
for x in nums:
|
||||||
hyphenfree.append(x.replace('–',', '))
|
hyphenfree.append(x.replace('–',', ').replace('-',', '))
|
||||||
splitlist = ", ".join(hyphenfree)
|
splitlist = ", ".join(hyphenfree)
|
||||||
sep = splitlist.split(", ")
|
sep = splitlist.split(", ")
|
||||||
|
# ball range changed over the years so drop numbers that arent in the game anymore
|
||||||
|
sep = [x for x in sep if x.isdigit() and 1 <= int(x) <= 25]
|
||||||
|
|
||||||
for n in range(0, 25):
|
for n in range(0, 25):
|
||||||
most_common= Counter(sep).most_common(6)
|
most_common= Counter(sep).most_common(6)
|
||||||
@@ -41,9 +56,8 @@ for n in range(0, 25):
|
|||||||
frequency = [v[-1] for v in most_common]
|
frequency = [v[-1] for v in most_common]
|
||||||
|
|
||||||
sorted_nums = sorted(likely_nums, key=lambda x: (len(x), x))
|
sorted_nums = sorted(likely_nums, key=lambda x: (len(x), x))
|
||||||
total_freq = sum(frequency)
|
Chance = frac(1, comb(25, 6)) # Chance = 1 / all possible tickets i.e. 177100
|
||||||
Chance = frac(total_freq, 177100) # Chance = number call freq / all possible numbers i.e. 177100
|
Forecast = str(" - ".join(sorted_nums))
|
||||||
Forecast = str("-".join(sorted_nums))
|
|
||||||
|
|
||||||
#print(f"Likely numbers are . . . {Forecast} \n"
|
#print(f"Likely numbers are . . . {Forecast} \n"
|
||||||
#f"With percent chance of winning being {Chance}")
|
#f"With percent chance of winning being {Chance}")
|
||||||
|
|||||||
Executable
+64
@@ -0,0 +1,64 @@
|
|||||||
|
# WVLottopy: Matteo DiBiagio
|
||||||
|
from fractions import Fraction as frac
|
||||||
|
import pandas as pd
|
||||||
|
import records
|
||||||
|
import requests
|
||||||
|
from collections import Counter
|
||||||
|
import csv
|
||||||
|
|
||||||
|
def get_data():
|
||||||
|
url = 'https://gateway.loyalty.wvlottery.com/services/jackpot/api/v1/jackpot-results?gameId=24&jackpotStatus=PAYABLE&size=500&sort=externalId,drawDate,desc&page='
|
||||||
|
header = {
|
||||||
|
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36",
|
||||||
|
}
|
||||||
|
# Get web data, cash pop is drawn every 15 min so ~3000 draws is about a month
|
||||||
|
web = {'Date': [], 'Numbers': []}
|
||||||
|
ids, times = [], []
|
||||||
|
page = 0
|
||||||
|
while page < 6:
|
||||||
|
r = requests.get(url + str(page), headers=header)
|
||||||
|
data = r.json()
|
||||||
|
for x in data['content']:
|
||||||
|
web['Date'].append(records.draw_day(x))
|
||||||
|
web['Numbers'].append('–'.join(str(n['data']) for n in x['resultData'] if n['type'] == 'REGULAR'))
|
||||||
|
ids.append(x['externalId'])
|
||||||
|
times.append(x['drawDate'])
|
||||||
|
if data['last']:
|
||||||
|
break
|
||||||
|
page += 1
|
||||||
|
df2 = pd.DataFrame(web)
|
||||||
|
# site only keeps a year of cash pop, keep our own record
|
||||||
|
records.merge_save('./excel_lotto_records/cash_pop.xlsx', df2, ids=ids, times=times)
|
||||||
|
date = list(df2['Date'])
|
||||||
|
nums = list(df2['Numbers'].astype('str'))
|
||||||
|
return date, nums
|
||||||
|
|
||||||
|
date, nums = get_data()
|
||||||
|
|
||||||
|
# Formatting
|
||||||
|
hyphenfree = []
|
||||||
|
for x in nums:
|
||||||
|
hyphenfree.append(x.replace('–',', '))
|
||||||
|
splitlist = ", ".join(hyphenfree)
|
||||||
|
sep = splitlist.split(", ")
|
||||||
|
# only 1 - 15
|
||||||
|
sep = [x for x in sep if x.isdigit() and 1 <= int(x) <= 15]
|
||||||
|
|
||||||
|
for n in range(0, 15):
|
||||||
|
most_common= Counter(sep).most_common(3)
|
||||||
|
likely_nums = [v[0] for v in most_common]
|
||||||
|
frequency = [v[-1] for v in most_common]
|
||||||
|
|
||||||
|
Forecast = likely_nums[0]
|
||||||
|
Backups = str(" - ".join(likely_nums[1:]))
|
||||||
|
Chance = frac(1, 15) # one number out of 15
|
||||||
|
|
||||||
|
#print(f"Likely number is . . . {Forecast} Backups: {Backups}\n"
|
||||||
|
#f"With percent chance of winning being {Chance}")
|
||||||
|
|
||||||
|
d = dict(((k, eval (k)) for k in ('Forecast', 'Backups', 'Chance')))
|
||||||
|
h = 'Forecast', 'Backups', 'Chance'
|
||||||
|
f = open('cp_ans.csv', 'w', encoding='utf_8')
|
||||||
|
writer = csv.DictWriter(f, fieldnames=h)
|
||||||
|
writer.writeheader()
|
||||||
|
writer.writerow(d)
|
||||||
@@ -1,11 +1,17 @@
|
|||||||
# Powerball
|
# Powerball
|
||||||
1 23 * * 1,3,6
|
45 23 * * 1,3,6
|
||||||
|
|
||||||
# Mega Mil
|
# Mega Mil
|
||||||
0 23 * * 2,5
|
50 23 * * 2,5
|
||||||
|
|
||||||
# Lotto America
|
# Lotto America
|
||||||
31 22 * * 3,6
|
0 23 * * 1,3,6
|
||||||
|
|
||||||
# D3, D4, C25 (Every day but sunday 7:00)
|
# D3, D4 (Every day but sunday 7:45)
|
||||||
0 19 * * 1,2,3,4,5,6
|
45 19 * * 1,2,3,4,5,6
|
||||||
|
|
||||||
|
# C25 (Mon, Tue, Thu, Fri 7:45)
|
||||||
|
45 19 * * 1,2,4,5
|
||||||
|
|
||||||
|
# Cash Pop (every hour 5:20 AM - 11:20 PM, lottery site is down 12-4 AM)
|
||||||
|
20 5-23 * * *
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Forecast,Chance
|
|
||||||
2-3-6,171/250
|
|
||||||
|
@@ -1,2 +0,0 @@
|
|||||||
Forecast,Chance
|
|
||||||
3-4-8-9,33/625
|
|
||||||
|
@@ -1,22 +1,37 @@
|
|||||||
# WVLottopy: Matteo DiBiagio
|
# WVLottopy: Matteo DiBiagio
|
||||||
from fractions import Fraction as frac
|
from fractions import Fraction as frac
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
import records
|
||||||
import requests
|
import requests
|
||||||
from collections import Counter
|
from collections import Counter
|
||||||
import csv
|
import csv
|
||||||
|
|
||||||
def get_data():
|
def get_data():
|
||||||
url = 'https://wvlottery.com/draw-games/daily-3/?game-analyze=daily-3&what-to-search=historysearch&date-range=-1'
|
# previous records which have since been removed from wvlottery.com's database
|
||||||
|
df_old = pd.read_excel('./excel_lotto_records/daily3.xlsx')
|
||||||
|
salvaged = df_old[['Date', 'Numbers']]
|
||||||
|
|
||||||
|
url = 'https://gateway.loyalty.wvlottery.com/services/jackpot/api/v1/jackpot-results?gameId=9&jackpotStatus=PAYABLE&size=500&sort=externalId,drawDate,desc&page='
|
||||||
header = {
|
header = {
|
||||||
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36",
|
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36",
|
||||||
"X-Requested-With": "XMLHttpRequest"
|
|
||||||
}
|
}
|
||||||
# Get web data
|
# Get web data, 500 draws a page
|
||||||
r = requests.get(url, headers=header)
|
web = {'Date': [], 'Numbers': []}
|
||||||
dfs = pd.read_html(r.text)
|
page = 0
|
||||||
|
while True:
|
||||||
|
r = requests.get(url + str(page), headers=header)
|
||||||
|
data = r.json()
|
||||||
|
for x in data['content']:
|
||||||
|
web['Date'].append(records.draw_day(x))
|
||||||
|
web['Numbers'].append('–'.join(str(n['data']) for n in x['resultData'] if n['type'] == 'REGULAR'))
|
||||||
|
if data['last']:
|
||||||
|
break
|
||||||
|
page += 1
|
||||||
|
dfs = [pd.DataFrame(web)]
|
||||||
pd.set_option('display.max_rows', None)
|
pd.set_option('display.max_rows', None)
|
||||||
# Specifies no max rows, otherwise only shows 10 records
|
# Specifies no max rows, otherwise only shows 10 records
|
||||||
df = dfs[0]
|
# adds new draws to the excel so the records keep growing
|
||||||
|
df = records.merge_save('./excel_lotto_records/daily3.xlsx', dfs[0], fallback=salvaged)
|
||||||
df2 = df[['Date', 'Numbers']]
|
df2 = df[['Date', 'Numbers']]
|
||||||
date = list(df2['Date'])
|
date = list(df2['Date'])
|
||||||
nums = list(df2['Numbers'].astype('str'))
|
nums = list(df2['Numbers'].astype('str'))
|
||||||
@@ -25,11 +40,14 @@ def get_data():
|
|||||||
date, nums = get_data()
|
date, nums = get_data()
|
||||||
|
|
||||||
# Formatting
|
# Formatting
|
||||||
|
# site uses – and the excel uses -
|
||||||
hyphenfree = []
|
hyphenfree = []
|
||||||
for x in nums:
|
for x in nums:
|
||||||
hyphenfree.append(x.replace('–',', '))
|
hyphenfree.append(x.replace('–',', ').replace('-',', '))
|
||||||
splitlist = ", ".join(hyphenfree)
|
splitlist = ", ".join(hyphenfree)
|
||||||
sep = splitlist.split(", ")
|
sep = splitlist.split(", ")
|
||||||
|
# gets rid of blanks from the excel
|
||||||
|
sep = [x for x in sep if x.isdigit() and int(x) <= 9]
|
||||||
|
|
||||||
for n in range(0, 10):
|
for n in range(0, 10):
|
||||||
most_common= Counter(sep).most_common(3)
|
most_common= Counter(sep).most_common(3)
|
||||||
@@ -37,9 +55,8 @@ for n in range(0, 10):
|
|||||||
frequency = [v[-1] for v in most_common]
|
frequency = [v[-1] for v in most_common]
|
||||||
|
|
||||||
sorted_nums = sorted(likely_nums, key=lambda x: (len(x), x))
|
sorted_nums = sorted(likely_nums, key=lambda x: (len(x), x))
|
||||||
total_freq = sum(frequency)
|
Chance = frac(6, 1000) # box play, 6 ways out of 1000 (straight is 1/1000)
|
||||||
Chance = frac(total_freq, 15000) # Chance = number call freq / all possible numbers i.e. 1000
|
Forecast = str(" - ".join(sorted_nums))
|
||||||
Forecast = str("-".join(sorted_nums))
|
|
||||||
|
|
||||||
#print(f"Likely numbers are . . . {Forecast} \n"
|
#print(f"Likely numbers are . . . {Forecast} \n"
|
||||||
#f"With percent chance of winning being {Chance}")
|
#f"With percent chance of winning being {Chance}")
|
||||||
|
|||||||
@@ -1,25 +1,37 @@
|
|||||||
# WVLottopy: Matteo DiBiagio
|
# WVLottopy: Matteo DiBiagio
|
||||||
from fractions import Fraction as frac
|
from fractions import Fraction as frac
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
import records
|
||||||
import requests
|
import requests
|
||||||
from collections import Counter
|
from collections import Counter
|
||||||
import csv
|
import csv
|
||||||
|
|
||||||
def get_data():
|
def get_data():
|
||||||
|
# previous records which have since been removed from wvlottery.com's database
|
||||||
df_old = pd.read_excel('./excel_lotto_records/daily4.xlsx')
|
df_old = pd.read_excel('./excel_lotto_records/daily4.xlsx')
|
||||||
salvaged = df_old[['Date', 'Numbers']]
|
salvaged = df_old[['Date', 'Numbers']]
|
||||||
|
|
||||||
url = 'https://wvlottery.com/draw-games/daily-4/?game-analyze=daily-4&what-to-search=historysearch&date-range=-1'
|
url = 'https://gateway.loyalty.wvlottery.com/services/jackpot/api/v1/jackpot-results?gameId=14&jackpotStatus=PAYABLE&size=500&sort=externalId,drawDate,desc&page='
|
||||||
header = {
|
header = {
|
||||||
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36",
|
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36",
|
||||||
"X-Requested-With": "XMLHttpRequest"
|
|
||||||
}
|
}
|
||||||
# Get web data
|
# Get web data, 500 draws a page
|
||||||
r = requests.get(url, headers=header)
|
web = {'Date': [], 'Numbers': []}
|
||||||
dfs = list(pd.read_html(r.text))
|
page = 0
|
||||||
|
while True:
|
||||||
|
r = requests.get(url + str(page), headers=header)
|
||||||
|
data = r.json()
|
||||||
|
for x in data['content']:
|
||||||
|
web['Date'].append(records.draw_day(x))
|
||||||
|
web['Numbers'].append('–'.join(str(n['data']) for n in x['resultData'] if n['type'] == 'REGULAR'))
|
||||||
|
if data['last']:
|
||||||
|
break
|
||||||
|
page += 1
|
||||||
|
dfs = [pd.DataFrame(web)]
|
||||||
pd.set_option('display.max_rows', None)
|
pd.set_option('display.max_rows', None)
|
||||||
# Specifies no max rows, otherwise only shows 10 records
|
# Specifies no max rows, otherwise only shows 10 records
|
||||||
df = pd.concat([dfs[0], salvaged], ignore_index=True)
|
# adds new draws to the excel so the records keep growing
|
||||||
|
df = records.merge_save('./excel_lotto_records/daily4.xlsx', dfs[0], fallback=salvaged)
|
||||||
df2 = df[['Date', 'Numbers']]
|
df2 = df[['Date', 'Numbers']]
|
||||||
date = list(df2['Date'])
|
date = list(df2['Date'])
|
||||||
nums = list(df2['Numbers'].astype('str'))
|
nums = list(df2['Numbers'].astype('str'))
|
||||||
@@ -28,11 +40,14 @@ def get_data():
|
|||||||
date, nums = get_data()
|
date, nums = get_data()
|
||||||
|
|
||||||
# Formatting
|
# Formatting
|
||||||
|
# site uses – and the excel uses -
|
||||||
hyphenfree = []
|
hyphenfree = []
|
||||||
for x in nums:
|
for x in nums:
|
||||||
hyphenfree.append(x.replace('–',', '))
|
hyphenfree.append(x.replace('–',', ').replace('-',', '))
|
||||||
splitlist = ", ".join(hyphenfree)
|
splitlist = ", ".join(hyphenfree)
|
||||||
sep = splitlist.split(", ")
|
sep = splitlist.split(", ")
|
||||||
|
# gets rid of blanks from the excel
|
||||||
|
sep = [x for x in sep if x.isdigit() and int(x) <= 9]
|
||||||
|
|
||||||
for n in range(0, 9):
|
for n in range(0, 9):
|
||||||
most_common= Counter(sep).most_common(4)
|
most_common= Counter(sep).most_common(4)
|
||||||
@@ -40,9 +55,8 @@ for n in range(0, 9):
|
|||||||
frequency = [v[-1] for v in most_common]
|
frequency = [v[-1] for v in most_common]
|
||||||
|
|
||||||
sorted_nums = sorted(likely_nums, key=lambda x: (len(x), x))
|
sorted_nums = sorted(likely_nums, key=lambda x: (len(x), x))
|
||||||
total_freq = sum(frequency)
|
Chance = frac(24, 10000) # box play, 24 ways out of 10000 (straight is 1/10000)
|
||||||
Chance = frac(total_freq, 10000) # Chance = number call freq / all possible numbers i.e. 10000
|
Forecast = str(" - ".join(sorted_nums))
|
||||||
Forecast = str("-".join(sorted_nums))
|
|
||||||
|
|
||||||
#print(f"Likely numbers are . . . {Forecast} \n"
|
#print(f"Likely numbers are . . . {Forecast} \n"
|
||||||
#f"With percent chance of winning being {Chance}")
|
#f"With percent chance of winning being {Chance}")
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,2 +0,0 @@
|
|||||||
Forecast,SB,Chance
|
|
||||||
1-29-32-48-52,[2],149/25989600
|
|
||||||
|
+28
-13
@@ -1,28 +1,40 @@
|
|||||||
# WVLottopy: Matteo DiBiagio
|
# WVLottopy: Matteo DiBiagio
|
||||||
#from django_lottopy.lottopy_site.lottopy.lottopy_web_edition.megamil import Forecast
|
|
||||||
from fractions import Fraction as frac
|
from fractions import Fraction as frac
|
||||||
|
from math import comb
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
import records
|
||||||
import requests
|
import requests
|
||||||
from collections import Counter
|
from collections import Counter
|
||||||
import csv
|
import csv
|
||||||
|
|
||||||
def get_data():
|
def get_data():
|
||||||
|
# previous records which have since been removed from wvlottery.com's database
|
||||||
df_old = pd.read_excel('./excel_lotto_records/lotto_america.xlsx')
|
df_old = pd.read_excel('./excel_lotto_records/lotto_america.xlsx')
|
||||||
salvaged = df_old[['Date', 'Numbers', 'SB']]
|
salvaged = df_old[['Date', 'Numbers', 'SB']]
|
||||||
|
|
||||||
url = 'https://wvlottery.com/draw-games/lotto-america/?game-analyze=lotto-america&what-to-search=historysearch&date-range=-1'
|
url = 'https://gateway.loyalty.wvlottery.com/services/jackpot/api/v1/jackpot-results?gameId=16&jackpotStatus=PAYABLE&size=500&sort=externalId,drawDate,desc&page='
|
||||||
header = {
|
header = {
|
||||||
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36",
|
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36",
|
||||||
"X-Requeste, 'PPX', 'Winners WV Only', 'Payout WV Onlyd-With": "XMLHttpRequest"
|
|
||||||
}
|
}
|
||||||
|
# Get web data, 500 draws a page
|
||||||
# Get web data
|
web = {'Date': [], 'Numbers': [], 'SB': []}
|
||||||
r = requests.get(url, headers=header)
|
page = 0
|
||||||
dfs = list(pd.read_html(r.text))
|
while True:
|
||||||
|
r = requests.get(url + str(page), headers=header)
|
||||||
|
data = r.json()
|
||||||
|
for x in data['content']:
|
||||||
|
web['Date'].append(records.draw_day(x))
|
||||||
|
web['Numbers'].append('–'.join(str(n['data']) for n in x['resultData'] if n['type'] == 'REGULAR'))
|
||||||
|
web['SB'].append([n['data'] for n in x['resultData'] if n['type'] == 'SPECIAL'][0])
|
||||||
|
if data['last']:
|
||||||
|
break
|
||||||
|
page += 1
|
||||||
|
dfs = [pd.DataFrame(web)]
|
||||||
pd.set_option('display.max_rows', None)
|
pd.set_option('display.max_rows', None)
|
||||||
# Specifies no max rows, otherwise only shows 10 records
|
# Specifies no max rows, otherwise only shows 10 records
|
||||||
df = pd.concat([dfs[0], salvaged], ignore_index=True)
|
# adds new draws to the excel so the records keep growing
|
||||||
df2 = df[['Date', 'Numbers', 'SB', 'All Star']]
|
df = records.merge_save('./excel_lotto_records/lotto_america.xlsx', dfs[0], fallback=salvaged)
|
||||||
|
df2 = df[['Date', 'Numbers', 'SB']]
|
||||||
date = list(df2['Date'])
|
date = list(df2['Date'])
|
||||||
nums = list(df2['Numbers'].astype('str'))
|
nums = list(df2['Numbers'].astype('str'))
|
||||||
SBs = list(df2['SB'].astype('int'))
|
SBs = list(df2['SB'].astype('int'))
|
||||||
@@ -31,11 +43,15 @@ def get_data():
|
|||||||
date, nums, SBs = get_data()
|
date, nums, SBs = get_data()
|
||||||
|
|
||||||
# Formatting
|
# Formatting
|
||||||
|
# site uses – and the excel uses -
|
||||||
hyphenfree = []
|
hyphenfree = []
|
||||||
for x in nums:
|
for x in nums:
|
||||||
hyphenfree.append(x.replace('–',', '))
|
hyphenfree.append(x.replace('–',', ').replace('-',', '))
|
||||||
splitlist = ", ".join(hyphenfree)
|
splitlist = ", ".join(hyphenfree)
|
||||||
sep = splitlist.split(", ")
|
sep = splitlist.split(", ")
|
||||||
|
# ball range changed over the years so drop numbers that arent in the game anymore
|
||||||
|
sep = [x for x in sep if x.isdigit() and 1 <= int(x) <= 52]
|
||||||
|
SBs = [x for x in SBs if 1 <= x <= 10]
|
||||||
|
|
||||||
for n in range(0, 52):
|
for n in range(0, 52):
|
||||||
most_common= Counter(sep).most_common(5)
|
most_common= Counter(sep).most_common(5)
|
||||||
@@ -48,9 +64,8 @@ for n in range(0, 10):
|
|||||||
frequency_sb = [v[-1] for v in most_common_sb]
|
frequency_sb = [v[-1] for v in most_common_sb]
|
||||||
|
|
||||||
sorted_nums = sorted(likely_nums, key=lambda x: (len(x), x))
|
sorted_nums = sorted(likely_nums, key=lambda x: (len(x), x))
|
||||||
total_freq = sum(frequency + frequency_sb)
|
Chance = frac(1, comb(52, 5) * 10) # Chance = 1 / all possible tickets i.e. 25989600
|
||||||
Chance = frac(total_freq, 25989600) # Chance = number call freq / all possible numbers i.e. 25,989,600
|
Forecast = str(" - ".join(sorted_nums))
|
||||||
Forecast = str("-".join(sorted_nums))
|
|
||||||
|
|
||||||
#print(f"Likely numbers are . . . {Forecast} SB: {SB}\n"
|
#print(f"Likely numbers are . . . {Forecast} SB: {SB}\n"
|
||||||
#f"With percent chance of winning being {Chance}")
|
#f"With percent chance of winning being {Chance}")
|
||||||
|
|||||||
+29
-12
@@ -1,26 +1,40 @@
|
|||||||
# WVLottopy: Matteo DiBiagio
|
# WVLottopy: Matteo DiBiagio
|
||||||
from fractions import Fraction as frac
|
from fractions import Fraction as frac
|
||||||
|
from math import comb
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
import records
|
||||||
import requests
|
import requests
|
||||||
from collections import Counter
|
from collections import Counter
|
||||||
import csv
|
import csv
|
||||||
|
|
||||||
def get_data():
|
def get_data():
|
||||||
|
# previous records which have since been removed from wvlottery.com's database
|
||||||
df_old = pd.read_excel('./excel_lotto_records/lotto.xlsx')
|
df_old = pd.read_excel('./excel_lotto_records/lotto.xlsx')
|
||||||
salvaged = df_old[['Date', 'Numbers', 'PB', 'PPX', 'Winners WV Only', 'Payout WV Only']]
|
salvaged = df_old[['Date', 'Numbers', 'PB']]
|
||||||
|
|
||||||
url = 'https://wvlottery.com/draw-games/powerball/?game-analyze=powerball&what-to-search=historysearch&date-range=-1'
|
url = 'https://gateway.loyalty.wvlottery.com/services/jackpot/api/v1/jackpot-results?gameId=12&jackpotStatus=PAYABLE&size=500&sort=externalId,drawDate,desc&page='
|
||||||
header = {
|
header = {
|
||||||
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36",
|
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36",
|
||||||
"X-Requested-With": "XMLHttpRequest"
|
|
||||||
}
|
}
|
||||||
# Get web data
|
# Get web data, 500 draws a page
|
||||||
r = requests.get(url, headers=header)
|
web = {'Date': [], 'Numbers': [], 'PB': []}
|
||||||
dfs = list(pd.read_html(r.text))
|
page = 0
|
||||||
|
while True:
|
||||||
|
r = requests.get(url + str(page), headers=header)
|
||||||
|
data = r.json()
|
||||||
|
for x in data['content']:
|
||||||
|
web['Date'].append(records.draw_day(x))
|
||||||
|
web['Numbers'].append('–'.join(str(n['data']) for n in x['resultData'] if n['type'] == 'REGULAR'))
|
||||||
|
web['PB'].append([n['data'] for n in x['resultData'] if n['type'] == 'SPECIAL'][0])
|
||||||
|
if data['last']:
|
||||||
|
break
|
||||||
|
page += 1
|
||||||
|
dfs = [pd.DataFrame(web)]
|
||||||
pd.set_option('display.max_rows', None)
|
pd.set_option('display.max_rows', None)
|
||||||
# Specifies no max rows, otherwise only shows 10 records
|
# Specifies no max rows, otherwise only shows 10 records
|
||||||
df = pd.concat([dfs[0], salvaged], ignore_index=True)
|
# adds new draws to the excel so the records keep growing
|
||||||
df2 = df[['Date', 'Numbers', 'PB', 'PPX', 'Winners WV Only', 'Payout WV Only']]
|
df = records.merge_save('./excel_lotto_records/lotto.xlsx', dfs[0], fallback=salvaged)
|
||||||
|
df2 = df[['Date', 'Numbers', 'PB']]
|
||||||
date = list(df2['Date'])
|
date = list(df2['Date'])
|
||||||
nums = list(df2['Numbers'].astype('str'))
|
nums = list(df2['Numbers'].astype('str'))
|
||||||
PBs = list(df2['PB'].astype('int'))
|
PBs = list(df2['PB'].astype('int'))
|
||||||
@@ -29,11 +43,15 @@ def get_data():
|
|||||||
date, nums, PBs = get_data()
|
date, nums, PBs = get_data()
|
||||||
|
|
||||||
# Formatting
|
# Formatting
|
||||||
|
# site uses – and the excel uses -
|
||||||
hyphenfree = []
|
hyphenfree = []
|
||||||
for x in nums:
|
for x in nums:
|
||||||
hyphenfree.append(x.replace('–',', '))
|
hyphenfree.append(x.replace('–',', ').replace('-',', '))
|
||||||
splitlist = ", ".join(hyphenfree)
|
splitlist = ", ".join(hyphenfree)
|
||||||
sep = splitlist.split(", ")
|
sep = splitlist.split(", ")
|
||||||
|
# ball range changed over the years so drop numbers that arent in the game anymore
|
||||||
|
sep = [x for x in sep if x.isdigit() and 1 <= int(x) <= 69]
|
||||||
|
PBs = [x for x in PBs if 1 <= x <= 26]
|
||||||
|
|
||||||
for n in range(0, 69):
|
for n in range(0, 69):
|
||||||
most_common = Counter(sep).most_common(5)
|
most_common = Counter(sep).most_common(5)
|
||||||
@@ -46,9 +64,8 @@ for n in range(0, 26):
|
|||||||
frequency_pb = [v[-1] for v in most_common_pb]
|
frequency_pb = [v[-1] for v in most_common_pb]
|
||||||
|
|
||||||
sorted_nums = sorted(likely_nums, key=lambda x: (len(x), x))
|
sorted_nums = sorted(likely_nums, key=lambda x: (len(x), x))
|
||||||
total_freq = sum(frequency + frequency_pb)
|
Chance = frac(1, comb(69, 5) * 26) # Chance = 1 / all possible tickets i.e. 292201338
|
||||||
Chance = frac(total_freq, 292201338) # Chance = number call freq / all possible numbers i.e. 292201338
|
Forecast = str(" - ".join(sorted_nums))
|
||||||
Forecast = str("-".join(sorted_nums))
|
|
||||||
|
|
||||||
#print(f"Likely numbers are . . . {Forecast} PB: {PB}\n"
|
#print(f"Likely numbers are . . . {Forecast} PB: {PB}\n"
|
||||||
#f"With percent chance of winning being {Chance}")
|
#f"With percent chance of winning being {Chance}")
|
||||||
|
|||||||
+28
-12
@@ -1,28 +1,41 @@
|
|||||||
# WVLottopy megamil: Matteo DiBiagio
|
# WVLottopy megamil: Matteo DiBiagio
|
||||||
from fractions import Fraction as frac
|
from fractions import Fraction as frac
|
||||||
|
from math import comb
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
import records
|
||||||
import requests
|
import requests
|
||||||
from collections import Counter
|
from collections import Counter
|
||||||
import csv
|
import csv
|
||||||
|
|
||||||
|
|
||||||
def get_data():
|
def get_data():
|
||||||
|
# previous records which have since been removed from wvlottery.com's database
|
||||||
df_old = pd.read_excel('./excel_lotto_records/lotto_megamil.xlsx')
|
df_old = pd.read_excel('./excel_lotto_records/lotto_megamil.xlsx')
|
||||||
salvaged = df_old[['Date', 'Numbers', 'MB']]
|
salvaged = df_old[['Date', 'Numbers', 'MB']]
|
||||||
|
|
||||||
url = 'https://wvlottery.com/draw-games/mega-millions/?game-analyze=mega-millions&what-to-search=historysearch&date-range=-1'
|
url = 'https://gateway.loyalty.wvlottery.com/services/jackpot/api/v1/jackpot-results?gameId=20&jackpotStatus=PAYABLE&size=500&sort=externalId,drawDate,desc&page='
|
||||||
header = {
|
header = {
|
||||||
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36",
|
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36",
|
||||||
"X-Requested-With": "XMLHttpRequest"
|
|
||||||
}
|
}
|
||||||
|
# Get web data, 500 draws a page
|
||||||
# Get web data
|
web = {'Date': [], 'Numbers': [], 'MB': []}
|
||||||
r = requests.get(url, headers=header)
|
page = 0
|
||||||
dfs = list(pd.read_html(r.text))
|
while True:
|
||||||
|
r = requests.get(url + str(page), headers=header)
|
||||||
|
data = r.json()
|
||||||
|
for x in data['content']:
|
||||||
|
web['Date'].append(records.draw_day(x))
|
||||||
|
web['Numbers'].append('–'.join(str(n['data']) for n in x['resultData'] if n['type'] == 'REGULAR'))
|
||||||
|
web['MB'].append([n['data'] for n in x['resultData'] if n['type'] == 'SPECIAL'][0])
|
||||||
|
if data['last']:
|
||||||
|
break
|
||||||
|
page += 1
|
||||||
|
dfs = [pd.DataFrame(web)]
|
||||||
pd.set_option('display.max_rows', None)
|
pd.set_option('display.max_rows', None)
|
||||||
# Specifies no max rows, otherwise only shows 10 records
|
# Specifies no max rows, otherwise only shows 10 records
|
||||||
df = pd.concat([dfs[0], salvaged], ignore_index=True)
|
# adds new draws to the excel so the records keep growing
|
||||||
df2 = df[['Date', 'Numbers', 'MB', 'MP']]
|
df = records.merge_save('./excel_lotto_records/lotto_megamil.xlsx', dfs[0], fallback=salvaged)
|
||||||
|
df2 = df[['Date', 'Numbers', 'MB']]
|
||||||
date = list(df2['Date'])
|
date = list(df2['Date'])
|
||||||
nums = list(df2['Numbers'].astype('str'))
|
nums = list(df2['Numbers'].astype('str'))
|
||||||
MBs = list(df2['MB'].astype('int'))
|
MBs = list(df2['MB'].astype('int'))
|
||||||
@@ -31,11 +44,15 @@ def get_data():
|
|||||||
date, nums, MBs = get_data()
|
date, nums, MBs = get_data()
|
||||||
|
|
||||||
# Formatting
|
# Formatting
|
||||||
|
# site uses – and the excel uses -
|
||||||
hyphenfree = []
|
hyphenfree = []
|
||||||
for x in nums:
|
for x in nums:
|
||||||
hyphenfree.append(x.replace('–',', '))
|
hyphenfree.append(x.replace('–',', ').replace('-',', '))
|
||||||
splitlist = ", ".join(hyphenfree)
|
splitlist = ", ".join(hyphenfree)
|
||||||
sep = splitlist.split(", ")
|
sep = splitlist.split(", ")
|
||||||
|
# ball range changed over the years so drop numbers that arent in the game anymore
|
||||||
|
sep = [x for x in sep if x.isdigit() and 1 <= int(x) <= 70]
|
||||||
|
MBs = [x for x in MBs if 1 <= x <= 24]
|
||||||
|
|
||||||
for n in range(0, 70):
|
for n in range(0, 70):
|
||||||
most_common= Counter(sep).most_common(5)
|
most_common= Counter(sep).most_common(5)
|
||||||
@@ -48,9 +65,8 @@ for n in range(0, 25):
|
|||||||
frequency_mb = [v[-1] for v in most_common_mb]
|
frequency_mb = [v[-1] for v in most_common_mb]
|
||||||
|
|
||||||
sorted_nums = sorted(likely_nums, key=lambda x: (len(x), x))
|
sorted_nums = sorted(likely_nums, key=lambda x: (len(x), x))
|
||||||
total_freq = sum(frequency + frequency_mb)
|
Chance = frac(1, comb(70, 5) * 24) # Chance = 1 / all possible tickets i.e. 290472336
|
||||||
Chance = frac(total_freq, 302575350) # Chance = number call freq / all possible numbers i.e. 11238513
|
Forecast = str(" - ".join(sorted_nums))
|
||||||
Forecast = str("-".join(sorted_nums))
|
|
||||||
|
|
||||||
#print(f"Likely numbers are . . . {Forecast} MB: {MB}\n"
|
#print(f"Likely numbers are . . . {Forecast} MB: {MB}\n"
|
||||||
#f"With percent chance of winning being {Chance}")
|
#f"With percent chance of winning being {Chance}")
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
Forecast,MB,Chance
|
|
||||||
3-7-15-38-64,[9],64/151287675
|
|
||||||
|
@@ -1,2 +0,0 @@
|
|||||||
Forecast,PB,Chance
|
|
||||||
6-33-36-37-56,[18],1/1453738
|
|
||||||
|
+116
@@ -0,0 +1,116 @@
|
|||||||
|
# WVLottopy: Matteo DiBiagio
|
||||||
|
# wvlottery.com only keeps about 3 years of results (cash pop only 1) so this adds every new draw
|
||||||
|
# to the excel sheets each run, that way the records keep growing instead of getting lost again.
|
||||||
|
# Nothing already in the sheets gets changed or removed.
|
||||||
|
import fcntl
|
||||||
|
import os
|
||||||
|
import shutil
|
||||||
|
from collections import Counter
|
||||||
|
|
||||||
|
import pandas as pd
|
||||||
|
|
||||||
|
|
||||||
|
def draw_day(x):
|
||||||
|
# drawingDate from the site is in UTC so the late draws (powerball, megamillions, lotto america)
|
||||||
|
# show up a day late, converting drawDate to eastern time gives the real day
|
||||||
|
try:
|
||||||
|
from datetime import datetime
|
||||||
|
from zoneinfo import ZoneInfo
|
||||||
|
t = datetime.fromisoformat(str(x['drawDate']).replace('Z', '+00:00'))
|
||||||
|
return t.astimezone(ZoneInfo('America/New_York')).strftime('%Y-%m-%d')
|
||||||
|
except Exception:
|
||||||
|
return x['drawingDate']
|
||||||
|
|
||||||
|
|
||||||
|
def _fmt_date(d):
|
||||||
|
# site dates are 2026-10-09, the sheets use 10/09/2026
|
||||||
|
s = str(d)[:10]
|
||||||
|
if len(s) == 10 and s[4] == '-':
|
||||||
|
return f'{s[5:7]}/{s[8:10]}/{s[0:4]}'
|
||||||
|
return s
|
||||||
|
|
||||||
|
|
||||||
|
def _fmt_nums(n):
|
||||||
|
# site splits numbers with – and the sheets use -
|
||||||
|
return str(n).replace('–', '-').strip()
|
||||||
|
|
||||||
|
|
||||||
|
def _newer_first(df):
|
||||||
|
# some of the sheets are newest first and some are oldest first
|
||||||
|
d = pd.to_datetime(df['Date'], errors='coerce').dropna()
|
||||||
|
return len(d) > 1 and d.iloc[0] > d.iloc[-1]
|
||||||
|
|
||||||
|
|
||||||
|
def merge_save(path, web_df, fallback=None, ids=None, times=None):
|
||||||
|
# if saving fails for whatever reason just use the site + old sheet so the numbers still come out
|
||||||
|
try:
|
||||||
|
return _merge_save(path, web_df, ids, times)
|
||||||
|
except Exception as e:
|
||||||
|
print(f'records: could not update {os.path.basename(path)}: {e!r}')
|
||||||
|
if fallback is not None:
|
||||||
|
return pd.concat([web_df, fallback], ignore_index=True)
|
||||||
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
def _merge_save(path, web_df, ids=None, times=None):
|
||||||
|
# web_df is Date, Numbers and the bonus ball column if the game has one
|
||||||
|
# ids is the site's draw id for each row (cash pop needs it), returns the whole sheet
|
||||||
|
bonus = [c for c in web_df.columns if c not in ('Date', 'Numbers')]
|
||||||
|
if os.path.exists(path):
|
||||||
|
old = pd.read_excel(path)
|
||||||
|
else:
|
||||||
|
old = pd.DataFrame(columns=['Unnamed: 0', 'Date', 'Numbers'] + bonus)
|
||||||
|
if len(web_df) == 0:
|
||||||
|
return old[['Date', 'Numbers'] + bonus].copy()
|
||||||
|
|
||||||
|
web = web_df.copy()
|
||||||
|
web['Date'] = web['Date'].map(_fmt_date)
|
||||||
|
web['Numbers'] = web['Numbers'].map(_fmt_nums)
|
||||||
|
if ids is not None:
|
||||||
|
web['DrawID'] = [str(i) for i in ids]
|
||||||
|
if times is not None:
|
||||||
|
web['DrawTime'] = [str(t) for t in times]
|
||||||
|
|
||||||
|
def key(r):
|
||||||
|
return (str(r['Date']), _fmt_nums(r['Numbers'])) + tuple(str(int(r[c])) if str(r[c]) not in ('nan', 'None', '') else '' for c in bonus)
|
||||||
|
|
||||||
|
# rows with a draw id get matched by the id, date + numbers is only for the old rows without one
|
||||||
|
# (cash pop draws 1 number out of 15 like 90 times a day so the same date + number happens a lot)
|
||||||
|
have_ids = set(old['DrawID'].dropna().astype(str)) if 'DrawID' in old.columns else set()
|
||||||
|
no_id = old['DrawID'].isna() if 'DrawID' in old.columns else pd.Series(True, index=old.index)
|
||||||
|
have = Counter(key(r) for _, r in old[no_id].iterrows())
|
||||||
|
keep = []
|
||||||
|
for _, r in web.iterrows():
|
||||||
|
if 'DrawID' in web.columns and str(r['DrawID']) in have_ids:
|
||||||
|
continue
|
||||||
|
k = key(r)
|
||||||
|
if have[k] > 0:
|
||||||
|
have[k] -= 1
|
||||||
|
continue
|
||||||
|
keep.append(r)
|
||||||
|
new = pd.DataFrame(keep, columns=web.columns)
|
||||||
|
|
||||||
|
if len(new):
|
||||||
|
lock = open(os.path.join(os.path.dirname(path) or '.', '.' + os.path.basename(path) + '.lock'), 'w')
|
||||||
|
fcntl.flock(lock, fcntl.LOCK_EX)
|
||||||
|
try:
|
||||||
|
# one time backup of the sheet before it ever gets added to
|
||||||
|
backup = path + '.pre-recording'
|
||||||
|
if os.path.exists(path) and not os.path.exists(backup):
|
||||||
|
shutil.copy2(path, backup)
|
||||||
|
new['_d'] = pd.to_datetime(new['Date'], errors='coerce')
|
||||||
|
desc = _newer_first(old) if len(old) else True
|
||||||
|
new = new.sort_values('_d', ascending=not desc, kind='stable').drop(columns='_d')
|
||||||
|
start = int(pd.to_numeric(old['Unnamed: 0'], errors='coerce').max() + 1) if len(old) and 'Unnamed: 0' in old.columns else 0
|
||||||
|
new.insert(0, 'Unnamed: 0', range(start, start + len(new)))
|
||||||
|
full = pd.concat([new, old], ignore_index=True) if desc else pd.concat([old, new], ignore_index=True)
|
||||||
|
tmp = path[:-5] + '.tmp.xlsx'
|
||||||
|
full.to_excel(tmp, index=False, engine='openpyxl')
|
||||||
|
os.replace(tmp, path)
|
||||||
|
finally:
|
||||||
|
fcntl.flock(lock, fcntl.LOCK_UN)
|
||||||
|
lock.close()
|
||||||
|
print(f'records: {os.path.basename(path)} +{len(new)} new draws')
|
||||||
|
else:
|
||||||
|
full = old
|
||||||
|
return full[['Date', 'Numbers'] + bonus].copy()
|
||||||
Regular → Executable
+3
-2
@@ -1,2 +1,3 @@
|
|||||||
pandas==1.3.5
|
pandas>=2.0
|
||||||
requests==2.26.0
|
requests>=2.33
|
||||||
|
openpyxl>=3.1
|
||||||
@@ -1 +1 @@
|
|||||||
echo "Powerball" && python lottopy_pb.py && echo "MegaMillions" && python megamil.py && echo "Lotto America" && python lotto_america.py && echo "Daily3" && python daily3.py && echo "Daily4" && python daily4.py && echo "Cash25" && python cash25.py
|
echo "Powerball" && python lottopy_pb.py && echo "MegaMillions" && python megamil.py && echo "Lotto America" && python lotto_america.py && echo "Daily3" && python daily3.py && echo "Daily4" && python daily4.py && echo "Cash25" && python cash25.py && echo "Cash Pop" && python cashpop.py
|
||||||
Reference in new issue
Block a user