qmetrics.net

DateParser

Python library for human-readable date strings

DateParser screenshot

Dateparser converts absolute, relative, and multilingual date text into Python datetime objects with configurable parsing rules.

Overview

Dateparser is a Python library that parses dates written for humans: absolute calendars, relative phrases such as “two weeks ago” or “tomorrow”, Unix timestamps, and mixed date-time strings with zones. The main entry point is dateparser.parse(), which wraps most module behavior.

It supports a large set of date formats and more than two hundred language locales, with optional automatic language detection or explicit language lists. Settings control date order, timezone handling, incomplete dates, strict parsing, and which internal parsers run.

Relative and fuzzy natural language works across multiple languages. You can constrain input with dateformats or limit parsing to custom formats only. searchdates extracts multiple dates from longer text, and with RETURN_TIME_SPAN can return intervals for phrases like “past month”. Optional calendar extras add Jalali, Hijri, French Republican, and Minguo calendar support.

Install via pip; non-Gregorian calendars need the calendars extra. An online demo lets you try parsing without installing locally.

Key features

  • Absolute and relative date parsing
  • 200+ language locales
  • Timezone abbreviations and UTC offsets
  • Configurable settings and date order
  • searchdates in long text
  • Time span expression detection
  • Optional non-Gregorian calendars

Use cases

  • Scraping heterogeneous date strings
  • Multilingual log normalization
  • Relative time in user input
  • Extracting dates from articles

Tags

Similar software

MarkItDown

Python utility converting office and media files to Markdown

MarkItDown converts many file types into Markdown for LLM and text analysis pipelines. It aims to preserve headings, lists, tables, and links rather than perfect human layout.

★ 198.7k⟳ 21 days agoMIT

OpenBB

Open-source data integration platform for analysts, quants and AI agents

Open Data Platform (ODP) by OpenBB connects proprietary, licensed and public data sources once, then exposes them to Python, OpenBB Workspace, Excel, MCP servers for AI agents, and REST APIs.

★ 75.8k⟳ 9 days agoApache-2.0

Docling

Document parsing toolkit for generative AI pipelines

Docling ingests PDFs, office files, media, email, and many other formats into a unified document model. It targets downstream RAG and agent workflows with local execution options.

★ 71.1k⟳ yesterdayMIT

pandas

Python data structures for labeled analysis

pandas is a Python package for working with labeled, tabular, and time-series data. It provides Series and DataFrame objects with alignment, grouping, and rich import and export options.

★ 50.7k⟳ yesterdayBSD-3-Clause

RSSHub

Open RSS feed network with community-maintained routes

RSSHub aggregates content from many online sources into RSS feeds and is maintained as an open source project with a large network of deployed instances.

★ 47.4k⟳ yesterdayAGPL-3.0

jq

Portable command-line JSON processor

jq slices, filters, maps, and transforms JSON from the shell. It is a standalone C binary with no runtime dependencies, plus an online playground and optional Docker image.

★ 36.4k⟳ 26 days agoMIT · open core