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.
Metadata
Release files for DateRangeParser 1.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| DateRangeParser-1.3.2.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| DateRangeParser-1.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.2 kB
Release files / DateRangeParser-1.3.2.tar.gz
| Download URL | DateRangeParser-1.3.2.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
323e43084f9adfe9f5ac5c40e16397929ead465ff51fed5b69a0e18c0432a06a
|
|
BLAKE2b-256 checksum How to use checksums |
f9f432f5b08f8ca182d76d6f5831f2119a45e67d499f947258eae179b06c6869
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1
|
Release files / DateRangeParser-1.3.2-py3-none-any.whl
| Download URL | DateRangeParser-1.3.2-py3-none-any.whl |
|---|---|
| Size | 23.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d193d690d67951ee5f6f586b82c7491dcc2426da8eda09f742dbe6e455644972
|
|
BLAKE2b-256 checksum How to use checksums |
460e67d6a9912b216417d9a4adf2c716ff628a5fc1797fcafd5a7599928622c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1
|