Skip to main content

A module that helps you to calculate how many days will you have for preparing your exam.

Project description

Examdays

A Python module that helps you to calculate how many days will you have for preparing your exam.

Installation

pip install examdays

Usage

from examdays import exam

exam(end_year, end_month, end_day)

'''
For example:
If your exam is on 2021,6,30

Then:
exam(2021,6,30)

'''

or:

import examdays

examdays.exam(end_year, end_month, end_day)

or in Command Line:

$ examdays [end year] [end month] [end day] 

If you want to use specific colour in the output:

$ examdays [end year] [end month] [end day] [colour]

Colour List:

  • BLACK
  • RED
  • GREEN
  • YELLOW
  • BLUE
  • MAGENTA
  • CYAN
  • WHITE

Example

$ examdays 2021 6 20

Output:

You still have: 6 days!
Good Luck! 

With Colour:

$ examdays 2021 6 30 YELLOW

Output:

Yellow

$ examdays 2021 6 30 blue

Output:

Blue

TODO

  • Add Timer function

License

MIT

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

examdays-0.0.16.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distributions

examdays-0.0.17-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

examdays-0.0.16-py3-none-any.whl (3.8 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