{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/10"}],"enrichment":{"capability":"Parses natural-language date and time descriptions (like \"next friday\" or \"4 hours ago\") into Python datetime objects or Unix timestamps using PHP's timelib module.","skillfed_tags":["date-parsing","natural-language","compiled-extension"],"use_cases":["Parse user-entered date strings in web forms or CLIs without requiring strict format specification","Convert relative time expressions (\"3 days from now\", \"last month\") into exact datetime objects for scheduling or logging","Migrate PHP date-parsing logic to Python while preserving the same parsing semantics","Build natural-language query interfaces that accept fuzzy date ranges and convert them to timestamps"],"what_it_does":"timelib is a thin Python wrapper around PHP's internal timelib C module, exposing two main functions: strtodatetime() converts English-language date descriptions into Python datetime objects, and strtotime() converts them into Unix timestamps. It leverages PHP's battle-tested date parsing logic to handle relative expressions (\"next friday\", \"4 hours ago\"), absolute dates, and arithmetic (\"29 feb 2008 -108 years\").\n\nThe package has no runtime dependencies and ships as a compiled extension. It is dormant\u2014last released in March 2023 with no active maintenance\u2014but the repository remains public and unarchived. Install friction is medium because it requires a pre-built wheel matching your Python version and CPU architecture; source builds need a C compiler and PHP timelib headers.","worth_installing":"Yes, if you need natural-language date parsing and can install a pre-built wheel for your platform. The permissive dual license and zero runtime dependencies make it lightweight. However, dormancy (last release March 2023, no active maintenance) means no bug fixes or Python version updates are forthcoming\u2014verify wheel availability for your Python version and architecture before committing, and consider alternatives if you need ongoing support or broader platform coverage."},"id":"timelib","links":{"html":"https://skillfed.io/packages/timelib","md":"https://skillfed.io/packages/timelib.md","pypi":"https://pypi.org/project/timelib/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-03-18","license_spdx":null,"license_treatment":"permissive","name":"timelib","python_support":"unspecified","summary":"parse english textual date descriptions"},"popularity":{"monthly_downloads":118595,"position":12114,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.0"}
