Skip to main content

Unibox is a tool that aims to provide a unified interface for various common daily operations

Project description

Unibox

Python PyPI Version Code style: black License: MIT

Unibox is a tool that aims to provide a unified interface for various common daily operations.

Features

CLI:

  • unibox resize <dir>: resizes a directory of images using either pillow or libvips
  • unibox copy <dir>: an awscli-like tool for copying files with certain suffix to a new dir, keeping the same directory structure
  • unibox move <dir>: like copy, but moves insteads

utils:

  • UniLogger: uniformed logger class
  • UniLoader: uniformed data loader class (unibox.loads(<any file>))
  • UniSaver: uniformed data saver class (unibox.saves(<any file>))

Install

install from pypi:

pip install unibox

build from source:

git clone https://github.com/trojblue/unibox

# pip install poetry
poetry install
poetry build
pip install dist/unibox-<version number>.whl

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

unibox-0.2.2.tar.gz (9.4 kB view hashes)

Uploaded Source

Built Distribution

unibox-0.2.2-py3-none-any.whl (11.9 kB view hashes)

Uploaded Python 3

Supported by

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