dizqueTV-1.5.0.9
توضیحات
Interact with a dizqueTV instance's API
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | dizqueTV-1.5.0.9 |
| نام | dizqueTV |
| نسخه کتابخانه | 1.5.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Nate Harris |
| ایمیل نویسنده | n8gr8gbln@gmail.com |
| آدرس صفحه اصلی | https://github.com/nwithan8/dizqueTV-python |
| آدرس اینترنتی | https://pypi.org/project/dizqueTV/ |
| مجوز | GNU General Public License v3 (GPLv3) |
# dizqueTV-python
[](https://pypi.org/project/dizqueTV/)
[]()
[](https://github.com/nwithan8/dizqueTV-python/blob/master/LICENSE)
[](https://github.com/nwithan8/dizqueTV-python/issues?q=is%3Aopen+is%3Aissue)
[](https://github.com/nwithan8/dizqueTV-python/issues?q=is%3Aissue+is%3Aclosed)
[]()
[](https://github.com/nwithan8/dizqueTV-python/releases)
[](http://dizquetv.readthedocs.io/)
[](https://discord.gg/7jGbCJQ)
[](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>
نیازمندی
| مقدار | نام |
|---|---|
| ==3.* | m3u8 |
| ==1.* | numpy |
| ==1.* | objectrest |
| ==4.* | PlexAPI |
| - | black |
| - | flake8 |
| - | isort |
| ==3.* | pytest-cov |
| ==7.* | pytest |
| - | types-requests |
| - | types-urllib3 |
| - | python-dotenv |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl dizqueTV-1.5.0.9:
pip install dizqueTV-1.5.0.9.whl
نصب پکیج tar.gz dizqueTV-1.5.0.9:
pip install dizqueTV-1.5.0.9.tar.gz