provide-dir 0.1.2

Last updated:

0 purchases

provide-dir 0.1.2 Image
provide-dir 0.1.2 Images
Add to Cart

Description:

providedir 0.1.2

provide_directory
Function to create the given path, including potential parent directories. Writes to the provided sink (e.g. print) whether the directory was created or whether it already existed.
Dependencies
None
Usage
from pathlib import Path
from provide_dir import provide_dir

needed_path = Path("/path/to/directory/with/subdirectories")
provide_dir(needed_path, print)

Installation
Pip
pip install provide_dir

Developer's Installation
You can clone the repository and install it with pip install -e /path/to/local/repository.
Test dependencies
To run the tests you will need

pytest
remove_directory
re_patterns

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.