coards-1.0.5
توضیحات
A parser for COADS-compliant dates
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | coards-1.0.5 |
| نام | coards |
| نسخه کتابخانه | 1.0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Roberto De Almeida |
| ایمیل نویسنده | roberto@dealmeida.net |
| آدرس صفحه اصلی | http://code.dealmeida.net/coards |
| آدرس اینترنتی | https://pypi.org/project/coards/ |
| مجوز | MIT |
A COADS compliant time parser
=============================
This module is intended to help parse time values represented using the `COARDS convention <http://ferret.wrc.noaa.gov/noaa_coop/coop_cdf_profile.html>`_. Here is a simple example:
.. code-block:: pycon
>>> 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
-------
- `Distribute`_
- `Buildout`_
- `modern-package-template`_
.. _Buildout: http://www.buildout.org/
.. _Distribute: http://pypi.python.org/pypi/distribute
.. _`modern-package-template`: http://pypi.python.org/pypi/modern-package-template
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.
نحوه نصب
نصب پکیج whl coards-1.0.5:
pip install coards-1.0.5.whl
نصب پکیج tar.gz coards-1.0.5:
pip install coards-1.0.5.tar.gz