Skip to main content

Khayyam3(Jalali Persian Datetime) library. This is fork of the original khayyam library which supports both Python 2.6 above and Python 3. The original Khayyam library is available at: https://pypi.python.org/pypi/Khayyam

Project description

Khayyam3 is a library to use date & time in persian style(known as Jalali calendar or khayyam alg)

It’s designed to replace the python standard “datetime.datetime” class with “khayyam3.JalaliDatetime”. the “khayyam3.JalaliDatetime” has two additional methods, that can be used to convert it to gregorian calendar and vice-versa:

to_datetime(self)

from_datetime(cls)

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

Khayyam3-0.9.2.tar.gz (8.8 kB view hashes)

Uploaded Source

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