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.5.0.tar.gz (36.1 kB view details)

Uploaded Source

Built Distribution

pyoda_time-0.5.0-py3-none-any.whl (36.8 kB view details)

Uploaded Python 3

File details

Details for the file pyoda_time-0.5.0.tar.gz.

File metadata

  • Download URL: pyoda_time-0.5.0.tar.gz
  • Upload date:
  • Size: 36.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.12.0 Linux/6.2.0-1016-azure

File hashes

Hashes for pyoda_time-0.5.0.tar.gz
Algorithm Hash digest
SHA256 631c4bf0c0183d7a85cebc28840269936d39c37a0ef089102e50e772941b0cff
MD5 29ff064f53ded8f6c2a1d46a4971d0fd
BLAKE2b-256 3e26ae12d934aa901648f64a1cf2f884f9cc0772ace825311c746646ff29b9e5

See more details on using hashes here.

File details

Details for the file pyoda_time-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: pyoda_time-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 36.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.12.0 Linux/6.2.0-1016-azure

File hashes

Hashes for pyoda_time-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a84c4436985680f9395224466ccd394c08f37e8281719e84e63da97008eb9b8
MD5 2923079003230a79afa8e63f70452d10
BLAKE2b-256 47c437d6c95644b6dcdd09461c028e9ce89b592b69d340444e41b08c82aef393

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