alvinwan/timefhuman
Extract datetimes and durations from natural language text as Python objects. Supports ranges, lists, and more.
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.
Stars
121
Forks
20
Language
Python
License
Apache-2.0
Category
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.
Related tools
adbar/htmldate
Fast and robust date extraction from web pages, with Python or on the command-line
akoumjian/datefinder
Find dates inside text using Python and get back datetime objects
DanielJDufour/date-extractor
Extract dates from text
mike182uk/timestring
Parse a human readable time string into a time based value
quire-io/SwiftyChrono
A natural language date parser in Swift (ported from chrono.js)