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.

Module used: Pendulum

Installation

pip install examdays

Usage

from examdays import exam

exam(end_year, end_month, end_day)

# For example
# exam(2021, 6, 28)

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

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.11.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

examdays-0.0.11-py3-none-any.whl (2.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