Skip to content
/ os_utils Public

Set of utils for OS like delete, mkpath, zip_dir. And simple logger configuration

License

Notifications You must be signed in to change notification settings

ahcub/os_utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Set of utils for OS like delete, mkpath, zip_dir. And simple logger configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages