An alternative datetime library for Python.
Project description
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.
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
Built Distribution
File details
Details for the file pyoda_time-0.4.0.tar.gz
.
File metadata
- Download URL: pyoda_time-0.4.0.tar.gz
- Upload date:
- Size: 35.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.0 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 338e5ae533c0682a9c8d422528adc794ace99ff58f4a5f4d1b5e30595b9715ee |
|
MD5 | 18329a204eace4d18d0fc8be148c1ca4 |
|
BLAKE2b-256 | e6540d7970ad81b01139370b33d4191080044d97248b56d5f59ee1cfae0e0f13 |
File details
Details for the file pyoda_time-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: pyoda_time-0.4.0-py3-none-any.whl
- Upload date:
- Size: 36.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.0 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ca8a4911f7933faac632a0c62c6e2d8850d99df53132d1381415c20458d7c7e |
|
MD5 | c367581f2e0d7ed6590c92f8b252af9e |
|
BLAKE2b-256 | 49f313f8403567e7c66801ec342d5ddc8a60cda26dba67eca5369b8f0ab555df |