{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/5"}],"enrichment":{"capability":"Parses human-readable duration strings like '1 hour' or '2 months and 3 weeks' into Python timedelta objects, with optional context-aware calculation for months and years.","skillfed_tags":["date-time-parsing","abandoned"],"use_cases":["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"],"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.\n\nThe 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.","worth_installing":"No\u2014install 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."},"id":"delta","links":{"html":"https://skillfed.io/packages/delta","md":"https://skillfed.io/packages/delta.md","pypi":"https://pypi.org/project/delta/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2016-08-06","license_spdx":null,"license_treatment":"permissive","name":"delta","python_support":"unspecified","summary":"Human friendly context aware duration parsing library"},"popularity":{"monthly_downloads":603472,"position":5810,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.2"}
