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.3.tar.gz
(9.4 kB
view details)
Built Distribution
unibox-0.2.3-py3-none-any.whl
(11.9 kB
view details)
File details
Details for the file unibox-0.2.3.tar.gz
.
File metadata
- Download URL: unibox-0.2.3.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 | 83d3ac4e2b245d30db44e5f3fab84981fbfb1ed2d9f308be2f6b3c657e2d4855 |
|
MD5 | bbaad810fe40a261bf55a41eabb1331a |
|
BLAKE2b-256 | dc2af1eb5749815a3ec45f5e9659728596be000ec30b92135d12e47e65bc88bd |
File details
Details for the file unibox-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: unibox-0.2.3-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 | 7cff6910360c335321dba6551a5abec8ea8c76716b94207bcd3e77e5c3660815 |
|
MD5 | a0a3fe58fe75615f67cf7947e9850153 |
|
BLAKE2b-256 | a24879f41d8024f12d8584b916bf9c5911a84caa7b8fdf98caebac1c28c4744e |