Skip to main content

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)

Source distribution for remove-directory 0.0.1
File Size Uploaded
remove_directory-0.0.1.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for remove-directory 0.0.1
File Interpreter ABI Platform
remove_directory-0.0.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page