{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/18"}],"enrichment":{"capability":"Adds datetime type support to Click, allowing CLI developers to parse and validate date strings as command-line parameters with custom format specifications.","skillfed_tags":["cli-utilities","datetime-parsing"],"use_cases":["Accept a date parameter in a CLI tool and receive a datetime object directly without manual string parsing.","Build a backup or log-analysis CLI that takes date ranges as command-line arguments with automatic validation.","Create a scheduling CLI where users specify dates in a consistent format and your code validates them automatically.","Develop a data-processing script that accepts date filters from the command line with format validation built in."],"what_it_does":"Click-datetime is a small extension that teaches Click how to parse datetime values from command-line arguments. It wraps Python's datetime type as a Click parameter type, letting you define a format string and automatically convert user input into datetime objects. The package sits between Click's parameter system and Python's datetime module, handling the string-to-object conversion so your CLI code receives properly typed datetime values instead of raw strings.\n\nThe package is straightforward: you instantiate a Datetime type with a format string, attach it to a Click option or argument, and the conversion happens automatically. It has no external dependencies beyond Click itself. However, the package is dormant\u2014the last release was 704 days ago\u2014so it receives no active maintenance. If you need datetime parsing in a Click CLI and the format is simple, this package works; if you encounter bugs or need support for complex datetime scenarios, you may need to patch it yourself or implement the conversion inline.","worth_installing":"Yes, if you are building a Click CLI that needs datetime parameters and you are comfortable with a dormant package. The code is simple and the dependency footprint is minimal. No security vulnerabilities are known. The main trade-off is that you receive no active maintenance\u2014if a bug appears or Click changes its internals, you will need to maintain a patch yourself or implement datetime parsing inline. For straightforward date-parameter use cases, the convenience outweighs the risk."},"id":"click-datetime","links":{"html":"https://skillfed.io/packages/click-datetime","md":"https://skillfed.io/packages/click-datetime.md","pypi":"https://pypi.org/project/click-datetime/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-09-09","license_spdx":null,"license_treatment":"permissive","name":"click-datetime","python_support":"supports_current","summary":"Datetime type support for click."},"popularity":{"monthly_downloads":75483,"position":14708,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.0"}
