#118 · Primary category: NLP Tools & Text Processing

datefinder

datetime nlp parser

Find dates inside text using Python and get back datetime objects

Project last updated:03/25/26

GitHub Stars

663

Forks

170

Contributors

19

License

MIT

Why we included this project

Pipelines that ingest messy human-written text often hit a wall when dates arrive in a dozen different shapes. datefinder scans a document for date-like expressions and returns Python datetime objects, covering explicit calendar dates, ISO and slash formats, and relative phrases like "tomorrow" or "in 3 days" in one pass. The v2 API gives you typed match objects with spans, confidence, and structured values, and a CLI can pipe files straight to JSON for shell workflows. If you need to normalize timestamps across mixed-format documents before analytics or scheduling logic, this is a small, focused dependency rather than a heavyweight framework.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category