Unibox is a tool that aims to provide a unified interface for various common daily operations
Project description
Unibox
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 eitherpillow
orlibvips
unibox copy <dir>
: an awscli-like tool for copying files with certain suffix to a new dir, keeping the same directory structureunibox move <dir>
: likecopy
, but moves insteads
utils:
UniLogger
: uniformed logger classUniLoader
: 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
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
unibox-0.2.2.tar.gz
(9.4 kB
view details)
Built Distribution
unibox-0.2.2-py3-none-any.whl
(11.9 kB
view details)
File details
Details for the file unibox-0.2.2.tar.gz
.
File metadata
- Download URL: unibox-0.2.2.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f30277cbabb7dc984ed7bb3013fe21dd5829fc23ecf5d6d36e7e452280de0575 |
|
MD5 | bc0b731c0f7334edd4bc77b2c0bd8de7 |
|
BLAKE2b-256 | 145e53f0bf3c935bec0b6aedaaf0ec362d3cb097c78596a3347cfabd995212d6 |
File details
Details for the file unibox-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: unibox-0.2.2-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e1d2a15322845b49f42e4d152203663db8411a5f4b83c533fd4fd78b594dc3a |
|
MD5 | ebc2b58dd4ee800048dd947618b14770 |
|
BLAKE2b-256 | a14d250574b1a976f4972d247602b05f4280993cf59f13cd1c314a7ad906099d |