Skip to main content

CLI version of the pymediainfo package

Project description

PyMediaInfo CLI

Python 3.11 Code style: black

This is a command-line interface (CLI) for the PyMediaInfo library, which provides a way to extract metadata from media files.

Installation

You can install this CLI using pip:

pip install pymediainfo-cli

Usage

You can use this CLI by running the pymediainfo command followed by the path to a media file:

pymediainfo path/to/media/fil

This will print the metadata for the media file in a human-readable format.

You can also specify various options to control the output. For example, you can use the --json option to output the metadata in JSON format:

pymediainfo --json path/to/media/file

Testing

You can run the unit tests for this CLI using the unittest module:

python3 run pytest tests/test.py

Replace test with the name of your test file.

Contributing

Contributions are welcome! Please feel free to submit a pull request.

License

This project is licensed under the MIT License.

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

pymediainfo_cli-0.1.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

pymediainfo_cli-0.1.0-py3-none-any.whl (4.7 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