This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

Parse utilities for iso8601 encoding.

Whereas iso8601 encoding is offered by datetime.isoformat(), the standard library offers no means to decode an iso8601 format datetime into a datetime object. This module just makes up for that deficiency in an unobtrusive way.

Synopsis

import iso8601
dt = iso8601.parse_datetime("1994-11-05T08:15:30-05:00")

Description

parse_datetime(string)

Parse an iso8601-encoded datetime string.

Args:
string: an iso8601 datetime string.
Returns:
A datetime object.
Raises:
ValueError: Could not parse the provided string.
ISO8601_RE
Regular expression for an iso8601 encoded date, to be used for validation or manual parsing.

Installation

To install iso8601, make sure you have Python 2.7 or greater installed. Then run this command from the command prompt:

python setup.py install

If you’re upgrading from a previous version, you need to remove it first.

Though it is not a requirement, it is highly suggested that you have Distribute installed.

For custom installation locations, please see: http://packages.python.org/distribute/easy_install.html#custom-installation-locations

License

iso8601 is distributed under the LGPLv2.1 license.

Release History

Release History

0.1dev

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting