Media Library Reader
The medialibrary module is a Python module for reading files containing entertainment media
data adhering to the vtmedia schema; which is an XML schema that records details on movies
and other works of art.
$ python -m media.tools.movies.list --sort runtime --random 5 --stats --mediapath ~/xml/movies
Title Year Runtime Genre
================================================== ==== ======== ==================================================
Total Excess: How Carolco Changed Hollywood 2020 0:59:00 [NONFICTION] Documentary "Hollywood Tell-All"
The Big Easy 1986 1:40:29 [FICTION] Drama/Comedy/Crime "Murder Investigation"
Klute 1971 1:54:10 [FICTION] Mystery/Thriller "Witness Protection"
Air Force One 1997 2:04:36 [FICTION] Action/Thriller "President Plane Thriller"
The Hot Spot 1990 2:10:21 [FICTION] Drama/Thriller/Romance "Con Artist Scheming"
================================================== ==== ======== ==================================================
Movie count : 545
Sample size : 5 ( 0.92%)
The following repositories contain the XMLSchema definition and a sample dataset for testing the code.
| Repository | Purpose |
|---|---|
| vtmedia-schema | Schema and XML validation for media data |
| mediadata | A large dataset of sample media/movie data |
Neither of these are required for module operation, but they both contain sample data and documentation on how to build your own files.
Package Distribution
Installing
Installation of the module wheel file.
$ python -m pip install --user medialibrary
Quick Start
Once you have the software installed, and you have a repository (either your own, or something you downloaded), you can immediately start using the software.
$ export MEDIAPATH=~/xml/mediafiles
$ python -m media.tools.movies.list
Building
See the BUILDING.md file in the source code distribution.
Metadata
Release files for medialibrary 0.3.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 |
|---|---|---|---|---|
| medialibrary-0.3.3.tar.gz | 81.5 kB | Without provenance | Details for medialibrary-0.3.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| medialibrary-0.3.3-py3-none-any.whl | Python 3 | none | any | Details for medialibrary-0.3.3-py3-none-any.whl |
Total release size: 310.0 kB
Release files / medialibrary-0.3.3.tar.gz
| Download URL | medialibrary-0.3.3.tar.gz |
|---|---|
| Size | 81.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4b9316d49b39fd453c89d6fde872bb6a98aa6d7f648c8dc09b7b94f40983f76
|
|
BLAKE2b-256 checksum How to use checksums |
16d586a6059c95234c4d03b39a66f6145a17d8dc5d8bf2a759af9f6169d938f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / medialibrary-0.3.3-py3-none-any.whl
| Download URL | medialibrary-0.3.3-py3-none-any.whl |
|---|---|
| Size | 228.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2527f5d5115d9b4282e8f267a14e5e0d88b3883f3dfcb2069a79812bbcd8b5a
|
|
BLAKE2b-256 checksum How to use checksums |
bb98a5ec04082b6a7681c390355876672165cca67665e0ffaeb44f487d3b706d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for medialibrary 0.3.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.