DatExtractor-1.0.1
توضیحات
This package lets the users to extract date from the text. This package identifies the date component and extracts it.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | DatExtractor-1.0.1 |
| نام | DatExtractor |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Sri Phani Subramanyam |
| ایمیل نویسنده | subbu27498@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/DatExtractor/ |
| مجوز | - |
DatExtractor - It is a very useful tool to extract data from text
DatExtractor - Extract date from text
==========================================
|pypi| |support| |licence|
|readthedocs|
.. |pypi| image:: https://img.shields.io/pypi/v/python-dateutil.svg?style=flat-square
:target: https://pypi.org/project/DatExtractor/
:alt: pypi version
.. |support| image:: https://img.shields.io/pypi/pyversions/python-dateutil.svg?style=flat-square
:target: https://pypi.org/project/DatExtractor/
:alt: supported Python version
.. |licence| image:: https://img.shields.io/pypi/l/python-dateutil.svg?style=flat-square
:target: https://pypi.org/project/DatExtractor/
:alt: licence
.. |readthedocs| image:: https://img.shields.io/readthedocs/dateutil/latest.svg?style=flat-square&label=Read%20the%20Docs
:alt: Read the documentation at https://datextractor.readthedocs.io/en/latest/
:target: https://datextractor.readthedocs.io/en/latest/
The `DatExtractor` module provides the most efficient way of
extracting date from text in the required format you need, available in Python.
Installation
============
`DatExtractor` can be installed from PyPI using `pip` (note that the package
name is different from the importable name)::
pip install DatExtractor
Download
========
DatExtractor is available on PyPI
https://pypi.org/project/DatExtractor/1.0/
The documentation is hosted at: https://datextractor.readthedocs.io/en/latest/
Code
====
The code and issue tracker are hosted on GitHub:
https://github.com/subbu-art/DatExtractor
Features
========
* This Package help you to extract date from the text.
* You can get the date in what ever format you actually want it.
* Currently the package can handle formats seperated by [/.-].
* Generic parsing of dates in almost any string format.
* You can extract multiple dates as well and you can use it as per the requirement.
Quick example
=============
Here's a snapshot, just to give an idea about the power of the
package. For more examples, look at the documentation.
Suppose you want to extract date from a text. you need to provide the
text to the function as an argument. the default format of
date you get is (mm/dd/yyyy). However you can modify the date format by
passing the date format argument, so that you get the date in expected format.:
from DatExtractor import date_parser
date_parser("Please extract date:- 29/10/2020.")
['10/29/2020']
date_parser("Please extract date:- 29/10/2020.","%Y/%d/%m")
['2020/29/10']
date_parser("Please extract dates:- 29/10/2020, 12/21/2018","%d/%Y/%m")
['29/2020/10','21/2018/12']
Author
======
The DatExtractor module was written by Sri Phani Subramanyam subbu27498@gmail.com in 2021.
It is maintained by:
* Sri Phani Subramanyam subbu27498@gmail.com 2021-Present
Contact
=======
For queries please contact subbu27498@gmail.com.
License
=======
Copyright (C) 2007 Free Software Foundation, Inc. https://fsf.org/
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed. GNU General Public License v3.0 https://choosealicense.com/licenses/gpl-3.0/#>.
نحوه نصب
نصب پکیج whl DatExtractor-1.0.1:
pip install DatExtractor-1.0.1.whl
نصب پکیج tar.gz DatExtractor-1.0.1:
pip install DatExtractor-1.0.1.tar.gz