Skip to main content

A parser for recognising free-text dates

Project description

sari/bso-date-parser

A parser to convert textual dates into EDTF

Installation

Install using pip

$ pip install date-parser-sari

Usage

>>> from sariDateParser.dateParser import parse
>>> parse("4 December 1920")
'4.12.1920'
>>> parse("um 1920")
'1920?'
>>> parse("zwischen 1870 und 1890")
'1870/1890'
>>> parse("nicht vor 1450?")
'1450/'

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

date-parser-sari-0.8.11.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

date_parser_sari-0.8.11-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file date-parser-sari-0.8.11.tar.gz.

File metadata

  • Download URL: date-parser-sari-0.8.11.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.0

File hashes

Hashes for date-parser-sari-0.8.11.tar.gz
Algorithm Hash digest
SHA256 7f95cee0d858e44638e5b3835fccb048379d58b4505a6ed89f436fbaf2769118
MD5 a36a303607b8f8a6a4d6aed7b46cae27
BLAKE2b-256 f0c9a5dc171b89c72cf8ba5f8bda3aca538fd5693e5c29a1c9d6e7e58f2236b0

See more details on using hashes here.

File details

Details for the file date_parser_sari-0.8.11-py3-none-any.whl.

File metadata

  • Download URL: date_parser_sari-0.8.11-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.0

File hashes

Hashes for date_parser_sari-0.8.11-py3-none-any.whl
Algorithm Hash digest
SHA256 4dfb77982d34f4c231370aad4406ea9acb901826c6571c86c14063a05cc0bdf0
MD5 a41ba1c2a240b9fc6cece1fd5f4e0438
BLAKE2b-256 d09c8e4ed46c5b2221ae974c34ec0a70b8c670bfc1a1ba526af93e8dcb833599

See more details on using hashes here.

Supported by

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