Skip to main content

Date parsing library designed to parse dates from HTML pages

Project description

https://badge.fury.io/py/dateparser.png https://travis-ci.org/scrapinghub/dateparser.png?branch=master https://pypip.in/d/dateparser/badge.png

Date parsing library designed to make it easy parsing dates commonly found in web pages

Features

If you have needed to parse dates before, you probably have used the date parser of the dateutil module. We built this library on top of it, adding a few features:

  • dateparser support dates in languages other than English

  • in fact, it can detect the language automatically

  • it can give you the date for text like: '1 min ago', '2 weeks ago', '3 months, 1 weeks and 1 day ago', etc

The goal is to support the common date formats used in websites all around the world.

Limitations

DateParser currently tries hard to get the date information right (year, month and day), but it has limited support for parsing time (hours, minutes and seconds).

History

0.1.0 (2014-11-24)

  • First release on PyPI.

Project details


Download files

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

Source Distribution

dateparser-0.1.0.tar.gz (28.9 kB view details)

Uploaded Source

Built Distribution

dateparser-0.1.0-py2.py3-none-any.whl (14.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file dateparser-0.1.0.tar.gz.

File metadata

  • Download URL: dateparser-0.1.0.tar.gz
  • Upload date:
  • Size: 28.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dateparser-0.1.0.tar.gz
Algorithm Hash digest
SHA256 429b708eb3c9c3b93ad8f2b8cba03db05991aade6b4e127cfc35b17299abe3f6
MD5 6600386e45b7e665171b515c904f8666
BLAKE2b-256 40589cff2418f43e93520cb2e738b90e59edf8e3a0483deb82c93ca3b8e1fa99

See more details on using hashes here.

File details

Details for the file dateparser-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for dateparser-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 15a36d932287d3bbc991028d8e4e6aa24f16aa14009c64f28bd0f65cb38b2076
MD5 88ef2f34b46665740688ec8246d03e44
BLAKE2b-256 139243ab39b440e6f5e972d7000b44db2e2bd6d71bbcd5fc0f2da16accda6d96

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page