medialibrary


Namemedialibrary JSON
Version 0.2.5 PyPI version JSON
download
home_pageNone
SummaryPackage for reading vtmedia XML files describing a movie/music media library
upload_time2024-09-08 17:29:19
maintainerNone
docs_urlNone
authorNone
requires_python>3.8
licenseMIT 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

[![PyPi version](https://img.shields.io/pypi/v/medialibrary)](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/96/d4/7e7f9329f0d55a2e27e23abac2902233b6062e35cc5f434b8c16614592e4/medialibrary-0.2.5.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[![PyPi version](https://img.shields.io/pypi/v/medialibrary)](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.5",
    "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": "",
            "digests": {
                "blake2b_256": "76f5ab06ebb721ed7b9a7ada049167b83823689f0af6c29f1cb60bccd6cace9d",
                "md5": "ebe6955b3aeac86a7d70b598d2276cd6",
                "sha256": "8c854e2167297ab9c879e8e408fbfddd23a7e3c0556cbb452792a1fc27c1970e"
            },
            "downloads": -1,
            "filename": "medialibrary-0.2.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ebe6955b3aeac86a7d70b598d2276cd6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">3.8",
            "size": 177631,
            "upload_time": "2024-09-08T17:29:17",
            "upload_time_iso_8601": "2024-09-08T17:29:17.851639Z",
            "url": "https://files.pythonhosted.org/packages/76/f5/ab06ebb721ed7b9a7ada049167b83823689f0af6c29f1cb60bccd6cace9d/medialibrary-0.2.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "96d47e7f9329f0d55a2e27e23abac2902233b6062e35cc5f434b8c16614592e4",
                "md5": "fdf8bc65ce705a744821072dcff63209",
                "sha256": "02bcb6318b58856c13e7a0b27b11f5b45ab4d1cc665db7e4d81012a9d99e3ecb"
            },
            "downloads": -1,
            "filename": "medialibrary-0.2.5.tar.gz",
            "has_sig": false,
            "md5_digest": "fdf8bc65ce705a744821072dcff63209",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">3.8",
            "size": 65653,
            "upload_time": "2024-09-08T17:29:19",
            "upload_time_iso_8601": "2024-09-08T17:29:19.301401Z",
            "url": "https://files.pythonhosted.org/packages/96/d4/7e7f9329f0d55a2e27e23abac2902233b6062e35cc5f434b8c16614592e4/medialibrary-0.2.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-08 17:29:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "cjcodeproj",
    "github_project": "medialibrary",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "medialibrary"
}
        
Elapsed time: 4.43261s