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.2.tar.gz
(71.5 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.2.tar.gz.
File metadata
- Download URL: date_fuzz-0.0.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5648d479e349c431de7e779dcd4bb7b2ec754291a6d8777a9fafa2d0d3866f5
|
|
| MD5 |
97dfe5e46a78c4256bf56539f88f9efd
|
|
| BLAKE2b-256 |
dd8ae9ecbe7a74b8a97ad329de8c2abf3c2285f662564c0987b5d1c171bd79e9
|
File details
Details for the file date_fuzz-0.0.2-py3-none-any.whl.
File metadata
- Download URL: date_fuzz-0.0.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16a35428e492bc17acf177682375ddcd4735190f43c31625b380035e2579a67c
|
|
| MD5 |
26cc9fd8c2c09e56221b0322b76ea476
|
|
| BLAKE2b-256 |
0919ef541b5818c1bd584cd6e1d10bca3f4262af6c4350aa081090a80b39ba03
|