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

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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