Skip to main content

Uniform interface for dates and times

Project description

  • Classes for durations, timestamps and timezones

  • Minimal non-standard dependencies (ntplib, pytz, tzlocal)

  • Microsecond accuracy (float epoch seconds are rounded to 6 decimal places)

  • Timestamp internal storage is float epoch seconds in UTC

  • Duration internal storage is float seconds

  • Timezone name search by regular expression

  • Default timezone is local timezone

  • Comparison and arithmetic methods for timestamps and durations

  • Test-driven development methodology

  • Named formats

  • Timestamp object “helper” methods for timezones and formats

  • Command line tool

  • Substitutes for time.time(): time, time_ntp, time_utc

  • Supports Python versions >= 3.5.1 and >= 2.7.11

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

kron-1.6.3.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distributions

kron-1.6.3-py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 3

kron-1.6.3-py2-none-any.whl (7.6 kB view hashes)

Uploaded Python 2

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