Skip to main content

A simple CLI to search and manage media assets in S3 and locally

Project description

Media MGMT CLI

PyPI Changelog Tests License Downloads Supported Versions Contributors Codeball

Summary

A simple CLI to search and manage media asset locally and in S3

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 details)

Uploaded Source

Built Distribution

media_mgmt_cli-0.3.3-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file media-mgmt-cli-0.3.3.tar.gz.

File metadata

  • Download URL: media-mgmt-cli-0.3.3.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for media-mgmt-cli-0.3.3.tar.gz
Algorithm Hash digest
SHA256 f3063c99f920ece2f40dcbd40cab43a25ca5ddb13c8a3fbc9f2536d1a07decb1
MD5 a8be7c57a113487c174fbb1cc991ea92
BLAKE2b-256 4761fc7df6b4239f9ebef1b976cc66e562e5b049500e448d0fd7b9019ff409d0

See more details on using hashes here.

File details

Details for the file media_mgmt_cli-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: media_mgmt_cli-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for media_mgmt_cli-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8254e9cc76aca0e1d8a17baada4c382e923c7c4f22e7291882e282fe5adc48e9
MD5 125ebbedc78df54b13f9c4c26aed6721
BLAKE2b-256 f305d11db370db3644405e74457b9776ddde8b75f8c0b5154957b2925e2954cc

See more details on using hashes here.

Supported by

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