Skip to main content

A python library to check and analyse Euromillions results

Project description

Latest PyPI version Latest Travis CI build status last commit Compatibility Repository size

A python library to check and analyse Euromillions results

Usage

from pyeuromil import Euromil
from datetime import date

my_euromil = Euromil()
# September draws
for result in my_euromil.draw_dates(date(2018, 9, 1), date(2018, 9, 30)):
    print(result)
2018-09-28
2018-09-25
2018-09-21
2018-09-18
2018-09-14
2018-09-11
2018-09-07
2018-09-04
from pyeuromil import Euromil
from datetime import date

my_euromil = Euromil()
# first week of october results
result_list = my_euromil.results(date(2018, 10, 1), date(2018, 10, 7))
for result in result_list:
    print(result)
Result(date=datetime.date(2018, 10, 5), n1=8, n2=16, n3=24, n4=26, n5=35, star1=3, star2=11)
Result(date=datetime.date(2018, 10, 2), n1=7, n2=17, n3=29, n4=37, n5=45, star1=3, star2=11)

Installation

Install and update using pip:

pip install pyeuromil

Compatibility

python > 3.6

Licence

MIT License (see LICENSE file)

Authors

pyeuromil was written by Acpirience.

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

pyeuromil-0.1.3.tar.gz (12.0 kB view hashes)

Uploaded Source

Built Distribution

pyeuromil-0.1.3-py3-none-any.whl (13.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page