alvinwan/timefhuman

Extract datetimes and durations from natural language text as Python objects. Supports ranges, lists, and more.

54
/ 100
Established

This tool helps you quickly pull specific dates, times, and durations out of everyday written text. You feed it a message, email, or document, and it identifies all the mentions of dates and times, converting them into structured date/time objects that can be used for scheduling or analysis. It's designed for anyone who needs to extract time-related information from unstructured text, like project managers, event planners, or data analysts.

121 stars. No commits in the last 6 months. Available on PyPI.

Use this if you need to reliably find and convert natural language descriptions of dates, times, or durations (like 'next Monday at 3 PM' or '30 minutes') from text into a standardized format.

Not ideal if you're only looking for simple, strictly formatted dates (like 'MM/DD/YYYY') that don't require interpretation of natural language.

data-extraction scheduling event-planning text-analysis information-retrieval
Stale 6m
Maintenance 2 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 17 / 25

How are scores calculated?

Stars

121

Forks

20

Language

Python

License

Apache-2.0

Last pushed

Jul 11, 2025

Commits (30d)

0

Dependencies

4

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/nlp/alvinwan/timefhuman"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.