A parser for COADS-compliant dates
Project description
A COADS compliant time parser
This module is intended to help parse time values represented using the COARDS convention. Here is a simple example:
>>> from coards import parse >>> a = [1, 2, 3] >>> units = 'days since 1998-03-01 12:00:00' >>> b = [parse(value, units) for value in a] >>> print b [datetime.datetime(1998, 3, 2, 12, 0), datetime.datetime(1998, 3, 3, 12, 0), datetime.datetime(1998, 3, 4, 12, 0)]
Credits
News
1.0.1
Release date: 20120818
Parse RFC3339 dates.
1.0
Release date: 20120529
Refactored code so that it works with more dates.
Using modern-package-template for directory structure.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
coards-1.0.1.tar.gz
(4.2 kB
view details)
Built Distribution
coards-1.0.1-py2.7.egg
(7.5 kB
view details)
File details
Details for the file coards-1.0.1.tar.gz
.
File metadata
- Download URL: coards-1.0.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90bfd258e8e6c793dcc7160674588a2b84a819f63c01542c9bcc835efc0f8c80 |
|
MD5 | 4f40005489094b6a635c7576955b4638 |
|
BLAKE2b-256 | 1aaf87954316da3069c882f441dfadfeb36fbb68ef98cbfa29a6d81082b77245 |
Provenance
File details
Details for the file coards-1.0.1-py2.7.egg
.
File metadata
- Download URL: coards-1.0.1-py2.7.egg
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22779cee2a19201eff94c4eb52e4ffccb25eed81583087ac9a1e971f998e2ec8 |
|
MD5 | 39c887c588ddcf21c37cd6a1c804b240 |
|
BLAKE2b-256 | a01efe1c4c2b2d454083f66ad1b4d1f21575c50ff23ef3c9f7842d78fd055edd |