os utils to reduce code copy paste
Project description
Utils for python
os utils for python to reduce copy-pasting same functionality and unity functions to handle common problems with delete of file or directory or creating directory
- logging configuration
- path operations (delete, creating)
- files operation (like md5 calculation or zipping a folder)
Installation
This project uses uv as the package manager.
Install uv
# On macOS and Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# On Windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
Install the package
# Install from PyPI
uv pip install os_utils
# Or install in development mode
uv pip install -e .
Development
# Sync dependencies
uv sync
# Run Python with uv
uv run python your_script.py
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
os_utils-0.2.0.tar.gz
(5.7 kB
view details)
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 os_utils-0.2.0.tar.gz.
File metadata
- Download URL: os_utils-0.2.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c5c2e29b3b298e9f52cca040b5b2214e33d7c3963c7825ab09dac41198928c9
|
|
| MD5 |
1ae3b10340029fac354983d06b10ed90
|
|
| BLAKE2b-256 |
8fd39051725285a2220e5ca090261e1c2cf5b693168692850cfb4ca553d312fb
|
File details
Details for the file os_utils-0.2.0-py3-none-any.whl.
File metadata
- Download URL: os_utils-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8189915efd14519a9457f4aa6856341a22a5ba47ca2cc4553a8519c7f643ad90
|
|
| MD5 |
1e6ad8e6dd733fee6f256f67ae53923b
|
|
| BLAKE2b-256 |
76c7cc10ac97bf9c6648315ec254e988dd5cca2a114e42321d731cfd26a4b39b
|