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
Metadata
Release files for media-mgmt-cli 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| media-mgmt-cli-0.3.3.tar.gz | 21.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| media_mgmt_cli-0.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.8 kB
Release files / media-mgmt-cli-0.3.3.tar.gz
| Download URL | media-mgmt-cli-0.3.3.tar.gz |
|---|---|
| Size | 21.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3063c99f920ece2f40dcbd40cab43a25ca5ddb13c8a3fbc9f2536d1a07decb1
|
|
BLAKE2b-256 checksum How to use checksums |
4761fc7df6b4239f9ebef1b976cc66e562e5b049500e448d0fd7b9019ff409d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / media_mgmt_cli-0.3.3-py3-none-any.whl
| Download URL | media_mgmt_cli-0.3.3-py3-none-any.whl |
|---|---|
| Size | 22.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8254e9cc76aca0e1d8a17baada4c382e923c7c4f22e7291882e282fe5adc48e9
|
|
BLAKE2b-256 checksum How to use checksums |
f305d11db370db3644405e74457b9776ddde8b75f8c0b5154957b2925e2954cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Security for media-mgmt-cli 0.3.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.