Cross-platform file and folder utility functions in Python made simple.
Project description
pathmagic
PathLib simplified to its most.
pathmagic is a lightweight Python utility module that simplifies common file and folder path operations using Python’s built-in pathlib library.
Why use pathmagic?
Working with files and directories in Python can often involve repetitive and verbose code. pathmagic wraps the most frequently used operations into simple functions to help make your scripts cleaner, easier to read, and quicker to write.
Features
- Create folders if they don’t exist
- Delete folders or files
- Check if a path exists
- Read and write text files
- Join paths easily across platforms
- List files or directories
- Get file names, extensions, and more
Installation
This module has no external dependencies. You can simply copy it into your project or install it manually once published.
pip install pathmagic
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file easypath-0.1.0.tar.gz.
File metadata
- Download URL: easypath-0.1.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32f05af56dca4cfb33a30cb766e795344b0268eba9691ffe9ed7dc2767bd4183
|
|
| MD5 |
4c6b56a52b114822cef1700c65b15481
|
|
| BLAKE2b-256 |
518f631c596637ecb1a6dbaa683846b3589e1b3018d18c846fb2c0e580975df2
|
File details
Details for the file easypath-0.1.0-py3-none-any.whl.
File metadata
- Download URL: easypath-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50fa74b1f1d590ee7fb0c6988226bc0fa9fb5654741a7e9a9b18de2c84b88999
|
|
| MD5 |
efa9c4d61e39e7c299d64705fc8dfea0
|
|
| BLAKE2b-256 |
cfcf4159da596204a9766664331fe103f8c576b8aaa4b0a2a5f0f06aefe001dc
|