diff --git a/lottopy_site/lottopy/lottopy_web_edition b/lottopy_site/lottopy/lottopy_web_edition index 838982bf..92d91e38 160000 --- a/lottopy_site/lottopy/lottopy_web_edition +++ b/lottopy_site/lottopy/lottopy_web_edition @@ -1 +1 @@ -Subproject commit 838982bfade050d842214a38f8145737e77d701b +Subproject commit 92d91e38f96f1015c4afdd0500584b746e32c4cd diff --git a/lottopy_site/lottopy/urls.py b/lottopy_site/lottopy/urls.py index d9a620ee..d65c9f7c 100755 --- a/lottopy_site/lottopy/urls.py +++ b/lottopy_site/lottopy/urls.py @@ -9,5 +9,6 @@ urlpatterns = [ path('about/', views.about, name="about"), path('links/', views.links, name="links"), path('links/modpack', views.zipdownload, name="zipdownload"), + path('about/records', views.recordsdownload, name="recordsdownload"), path('robots.txt', TemplateView.as_view(template_name="robots.txt", content_type="text/plain") , name='robots.txt'), ] diff --git a/lottopy_site/lottopy/views.py b/lottopy_site/lottopy/views.py index 9b53fa95..59faa90d 100755 --- a/lottopy_site/lottopy/views.py +++ b/lottopy_site/lottopy/views.py @@ -27,6 +27,11 @@ def zipdownload(request): file_path = os.path.join(settings.STATIC_ROOT, 'files', 'mods.zip') return FileResponse(open(file_path, 'rb'), as_attachment=True, filename='mods.zip') +def recordsdownload(request): + # excel records zip, rebuilt every night by ~/scripts/build_records_zip.py + file_path = os.path.join(settings.STATIC_ROOT, 'files', 'wvlottopy_records.zip') + return FileResponse(open(file_path, 'rb'), as_attachment=True, filename='wvlottopy_records.zip') + @cache_page(CACHE_TTL) def home(request): context = { diff --git a/lottopy_site/templates/lottopy/about.html b/lottopy_site/templates/lottopy/about.html index 34f0522a..a43b1cb4 100644 --- a/lottopy_site/templates/lottopy/about.html +++ b/lottopy_site/templates/lottopy/about.html @@ -9,7 +9,7 @@
It began when two close friends of mine piqued my interest with their own ways to win the jackpot. One who thought it was all in location, and another who simply pulled numbers from his dreams and meditation (some winning +$10,000!)
Although I do not claim to have a universal link or the secret to winning numbers, my goal is to give the best edge available using statistical and historical analysis on the lottery. The most recent addition to the site has been the reintroduction of data dating back to 1992, in order to add to the training pool and get a more accurate estimate.
The site is still in development and I am working on adding more features and improving the site's functionality. Currently everything is in working order and the numbers will be refreshed momentarily after new ones are called, but if there is a specific feature not available that you would like to request, be my guest!
-Everything here, from the prediction scripts to the site itself, was written by hand in Python, starting in 2021, well before AI coding assistants came along. The site's full commit history is public for anyone who wants to see how it was built. I have also created a cleaned and stripped down version of the prediction scripts, hosted on Gitea and GitHub, and I encourage anyone interested to port it to their own local lotteries.
Everything here, from the prediction scripts to the site itself, was written by hand in Python, starting in 2021, well before AI coding assistants came along. The site's full commit history is public for anyone who wants to see how it was built. I have also created a cleaned and stripped down version of the prediction scripts, hosted on Gitea and GitHub, and I encourage anyone interested to port it to their own local lotteries. The most recent version of the excel is updated daily and available for download here.
Winners using numbers from this site will be featured on a new "Winners" page if consenting. If you have any suggestions or comments, please feel free to contact me at admin at wvlotterypredictor dot xyz and please keep in mind this site is funded by the donations of those who support it, so any financial assistance is greatly appreciated.
For updates subscribe to the mailing list at the bottom of this page (I will not disclose or abuse your personal information) or follow me on the twitter linked in the navigation bar. Thank you for visiting!