Skip to main content

An alternative datetime library for Python.

Project description

PyPI - Status PyPI - Version PyPI - Python Version

pyoda-time

An alternative datetime library for Python.

Based on Noda Time, an alternative DateTime library for .NET. (Which itself draws inspiration from Joda Time.)

Guiding Principles

Some developers assume that a pattern which works in Java will work in Python, or the equivalent for any other pair of platforms. Don’t make this assumption. Always read the documentation – and if you’re porting code from one platform to another, you’ll need to “decode” the pattern with one set of documentation, then “encode” it with the other.

-- Jon Skeet's coding blog

Tests

By convention:

  • Tests which are not nested inside a test class are unique to Pyoda Time.
  • Tests which are nested within a test class (along with the class itself) are derived from the Noda Time equivalent.

This way, it is easy to keep track of which tests are based on Noda Time tests and which aren't.

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

pyoda_time-0.3.0.tar.gz (23.0 kB view hashes)

Uploaded Source

Built Distribution

pyoda_time-0.3.0-py3-none-any.whl (23.6 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