lizardbyte / plexhints Goto Github PK
View Code? Open in Web Editor NEWPython type hinting library for Plex plugin development.
Home Page: https://plexhints.readthedocs.io/
License: GNU Affero General Public License v3.0
Python type hinting library for Plex plugin development.
Home Page: https://plexhints.readthedocs.io/
License: GNU Affero General Public License v3.0
Having a fake Plex framework library will aid in plugin/agent development. It can be used for RetroArcher and other Plex plugins.
This will allow IDE's to show type hints, show documentation on specific methods, allow code completion, and in general yell at the user when they use something unsupported by the framework.
Some of the methods may function similarly to the Plex framework, while others may just be placeholders.
Items to implement:
Note: the check marks indicates the items are implemented in my local repository, but not available in this repo yet.
Let's add sphinx documentation and publish to readthedocs. This could be an opportunity to revive the Plex third party plugin development, even if just for metadata agents and daemon plugins (obviously client plugin's are basically dead... unless people start developing third party plex clients again)
P.S. If any smart people are reading this... an open source Python based Plex client using Kivy would be amazing. Kivy would bring easy deployment to Windows, Mac, Linux, Android, and iOS for starters.
There is no reason to keep Python 3.x support for the python module. Let's drop it and save valuable CI/CD execution.
No response
No response
When using pip3 install -U plexhints
to install this package, it fails like the following:
# pip3 install -U plexhints
Collecting plexhints
Downloading plexhints-2023.1201.11810.tar.gz (42 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.2/42.2 kB 222.8 kB/s eta 0:00:00
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
/tmp/pip-install-yejfnpzx/plexhints_6b2b938446204f7a98ce14d87c3f0862/setup.py:7: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import parse_requirements
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-yejfnpzx/plexhints_6b2b938446204f7a98ce14d87c3f0862/setup.py", line 32, in <module>
with open(readme_file) as handle:
^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'docs/source/about/installation.rst'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
This situation exists on both Linux and macOS platforms with Python 2 or 3, but manual installation via setup.py
works.
No response
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.