#118 · Primary category: NLP Tools & Text Processing
datefinder
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
flair
A very simple framework for state-of-the-art Natural Language Processing (NLP)
compromise
modest natural-language processing
tokenizers
💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
CoreNLP
CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
Chinese-Word-Vectors
100+ Chinese Word Vectors 上百种预训练中文词向量