1- # dateandtimeparser
1+ # pydateparser
22
33-----
44
55** Table of Contents**
66
77* [ Installation] ( #installation )
8- * [ License] ( #license )
98* [ Usage] ( #usage )
9+ * [ License] ( #license )
1010
1111## Installation
1212
13- dateandtimeparser is distributed on [ PyPI] ( https://pypi.org ) as a universal
13+ pydateparser is distributed on [ PyPI] ( https://pypi.org ) as a universal
1414wheel and is available on Linux/macOS and Windows and supports
1515Python 3.6+.
1616
1717``` bash
18- $ pip install dateandtimeparser
18+ $ pip install pydateparser
1919# or
2020$ python setup.py install
2121```
@@ -24,7 +24,7 @@ $ python setup.py install
2424
2525sample input:
2626``` python
27- from dateandtimeparser import DateTimeParser as parser
27+ from pydateparser import DateParser as parser
2828
2929text = ' Today is 10/12/16 and tomorrow is January 01 2019.'
3030dp = parser(text, start_year = 2000 , end_year = 2020 , datetime_format = None )
@@ -37,8 +37,8 @@ dp.datetime
3737[datetime(date = ' january 01 2019' , token_span = (34 , 49 ), token_index = (6 , 8 ), format = ' %B %d %Y' ),
3838 datetime(date = ' 10/12/16' , token_span = (9 , 17 ), token_index = (2 , 2 ), format = ' %d /%m/%y' )]
3939```
40- for an extended usage demo refer [ this] ( https://github.com/GlibAI/dateandtimeparser /blob/master/notebooks/lib-usage-notebook.ipynb ) notebook.
40+ for an extended usage demo refer [ this] ( https://github.com/GlibAI/pydateparser /blob/master/notebooks/lib-usage-notebook.ipynb ) notebook.
4141## License
4242
43- dateandtimeparser is distributed under the terms of the
43+ pydateparser is distributed under the terms of the
4444[ MIT License] ( https://choosealicense.com/licenses/mit ) .
0 commit comments