Name | medialibrary JSON |
Version |
0.2.9
JSON |
| download |
home_page | None |
Summary | Package for reading vtmedia XML files describing a movie/music media library |
upload_time | 2025-08-04 00:23:02 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >3.8 |
license | MIT License |
keywords |
xml
movies
dvds
music
cds
albums
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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](https://github.com/cjcodeproj/vtmedia-schema) | Schema and XML validation for media data |
| [mediadata](https://github.com/cjcodeproj/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
[](https://pypi.org/project/medialibrary/)
## 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.
Raw data
{
"_id": null,
"home_page": null,
"name": "medialibrary",
"maintainer": null,
"docs_url": null,
"requires_python": ">3.8",
"maintainer_email": null,
"keywords": "xml, movies, dvds, music, cds, albums",
"author": null,
"author_email": "Chris J <cjcodeproj@fastmail.com>",
"download_url": "https://files.pythonhosted.org/packages/82/1a/29415493c8f286e1201c55350408c94a8699b1113d358adf195a1d7f5df9/medialibrary-0.2.9.tar.gz",
"platform": null,
"description": "# Media Library Reader\n\nThe `medialibrary` module is a Python module for reading files containing entertainment media\ndata adhering to the vtmedia schema; which is an XML schema that records details on movies\nand other works of art.\n\n```\n$ python -m media.tools.movies.list --sort runtime --random 5 --stats --mediapath ~/xml/movies\nTitle Year Runtime Genre \n================================================== ==== ======== ==================================================\nTotal Excess: How Carolco Changed Hollywood 2020 0:59:00 [NONFICTION] Documentary \"Hollywood Tell-All\" \nThe Big Easy 1986 1:40:29 [FICTION] Drama/Comedy/Crime \"Murder Investigation\"\nKlute 1971 1:54:10 [FICTION] Mystery/Thriller \"Witness Protection\" \nAir Force One 1997 2:04:36 [FICTION] Action/Thriller \"President Plane Thriller\"\nThe Hot Spot 1990 2:10:21 [FICTION] Drama/Thriller/Romance \"Con Artist Scheming\"\n================================================== ==== ======== ==================================================\n Movie count : 545\n Sample size : 5 ( 0.92%)\n```\n\nThe following repositories contain the XMLSchema definition and a sample dataset for testing the\ncode.\n\n\n| Repository | Purpose |\n| --- | --- |\n| [vtmedia-schema](https://github.com/cjcodeproj/vtmedia-schema) | Schema and XML validation for media data |\n| [mediadata](https://github.com/cjcodeproj/mediadata) | A large dataset of sample media/movie data |\n\n\nNeither of these are required for module operation, but they both contain sample data and documentation on\nhow to build your own files.\n\n\n## Package Distribution\n\n[](https://pypi.org/project/medialibrary/)\n\n## Installing\n\nInstallation of the module wheel file.\n\n```\n$ python -m pip install --user medialibrary\n```\n\n### Quick Start\n\nOnce you have the software installed, and you have a repository (either your own, or something you downloaded), you can\nimmediately start using the software.\n\n```\n$ export MEDIAPATH=~/xml/mediafiles\n$ python -m media.tools.movies.list\n```\n\n\n## Building\n\nSee the BUILDING.md file in the source code distribution.\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Package for reading vtmedia XML files describing a movie/music media library",
"version": "0.2.9",
"project_urls": {
"bug tracker": "https://github.com/cjcodeproj/medialibrary/issues",
"changelog": "https://github.com/cjcodeproj/medialibrary/blob/main/CHANGELOG.md",
"homepage": "https://github.com/cjcodeproj/medialibrary",
"repository": "https://github.com/cjcodeproj/medialibrary"
},
"split_keywords": [
"xml",
" movies",
" dvds",
" music",
" cds",
" albums"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "45cf5b940b26426847ee11545e0158dfcad5c71771ed1cbb9be3c4e34aadeb16",
"md5": "2545a920208ab339c105458c19346e00",
"sha256": "1262e47e8d4eaaefe9618af70c8542b0de344a304156ff34a177d27c2da2e45a"
},
"downloads": -1,
"filename": "medialibrary-0.2.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2545a920208ab339c105458c19346e00",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">3.8",
"size": 203104,
"upload_time": "2025-08-04T00:23:01",
"upload_time_iso_8601": "2025-08-04T00:23:01.385799Z",
"url": "https://files.pythonhosted.org/packages/45/cf/5b940b26426847ee11545e0158dfcad5c71771ed1cbb9be3c4e34aadeb16/medialibrary-0.2.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "821a29415493c8f286e1201c55350408c94a8699b1113d358adf195a1d7f5df9",
"md5": "f114588d335e334c571c93c5afa9b099",
"sha256": "b012175b52dc348c62043861dfbf8e8e5416c41948a7bad753b2f22650c0dcad"
},
"downloads": -1,
"filename": "medialibrary-0.2.9.tar.gz",
"has_sig": false,
"md5_digest": "f114588d335e334c571c93c5afa9b099",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">3.8",
"size": 71612,
"upload_time": "2025-08-04T00:23:02",
"upload_time_iso_8601": "2025-08-04T00:23:02.665545Z",
"url": "https://files.pythonhosted.org/packages/82/1a/29415493c8f286e1201c55350408c94a8699b1113d358adf195a1d7f5df9/medialibrary-0.2.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-04 00:23:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "cjcodeproj",
"github_project": "medialibrary",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "medialibrary"
}