doubleo8 / enigma2_http_api Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
Any chance of making this library Python3 compatible? I'd like to try my hand at making an Enigma2 media player platform for Home Assistant.
Regards,
Michal
During installation:
This version of Requests requires at least Python 3.7, but you're trying to install it on Python 2.7.
...
If you can't upgrade your Python version, you'll need to pin to an older version of Requests (<2.28).
opendreambox 2.5
So can just update requirements.txt to lock to version <2.28.
Probably should check your other pytz dep as well.
Going to python3 for the system isn't trivial as python is a system dependency for debian based distros and updating the system python from 2 to 3 can break a lot of things with package management in the OS
get-pip.py url from your readme no longer supports python 2.7
I had to resort to apt-get install python-pip
because the get-pip.py
script from wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
errors with ImportError: No module named getpass
Apparently opendreambox also doesn't set LC_ALL env either which causes the pip install
to fail. So if you are updating the README you can also do this...
LC_ALL=C pip install enigma2_http_api
I'm not a dreambox pro, so maybe there is a newer image I should be flashing the dreambox with that will resolve some of these issues? I also see this repo hasn't updated since 2018. However the basic APIs defined in /usr/lib/enigma2/python/APIs/
are pretty limited (no timer management for instance), so I am hoping your package will allow me to make better use of the dreambox.
Thanks for a great API library that I have found very useful.
I'm looking forward to creating a component for Home Assistant using this library, but Python 3.6 compatibility is holding me back. Is there any chance that you could make this library Python3.6 compatible? A lot of the work can be done by just running 2to3 on it.
Thanks in advance regardless.
Hi,
The latest release available via pip is 0.3.5:
https://pypi.python.org/pypi/enigma2_http_api/
Is this intentional?
Thanks in advance.
Regards,
Michal
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.