Coder Social home page Coder Social logo

enigma2_http_api's People

Contributors

doubleo8 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

mihalski goeks1

enigma2_http_api's Issues

Python3 compatibility

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

Need to pin requests requirement if want to continue to support python 2.7 (ie opendreambox 2.5)

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

Related

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.

Python3.6 compatability

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.