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 details)

Uploaded Source

Built Distributions

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

Uploaded Python 3

examdays-0.0.16-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file examdays-0.0.16.tar.gz.

File metadata

  • Download URL: examdays-0.0.16.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for examdays-0.0.16.tar.gz
Algorithm Hash digest
SHA256 ac2362767a36b3d5d8af246b3dfa47d2570db79a356996524ecb243743cba70c
MD5 5c94abf1da279610d980c8030678a979
BLAKE2b-256 f74063771c87c76bb983634fff91f33ef0141677efdf68a517b422d5f2d1b9d2

See more details on using hashes here.

File details

Details for the file examdays-0.0.17-py3-none-any.whl.

File metadata

  • Download URL: examdays-0.0.17-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for examdays-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 1597ccb6da9537c62c7f33981176a38af5a8f9cdd5bcedc1bfa3ea24add5e07e
MD5 394bd063e0e91186c4acaf73f3673aaa
BLAKE2b-256 80c7628889c6cc43c8cb8f353bff4f8d029c771646cef1cb8a13b5b93aa98a4c

See more details on using hashes here.

File details

Details for the file examdays-0.0.16-py3-none-any.whl.

File metadata

  • Download URL: examdays-0.0.16-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for examdays-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 3bed5c1359158f56dc4056d105f33415fb4f9e53e8b9de6c3167cf29072dabbf
MD5 92a516dce49bb447fb6d8b42c81fb7d5
BLAKE2b-256 6fddc7d2e0949c505aab41237e6a72288f27784ec8e9ecce8deb0a3023c0acc9

See more details on using hashes here.

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