remove_directory
Function to recursively remove a non-empty directory. Posted by Boris on stackexchange.
Dependencies
None
Usage
from pathlib import Path
from remove_directory import rmdir
p = Path("/path/to/directory")
rmdir(p)
Installation
Pip
pip install remove_directory
Developer's Installation
You can clone the repository and install it with pip install -e /path/to/local/repository.
Metadata
Release files for remove-directory 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| remove_directory-0.0.1.tar.gz | 4.6 kB | Without provenance | Details for remove_directory-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| remove_directory-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for remove_directory-0.0.1-py3-none-any.whl |
Total release size: 8.0 kB
Release files / remove_directory-0.0.1.tar.gz
| Download URL | remove_directory-0.0.1.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eae99af35640ff5b7c8cf3ff0712b3fdcae64a2b924d75d75b8d6e9395bf8a59
|
|
BLAKE2b-256 checksum How to use checksums |
c61436b85117be2672f48b308aa390bec3968394e1d7a7324fc909daa4c7e161
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
|
Release files / remove_directory-0.0.1-py3-none-any.whl
| Download URL | remove_directory-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aecdca5d8919599a9ced00ef9fd2b122439a1b351f421e3e3a673924ac830bbf
|
|
BLAKE2b-256 checksum How to use checksums |
47947fdf0fe0f0bac0e47c3c9eaa7f88419dcc5351979260463f023b0d577140
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
|
Security for remove-directory 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.