# dizqueTV-python
[![PyPi](https://img.shields.io/pypi/dm/dizquetv?color=green&label=PyPi%20downloads&logo=Pypi&logoColor=orange&style=flat-square)](https://pypi.org/project/dizqueTV/)
[![Python support](https://img.shields.io/pypi/pyversions/dizquetv?color=purple&label=Python%20support&logo=python&logoColor=yellow&style=flat-square)]()
[![License](https://img.shields.io/pypi/l/dizquetv?color=orange&style=flat-square)](https://github.com/nwithan8/dizqueTV-python/blob/master/LICENSE)
[![Open Issues](https://img.shields.io/github/issues-raw/nwithan8/dizqueTV-python?color=gold&style=flat-square)](https://github.com/nwithan8/dizqueTV-python/issues?q=is%3Aopen+is%3Aissue)
[![Closed Issues](https://img.shields.io/github/issues-closed-raw/nwithan8/dizqueTV-python?color=black&style=flat-square)](https://github.com/nwithan8/dizqueTV-python/issues?q=is%3Aissue+is%3Aclosed)
[![Activity](https://img.shields.io/github/commit-activity/m/nwithan8/dizqueTV-python?color=red&style=flat-square)]()
[![Latest Release](https://img.shields.io/github/v/release/nwithan8/dizqueTV-python?color=red&label=latest%20release&logo=github&style=flat-square)](https://github.com/nwithan8/dizqueTV-python/releases)
[![Docs](https://img.shields.io/readthedocs/dizquetv?style=flat-square)](http://dizquetv.readthedocs.io/)
[![Discord](https://img.shields.io/discord/472537215457689601?color=blue&logo=discord&style=flat-square)](https://discord.gg/7jGbCJQ)
[![Twitter](https://img.shields.io/twitter/follow/nwithan8?label=%40nwithan8&logo=twitter&style=flat-square)](https://twitter.com/nwithan8)
A Python library to interact with a [dizqueTV](https://github.com/vexorian/dizquetv) instance
## Installation
#### From GitHub
1. Clone repository with ``git clone https://github.com/nwithan8/dizqueTV-python.git``
2. Enter project folder with ``cd dizqueTV-python``
3. Install requirements with ``pip install -r requirements.txt``
#### From PyPi
Run ``pip install dizqueTV``
## Setup
Import the ``API`` class from the ``dizqueTV`` module
Ex.
```
from dizqueTV import API
dtv = API(url="http://localhost:8000")
```
Enable verbose logging by passing ``verbose=True`` into the ``API`` object declaration
## Usage
Documentation available on [ReadTheDocs](https://dizquetv.readthedocs.io/en/latest/)
### Exceptions
- ``MissingSettingsError``: The kwargs you have provided to create a new object (ex. ``Channel`` or ``PlexServer``) are incomplete
- ``MissingParametersError``: You did not provide a required parameter in your function call (ex. provide a PlexAPI Server when adding PlexAPI Video to a channel)
- ``NotRemoteObjectError``: The object you are calling this method on is a locally-created object that does not exist on the dizqueTV server
- ``ChannelCreationError``: An error occurred when creating a Channel object
## Contact
Please leave a pull request if you would like to contribute.
Join the dizqueTV Discord server (link on [project page](https://github.com/vexorian/dizquetv)). My Discord username is **nwithan8#8438**
Follow me on Twitter: [@nwithan8](https://twitter.com/nwithan8)
Also feel free to check out my other projects here on [GitHub](https://github.com/nwithan8) or join the #developer channel in my Discord server below.
<div align="center">
<p>
<a href="https://discord.gg/ygRDVE9"><img src="https://discordapp.com/api/guilds/472537215457689601/widget.png?style=banner2" alt="" /></a>
</p>
</div>
Raw data
{
"_id": null,
"home_page": "https://github.com/nwithan8/dizqueTV-python",
"name": "dizqueTV",
"maintainer": null,
"docs_url": null,
"requires_python": "<4,>=3.10",
"maintainer_email": null,
"keywords": "dizqueTV, Plex, Jellyfin, Emby, media, API, server, interaction, TV, television, streaming",
"author": "Nate Harris",
"author_email": "n8gr8gbln@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/f5/f6/8c68314139418f543f78a80b16406cfc37c991f1de5f07c2d74a5d23de7e/dizquetv-2.0.0.153.tar.gz",
"platform": null,
"description": "# dizqueTV-python\n[![PyPi](https://img.shields.io/pypi/dm/dizquetv?color=green&label=PyPi%20downloads&logo=Pypi&logoColor=orange&style=flat-square)](https://pypi.org/project/dizqueTV/)\n[![Python support](https://img.shields.io/pypi/pyversions/dizquetv?color=purple&label=Python%20support&logo=python&logoColor=yellow&style=flat-square)]()\n[![License](https://img.shields.io/pypi/l/dizquetv?color=orange&style=flat-square)](https://github.com/nwithan8/dizqueTV-python/blob/master/LICENSE)\n\n[![Open Issues](https://img.shields.io/github/issues-raw/nwithan8/dizqueTV-python?color=gold&style=flat-square)](https://github.com/nwithan8/dizqueTV-python/issues?q=is%3Aopen+is%3Aissue)\n[![Closed Issues](https://img.shields.io/github/issues-closed-raw/nwithan8/dizqueTV-python?color=black&style=flat-square)](https://github.com/nwithan8/dizqueTV-python/issues?q=is%3Aissue+is%3Aclosed)\n[![Activity](https://img.shields.io/github/commit-activity/m/nwithan8/dizqueTV-python?color=red&style=flat-square)]()\n\n[![Latest Release](https://img.shields.io/github/v/release/nwithan8/dizqueTV-python?color=red&label=latest%20release&logo=github&style=flat-square)](https://github.com/nwithan8/dizqueTV-python/releases)\n[![Docs](https://img.shields.io/readthedocs/dizquetv?style=flat-square)](http://dizquetv.readthedocs.io/)\n\n[![Discord](https://img.shields.io/discord/472537215457689601?color=blue&logo=discord&style=flat-square)](https://discord.gg/7jGbCJQ)\n[![Twitter](https://img.shields.io/twitter/follow/nwithan8?label=%40nwithan8&logo=twitter&style=flat-square)](https://twitter.com/nwithan8)\n\nA Python library to interact with a [dizqueTV](https://github.com/vexorian/dizquetv) instance\n\n## Installation\n#### From GitHub\n1. Clone repository with ``git clone https://github.com/nwithan8/dizqueTV-python.git``\n2. Enter project folder with ``cd dizqueTV-python``\n3. Install requirements with ``pip install -r requirements.txt``\n\n#### From PyPi\nRun ``pip install dizqueTV``\n\n## Setup\nImport the ``API`` class from the ``dizqueTV`` module\n\nEx.\n```\nfrom dizqueTV import API\n\ndtv = API(url=\"http://localhost:8000\")\n```\nEnable verbose logging by passing ``verbose=True`` into the ``API`` object declaration\n\n\n## Usage\n\nDocumentation available on [ReadTheDocs](https://dizquetv.readthedocs.io/en/latest/)\n\n### Exceptions\n- ``MissingSettingsError``: The kwargs you have provided to create a new object (ex. ``Channel`` or ``PlexServer``) are incomplete\n- ``MissingParametersError``: You did not provide a required parameter in your function call (ex. provide a PlexAPI Server when adding PlexAPI Video to a channel)\n- ``NotRemoteObjectError``: The object you are calling this method on is a locally-created object that does not exist on the dizqueTV server\n- ``ChannelCreationError``: An error occurred when creating a Channel object\n\n## Contact\nPlease leave a pull request if you would like to contribute.\n\nJoin the dizqueTV Discord server (link on [project page](https://github.com/vexorian/dizquetv)). My Discord username is **nwithan8#8438**\n\nFollow me on Twitter: [@nwithan8](https://twitter.com/nwithan8)\n\nAlso feel free to check out my other projects here on [GitHub](https://github.com/nwithan8) or join the #developer channel in my Discord server below.\n\n<div align=\"center\">\n\t<p>\n\t\t<a href=\"https://discord.gg/ygRDVE9\"><img src=\"https://discordapp.com/api/guilds/472537215457689601/widget.png?style=banner2\" alt=\"\" /></a>\n\t</p>\n</div>\n",
"bugtrack_url": null,
"license": "GNU General Public License v3 (GPLv3)",
"summary": "Interact with a dizqueTV instance's API",
"version": "2.0.0.153",
"project_urls": {
"Download": "https://github.com/nwithan8/dizqueTV-python/archive/refs/tags/2.0.0.153.tar.gz",
"Homepage": "https://github.com/nwithan8/dizqueTV-python"
},
"split_keywords": [
"dizquetv",
" plex",
" jellyfin",
" emby",
" media",
" api",
" server",
" interaction",
" tv",
" television",
" streaming"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bcdb7ea3e1ddad65a87c1ff71b58139059a548b3416f21ba1d93cf9a9ec0e7c7",
"md5": "1b503a8f6642d3c80f786bf731f78941",
"sha256": "cb917ac14a551c42f6431bcc8a680d69748dc2bec33767a538935af7886bd941"
},
"downloads": -1,
"filename": "dizqueTV-2.0.0.153-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1b503a8f6642d3c80f786bf731f78941",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.10",
"size": 64125,
"upload_time": "2024-11-01T00:31:44",
"upload_time_iso_8601": "2024-11-01T00:31:44.931309Z",
"url": "https://files.pythonhosted.org/packages/bc/db/7ea3e1ddad65a87c1ff71b58139059a548b3416f21ba1d93cf9a9ec0e7c7/dizqueTV-2.0.0.153-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f5f68c68314139418f543f78a80b16406cfc37c991f1de5f07c2d74a5d23de7e",
"md5": "ca17bf0c5a730fcbe4f0f64532ee1974",
"sha256": "1a1b53ebb8cbde4f236ddcb6cd9a43533f11408cb82ff77e580049a2a3b6b910"
},
"downloads": -1,
"filename": "dizquetv-2.0.0.153.tar.gz",
"has_sig": false,
"md5_digest": "ca17bf0c5a730fcbe4f0f64532ee1974",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.10",
"size": 60549,
"upload_time": "2024-11-01T00:31:47",
"upload_time_iso_8601": "2024-11-01T00:31:47.141379Z",
"url": "https://files.pythonhosted.org/packages/f5/f6/8c68314139418f543f78a80b16406cfc37c991f1de5f07c2d74a5d23de7e/dizquetv-2.0.0.153.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-01 00:31:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "nwithan8",
"github_project": "dizqueTV-python",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "m3u8",
"specs": [
[
"==",
"3.*"
]
]
},
{
"name": "PlexAPI",
"specs": [
[
"==",
"4.*"
]
]
},
{
"name": "numpy",
"specs": [
[
"==",
"1.*"
]
]
},
{
"name": "objectrest",
"specs": [
[
"==",
"1.*"
]
]
}
],
"lcname": "dizquetv"
}