CLI version of the pymediainfo package
Project description
PyMediaInfo CLI
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pymediainfo_cli-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58a97dab4c72e1231d867c6f3e8f230387c284f41bbd7abfe6efc3e3ad74cb2c |
|
MD5 | d4cacb0e80dd4c0665aa130e7c33c4a6 |
|
BLAKE2b-256 | f72fb951d293aaf5c65402b4dc01664bb8932254e98c8b82d424195db107495b |