How do I install the new Python bindings API?

Post Reply
lindsayward
Junior
Posts: 55
Joined: Sat May 31, 2014 4:58 am
Australia

How do I install the new Python bindings API?

Post by lindsayward » Tue Feb 26, 2019 7:43 am

Hi Bill @bill6502 (or others)

I see that the Python API at https://github.com/billmeek/MythTVServicesAPI has been deprecated in favour of:
https://github.com/MythTV/mythtv/tree/m ... rvices_api
but I don't see any information on how to install it.
I want to use it on a machine that doesn't have MythTV installed (for Home Assistant and https://github.com/calmor15014/HA-Compo ... v-frontend).
In the past, I could run something like `pip install https://raw.githubusercontent.com/billm ... ne-any.whl`

Can you please let me know how we can use the new location of the API code?
Thanks!

User avatar
bill6502
Developer
Posts: 1730
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: How do I install the new Python bindings API?

Post by bill6502 » Wed Feb 27, 2019 4:51 pm

Hey Lindsay,

The github version won't go away soon, just won't get updates (since v30.0 just
got released.)

I haven't found a way to use pip to install from the files, even though the man page
implies that works. Everything I tried depended on .whl or .zip or git.

lindsayward
Junior
Posts: 55
Joined: Sat May 31, 2014 4:58 am
Australia

Re: How do I install the new Python bindings API?

Post by lindsayward » Sat Jun 06, 2020 7:19 am

Hi Bill. Long time since this last message.
Jim and I would like to move the MythTV platform for Home Assistant forward to make it a standard included platform, which requires the services API to be installable from PyPI.
I know we talked about this in the past and you didn't want to maintain it, but I'm happy to do this... if that's OK with you.
So:
1. Are you happy for me to upload the package to PyPI?
2. Is there anything I should know (changes that should/will be made, or anything) before I do this?

Thanks!

User avatar
bill6502
Developer
Posts: 1730
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: How do I install the new Python bindings API?

Post by bill6502 » Sun Jun 07, 2020 1:27 pm

Hey Lindsay,

I commented on the PR.

Post Reply