delta
Human friendly context aware duration parsing library
Decision gist · record as of 2026-08-14
No—install only if you have no alternative and can verify compatibility with your Python version. The package is abandoned (last update 2016-08-06), has high install friction, and Python compatibility is unspecified. Modern alternatives may be safer choices for production use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- No Python version requirement specified in the package metadata; compatibility with modern Python versions is unknown.
- High install friction: the package is abandoned (last commit 2020-06-01, no releases since 2016-08-06) and has no runtime dependencies.
- Maintenance status poses a significant risk for bug fixes or compatibility updates.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.
last release 2016-08-06 (3660 days) · last repo commit 2020-06-01 · 10 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 603,472 downloads/mo, #5,810 on PyPI
Alternatives
Verify before relying
pip install delta
import delta
from datetime import datetime
tdelta = delta.parse('1 day')
tdelta_context = delta.parse('2 months', context=datetime(2016, 1, 1))- Whether the package works with Python 3.x versions (no version requirement specified)
- Whether context-aware parsing correctly handles all calendar variations
- Whether the package is maintained or has a maintained fork available
What it is and what it does
Delta is a duration-parsing library that converts natural-language time expressions into Python timedelta objects. It accepts strings like '1 year 2 months and 3 weeks' or shorthand like '1y 2m 3w 4d' and returns the equivalent timedelta. The library includes a context-aware mode: when you provide a datetime object as context, it correctly calculates months and years by accounting for the actual calendar, rather than using fixed day counts.
The package exports a single parse() function and supports units from milliseconds to years. It has no external runtime dependencies, making installation straightforward in principle. However, the package has been abandoned since 2016-08-06 with no updates for years, and Python version compatibility is unspecified, creating uncertainty about whether it will work reliably on modern Python versions.
Use it for
- Parse user input like '3 days and 2 hours' into timedelta for scheduling or timeout calculations
- Calculate accurate date offsets by months or years using context-aware parsing with a reference date
- Convert shorthand duration notation from configuration files or CLI arguments into timedelta objects
- Build duration-based filters or queries that accept human-readable time expressions
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—install only if you have no alternative and can verify compatibility with your Python version.
The package is abandoned (last update 2016-08-06), has high install friction, and Python compatibility is unspecified. Modern alternatives may be safer choices for production use.
Install
delta on PyPI
Before you install
High install friction: the package is abandoned (last commit 2020-06-01, no releases since 2016-08-06) and has no runtime dependencies. Maintenance status poses a significant risk for bug fixes or compatibility updates.
No Python version requirement specified in the package metadata; compatibility with modern Python versions is unknown.
License in practice
MIT license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.
Quickstart
pip install delta
import delta
from datetime import datetime
tdelta = delta.parse('1 day')
tdelta_context = delta.parse('2 months', context=datetime(2016, 1, 1))
Verify before relying
- Whether the package works with Python 3.x versions (no version requirement specified)
- Whether context-aware parsing correctly handles all calendar variations
- Whether the package is maintained or has a maintained fork available
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 3,660 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 603,472 / month, #5,810 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: delta-0.4.2.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “timedelta from text”
- deltaParses human-readable duration strings like '1 hour' or '2 months and…
- pytimeparse2Parses human-readable time expressions (like '2h32m', '1.2 minutes',…
- durationpyConverts between Python's `datetime.timedelta` and Go-style duration…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also ago · datedelta · durationpy · snaptime · about-time · pytimeparse2 · pytimeparse · isoduration · timeago · ctparse