Skip to main content

Recursively removes a non-empty directory

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

remove_directory-0.0.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

remove_directory-0.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file remove_directory-0.0.1.tar.gz.

File metadata

  • Download URL: remove_directory-0.0.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for remove_directory-0.0.1.tar.gz
Algorithm Hash digest
SHA256 eae99af35640ff5b7c8cf3ff0712b3fdcae64a2b924d75d75b8d6e9395bf8a59
MD5 4c819cc91ccbb6a81ae8ae2db269a191
BLAKE2b-256 c61436b85117be2672f48b308aa390bec3968394e1d7a7324fc909daa4c7e161

See more details on using hashes here.

File details

Details for the file remove_directory-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: remove_directory-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for remove_directory-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aecdca5d8919599a9ced00ef9fd2b122439a1b351f421e3e3a673924ac830bbf
MD5 42f5fbe040c46bf59f5581e8bea409fb
BLAKE2b-256 47947fdf0fe0f0bac0e47c3c9eaa7f88419dcc5351979260463f023b0d577140

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page