A Python module to fuzzy extract dates from text corpuses.
Project description
date-fuzz
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
Release history Release notifications | RSS feed
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.7.tar.gz
(71.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file date_fuzz-0.0.7.tar.gz.
File metadata
- Download URL: date_fuzz-0.0.7.tar.gz
- Upload date:
- Size: 71.7 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
114cf3cbcba1f0da4a61a6f0fbad93239ed1ad76f9d719e1a570cef8d3569a57
|
|
| MD5 |
4d0ade0e6c7d0055e08540a2fe8c3e55
|
|
| BLAKE2b-256 |
213a84ceb90cc2d631181f1187dc4f6c0c63942b0aefb53fc4bba3ba780a5a1f
|
File details
Details for the file date_fuzz-0.0.7-py3-none-any.whl.
File metadata
- Download URL: date_fuzz-0.0.7-py3-none-any.whl
- Upload date:
- Size: 8.9 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfce947805eb7e2a3c0dba1b9331e69c2948b8edeadd95bad49c2b6a7f755459
|
|
| MD5 |
a3bc8e28155b47d7b2c6a3d66bcc556a
|
|
| BLAKE2b-256 |
1312bd7a253c5d30e5426a7d5d502bea7cf26e2ffaf43e70ad8dc2cd381dd380
|