A simple CLI to search and manage media assets in S3 and locally
Project description
Media MGMT CLI
Summary
A simple CLI to search and manage media asset locally and in S3
- PyPI project
- Based on cookiecutter template william-cass-wright/click-app
- Rewrite of original project william-cass-wright/media_mgmt_cli
Installing Media MGMT CLI and Supported Versions
mmgmt is available on PyPI:
python -m pip install media-mgmt-cli
Media MGMT CLI officially supports Python 3.8+.
Supported Features & Best–Practices
For help, run:
mmgmt --help
You can also use:
python -m media_mgmt_cli --help
Commands:
Usage: mmgmt [OPTIONS] COMMAND [ARGS]...
A simple CLI to search and manage media assets in S3 and locally. Setup with
`mmgmt configure`
Options:
--version Show the version and exit.
-h, --help Show this message and exit.
Commands:
configure print project configs & set configs manually
delete delete file from cloud storage - TODO -
download download object from cloud storage
get-status get object head from cloud storage
hello test endpoint
ls list files in location (local, s3, or global)
search search files in local directory and cloud storage
upload upload file to cloud storage
Development
To contribute to this tool, first checkout the code:
git clone https://github.com/will-wright-eng/media-mgmt-cli.git
cd media-mgmt-cli
Then create a new virtual environment:
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
Install pre-commit before submitting a PR:
brew install pre-commit
pre-commit install
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
media-mgmt-cli-0.3.3.tar.gz
(21.7 kB
view hashes)
Built Distribution
Close
Hashes for media_mgmt_cli-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8254e9cc76aca0e1d8a17baada4c382e923c7c4f22e7291882e282fe5adc48e9 |
|
MD5 | 125ebbedc78df54b13f9c4c26aed6721 |
|
BLAKE2b-256 | f305d11db370db3644405e74457b9776ddde8b75f8c0b5154957b2925e2954cc |