Skip to main content

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.5

Release date: 20130604

  • Create converter object.

1.0.4

Release date: 20130520

  • Parse microseconds.

1.0.3.2

Release date: 20130218

  • Allow origin to be expressed only as HH.

1.0.3.1

Release date: 20130214

  • Fix minor typo in code.

1.0.3

Release date: 20130214

  • Create parser/formatter objects to avoid repeated parsing.

  • Happy Valentine’s!

1.0.2

Release date: 20120823

  • Fixed regexp that parses the origin.

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.

Metadata

Release files for coards 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coards 1.0.5
File Size Uploaded Provenance Actions
coards-1.0.5.tar.gz 4.7 kB Without provenance Details for coards-1.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for coards 1.0.5
File Interpreter ABI Platform Actions
coards-1.0.5-py2.7.egg Legacy Egg format - - Details for coards-1.0.5-py2.7.egg

Total release size: 12.9 kB

Release files / coards-1.0.5.tar.gz

Download URL coards-1.0.5.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f870b614288e7f93c8f545cb21ec27fd5abd0c0e25ab1f4677524a95ba7bcfd7
BLAKE2b-256 checksum
How to use checksums
4c7f88c67673ee6fe689412170b2a2f98350dbeae52084569a37db5e57abda50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / coards-1.0.5-py2.7.egg

Download URL coards-1.0.5-py2.7.egg
Size 8.3 kB
Tags Egg
SHA-256 checksum
How to use checksums
11eede31fcc8c9386c4579eba66d772a09ca533f7fd81d0cebe8771be4299459
BLAKE2b-256 checksum
How to use checksums
25da3be128b5947df391b52288b64ed30ad6c8af864cbbfdf1538bbc5c56a3eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for coards 1.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page