Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c9cb11931b
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (34 sloc) 1.601 kb
import os
from setuptools import setup
setup(
name = "DateRangeParser",
packages = ['daterangeparser'],
install_requires = ['pyparsing'],
version = "0.6",
author = "Robin Wilson",
author_email = "robin@rtwilson.com",
description = ("""Module to parse human-style date ranges (eg. 15th-19th March 2011) to datetimes"""),
license = "LGPL",
url = "https://github.com/robintw/daterangeparser",
long_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)*
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.""",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Text Processing :: Linguistic",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)",
"Programming Language :: Python"
],
)
Jump to Line
Something went wrong with that request. Please try again.