lite_media_core
A streamlined Python framework for developers to validate, control, and inspect media workflows.
Documentation: https://rdelillo.github.io/lite_media_core/
✨ What is lite_media_core?
lite_media_core is a minimalist, developer-focused Python framework for handling media operations simply and intuitively. Designed to be lightweight, easy to integrate, and powerful enough for real-world workflows.
Whether you're building media automation tools, integrating transcoding features, or scripting quick metadata checkers, lite_media_core helps you get there faster with less friction.
🌟 Features
- Clean and intuitive API: Handles image, image sequence, video, audio... Get started in seconds
- Powered by MediaInfo: Delivers accurate, detailed metadata across formats
- Plug-and-play utilities: Built-in helpers for timecode, resolution, and frame rate settings
- Cross-platform: Windows, macOS, Linux
- Tested and linted
Practical Use Cases
lite_media_core helps automate key media validation tasks across ingest, quality control, and delivery workflows.
- ✅ Validate media against client specs: Check resolution, frame rate, codec, pixel format, and embedded timecode.
- 🎞️ Detect issues in image sequences: Find missing frames or inconsistent resolutions before ingest or export.
- 🎬 Inspect QuickTime files: Verify color range settings (video vs full) or codec compatibility for web or broadcast delivery.
⚡ Quick Start
pip install lite_media_core
Inspect an image sequence:
from lite_media_core import ImageSequence
# Load a media using lite_media_core
media = ImageSequence("/path/to/sequence.1001-1005.exr")
# Read sequence properties if it exists.
if media.exists:
# Print basic media properties
print(f"Loaded media: {media.path}")
print(f"Resolution: {media.resolution}")
print(f"Frame range: {media.frame_range}")
# (Optional) Full metadata
print("Full metadata:")
print(media.metadata)
💡 Roadmap
- Support media from URL via embedded features
- Automated batch media workflows
- Lightweight CLI or API utilities
🎁 Credits
This project builds on powerful open-source tools:
MediaInfo: cross-platform media metadata enginepymediainfo: python bindings to MediaInfofileseq: image sequence handling with frame paddingtimecode: precise and robust timecode utilities
💻 For Developers
Clone and install in dev mode:
git clone https://github.com/rdelillo/lite_media_core.git
cd lite_media_core
pip install -e .
Run tests:
pip install -e .[testing]
pytest
Run linter:
pip install -e .[lint]
ruff check .
Metadata
Release files for lite-media-core 0.1.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 | Actions |
|---|---|---|---|---|
| lite_media_core-0.1.3.tar.gz | 69.6 MB | Without provenance | Details for lite_media_core-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lite_media_core-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for lite_media_core-0.1.3-py3-none-any.whl |
Total release size: 81.2 MB
Release files / lite_media_core-0.1.3.tar.gz
| Download URL | lite_media_core-0.1.3.tar.gz |
|---|---|
| Size | 69.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b73ea42ed79d84b1ef6e45a55c96477d48ecac116a5c3dfb831760f533f4ed8
|
|
BLAKE2b-256 checksum How to use checksums |
1ca1adf7ebd1ad74dc21f1746f5966d0523fa66d6fe4be7c3991db916b0fb2d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.12
|
Release files / lite_media_core-0.1.3-py3-none-any.whl
| Download URL | lite_media_core-0.1.3-py3-none-any.whl |
|---|---|
| Size | 11.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d13565f163bffb4575fe779e2cf12564743dcc054e0f8937c4dbef08b85fe48
|
|
BLAKE2b-256 checksum How to use checksums |
9f8cba502b63a12ccd0a942bd58985ff69d2f1e33fbc8189a667f442fdbe5962
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.12
|
Security for lite-media-core 0.1.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.