Skip to main content
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!

Module to parse human-style date ranges (eg. 15th-19th March 2011) to datetimes

Project Description
DateRangeParser is a Python module which makes it easy to parse date ranges specified in

a human-style string. For example, it can parse strings like:

  • 27th-29th June 2010
  • 30 May to 9th Aug
  • 3rd Jan 1980 – 2nd Jan 2013
  • Wed 23 Jan -> Sat 16 February 2013
  • Tuesday 29 May - Sat 2 June 2012
  • From 1 to 9 Jul
  • 14th July 1988 (it works with single dates too!)
  • 07:00 Tue 7th June - 17th July 3:30pm (it ignores times, currently)
  • Jan 2011 - Mar 2014

DateRangeParser can be installed by running pip install daterangeparser.

Full documentation is provided at http://daterangeparser.readthedocs.org/ and the code (and development information) is available at https://github.com/robintw/daterangeparser.

Release History

Release History

This version
History Node

1.3.1

History Node

1.3

History Node

1.2

History Node

1.1.1

History Node

1.1

History Node

1.0

History Node

0.6

History Node

0.5.4

History Node

0.5.3

History Node

0.5.2

History Node

0.5.1

History Node

0.5

History Node

0.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
DateRangeParser-1.3.1.tar.gz (6.8 kB) Copy SHA256 Checksum SHA256 Source Dec 10, 2015

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