Skip to main content

A Python module to fuzzy extract dates from text corpuses.

Project description

date-fuzz

Release Build status Commit activity License

date-fuzz for Python 🗓️

What Is date-fuzz?

Lightweight Python package to fuzzy extract dates from a corpus of text.

Installation

pip install date_fuzz

Usage

from date_fuzz import find_dates

text = "A thing happened on Jan 1st 2012 and the next morning at 09:15 and also jan 15th at 12am in 2018."
dates = find_dates(text)
print(dates)

# Output
[
    ('2012-01-01', 4),
    ('2012-01-02 09:15', 9),
    ('2018-01-15 12:00', 15)
]

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_fuzz-0.0.1a0.tar.gz (71.5 kB view details)

Uploaded Source

Built Distribution

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

date_fuzz-0.0.1a0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file date_fuzz-0.0.1a0.tar.gz.

File metadata

  • Download URL: date_fuzz-0.0.1a0.tar.gz
  • Upload date:
  • Size: 71.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for date_fuzz-0.0.1a0.tar.gz
Algorithm Hash digest
SHA256 16854bbe3b10c6df0c064edc9256302c74ebc0a6d39e18e01654569d8a0a6c88
MD5 40cde224267b8d3faa4be39f57eee61e
BLAKE2b-256 dedf1dafd5b11af3d905189e45d31ea56e4770bea326c627c69d56df15abb48e

See more details on using hashes here.

File details

Details for the file date_fuzz-0.0.1a0-py3-none-any.whl.

File metadata

  • Download URL: date_fuzz-0.0.1a0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for date_fuzz-0.0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 66dbcf03e1d53314f1547a5a9853f898c5b1ce7a4055c352b08b8f9017f3a490
MD5 7ab604647841a4260dbd3ae869655ea1
BLAKE2b-256 f57891641e64c9a51bd61c52e33e6b3431d7b27285b3b0a22317feecc4367957

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