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!
How do I install the new Python bindings API?
-
- Junior
- Posts: 55
- Joined: Sat May 31, 2014 4:58 am
Re: How do I install the new Python bindings API?
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.
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.
-
- Junior
- Posts: 55
- Joined: Sat May 31, 2014 4:58 am
Re: How do I install the new Python bindings API?
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!
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!
Re: How do I install the new Python bindings API?
Hey Lindsay,
I commented on the PR.
I commented on the PR.
Re: How do I install the new Python bindings API?
It was tricky to get all the right dependencies, but the github repo comes with an install py script you can run. You will need mariadb-client, if memory serves me
Re: How do I install the new Python bindings API?
The API id DB agnostic. It accesses the DB through the backend (or frontend) which do the DB work as required. I run my systems using MySQL.