provide-dir
Provides a directory with all its parent directories, if it does not yet exist
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Low friction to install.
- The package is abandoned (last commit 2022-04-13, 1584 days old) but carries no known vulnerabilities and depends only on colorama.
License · maintenance · safety
permissive license (permissive) — Licensed under MIT (permissive), so you can use it freely in commercial and open-source projects without restriction.
last release 2022-04-13 (1584 days) · last repo commit 2022-04-13
0 known vulnerabilities (OSV.dev, 2026-08-14) · 306,358 downloads/mo, #7,787 on PyPI
Alternatives
Verify before relying
from pathlib import Path
from provide_dir import provide_dir
needed_path = Path("/path/to/directory/with/subdirectories")
provide_dir(needed_path, print)- Whether colorama is actually used at runtime or only in development/testing.
- Whether the package handles edge cases like permission errors or symlinks gracefully.
What it is and 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.
The 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.
Use it for
- 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.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
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.
Install
provide-dir on PyPI
Before you install
Low friction to install. The package is abandoned (last commit 2022-04-13, 1584 days old) but carries no known vulnerabilities and depends only on colorama.
Requires Python 3.9 or later.
License in practice
Licensed under MIT (permissive), so you can use it freely in commercial and open-source projects without restriction.
Quickstart
from pathlib import Path
from provide_dir import provide_dir
needed_path = Path("/path/to/directory/with/subdirectories")
provide_dir(needed_path, print)
Verify before relying
- Whether colorama is actually used at runtime or only in development/testing.
- Whether the package handles edge cases like permission errors or symlinks gracefully.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagecolorama |
| Maintenance | Abandoned 1,584 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 306,358 / month, #7,787 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: End Users/DesktopIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.9Topic :: Software Development :: Testing |
Evidence: provide_dir-0.1.2-py3-none-any.whl
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 › “recursive directory creation”
- provide-dirCreates a directory and all its parent directories if they don't…
- scantreeRecursively scans directories with flexible filtering, wildcard…
- ignore-pythonProvides fast recursive directory traversal with automatic filtering…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
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.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also fatfs-ng · rclone-python · dirhash · pathlib-mate · pathy · scandir · pathlib · watchdog · checksumdir · pyrootutils