nr-date
What it is and what it does
nr.date is a pure-Python date parsing library that uses regular expressions to extract and parse dates from strings. It has no external runtime dependencies beyond the standard library's dataclasses module, making it lightweight to install. The library supports Python 3.6 through 3.11 and was last updated in August 2023.
The package is designed for regex-based date parsing without the overhead of more complex parsing frameworks. However, it is no longer actively maintained—the project has been abandoned with no updates expected. Users should be aware that any bugs or compatibility issues discovered after the final release will not be addressed.
Use it for:
- Extract dates from log files or unstructured text where format is relatively consistent.
- Parse dates in data pipelines where speed matters and format variety is limited.
- Quick date extraction in scripts where adding a heavy dependency is not justified.
- Preprocessing text data before feeding it into analysis workflows.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A pure-Python date parser using regex patterns to extract and parse dates from strings without external dependencies.
Yes, if you need lightweight regex-based date parsing and can accept the maintenance risk. The low install friction, permissive MIT license, and absence of security vulnerabilities make it technically safe. However, the abandoned status means no fixes will arrive—install only if the current feature set meets your needs.
Install
nr-date on PyPI
pip
pip install nr-dateuv
uv add nr-datepoetry
poetry add nr-dateInstalling nr-date
Before you install
Installation is straightforward with no compiled dependencies. However, the package is abandoned—last release was 1094 days ago—so no maintenance or bug fixes should be expected.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it safe to adopt from a licensing standpoint.
Quickstart
pip install nr-date
from nr.date import parse
result = parse('2023-08-16')
Verify before relying
- What date formats does the regex-based parser actually support and how complete is coverage?
- How does performance compare to standard library datetime parsing?
- Are there known parsing edge cases or limitations not documented?
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.6,<4.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — dataclasses |
| Maintenance | abandoned — 1,094 days since the last release |
| First released | |
| Downloads | 248,262/month — #8,670 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: nr_date-2.1.0-py3-none-any.whl
Tags
More Text Processing packages
A drop-in replacement for Python's standard…
permissive · top 100 on PyPI
pyparsingpyparsing provides a library for building text…
permissive · top 1,000 on PyPI
docutilsDocutils converts plaintext documentation in…
unclear · top 1,000 on PyPI
RapidFuzzRapidFuzz provides fast fuzzy string matching…
permissive · top 1,000 on PyPI
tinycss2tinycss2 parses CSS strings into token and…
permissive · top 1,000 on PyPI
llama-parseLlamaParse parses complex documents (PDFs,…
permissive · top 1,000 on PyPI
commonregexExtracts dates, times, emails, phone numbers,…
permissive · top 15,000 on PyPI
stringparserExtracts values from strings using…
permissive · top 15,000 on PyPI
date-guesserExtracts publication dates from web pages by…
permissive · top 15,000 on PyPI
datefinderDatefinder extracts date and time expressions…
permissive · top 5,000 on PyPI
date-spacyAdds a spaCy pipeline component that identifies…
permissive · top 15,000 on PyPI
htmldateExtracts original and updated publication dates…
permissive · top 5,000 on PyPI
pygmarsPygmars builds lightweight lexers and parsers…
permissive · top 15,000 on PyPI
jsonpath-pythonExtracts, filters, sorts, and updates values in…
permissive · top 1,000 on PyPI
dateparserParses dates from text in multiple languages…
permissive · top 1,000 on PyPI
pyap2Pyap2 detects and parses postal addresses from…
permissive · top 15,000 on PyPI