{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/3"}],"enrichment":{"capability":"Creates a directory and all its parent directories if they don't exist, reporting the outcome to a provided sink function like print.","skillfed_tags":["filesystem-utilities","path-management"],"use_cases":["Ensure a log directory exists before writing application logs, with confirmation output.","Set up nested configuration directories during application initialization.","Create output directories in build or test scripts with visibility into what was created."],"what_it_does":"provide_dir is a minimal utility that wraps directory creation with a reporting mechanism. It takes a Path object and a sink function (typically print), then creates the directory and all parent directories if needed, writing a message to the sink to indicate whether the directory was newly created or already existed.\n\nThe package is straightforward: it solves the common task of ensuring a directory exists before writing to it, while also providing visibility into whether that directory was freshly made. It requires Python 3.9 or later and depends on colorama for output formatting.","worth_installing":"Yes, if you need simple directory creation with reporting. The package is abandoned but stable, carries no vulnerabilities, and has low install friction. Use it for straightforward mkdir-with-parents tasks where you want to know whether the directory was newly created. If you need active maintenance or complex filesystem operations, consider using pathlib.Path.mkdir directly."},"id":"provide-dir","links":{"html":"https://skillfed.io/packages/provide-dir","md":"https://skillfed.io/packages/provide-dir.md","pypi":"https://pypi.org/project/provide-dir/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-04-13","license_spdx":null,"license_treatment":"permissive","name":"provide-dir","python_support":"supports_current","summary":"Provides a directory with all its parent directories, if it does not yet exist"},"popularity":{"monthly_downloads":306358,"position":7787,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.2"}
