Fokka-Engineering / pyopenTIDAL

Lightweight libopenTIDAL python wrapper
MIT License
2 stars 0 forks source link

Packaging pyopenTIDAL #1

Open tehkillerbee opened 2 years ago

tehkillerbee commented 2 years ago

Hello,

I would like to use pyopenTIDAL for the mopidy-tidal plugin I am maintaining. The tidalapi python project that I have been using up to this point appears to be abandoned. Your project looks like a good alternative.

Are you planning on packaging pyopenTIDAL or adding it to PyPi for easy install?

hmelder commented 2 years ago

Hi Johannes,

pyopenTIDAL uses the C-based library libopenTIDAL under the hood and uses FFI to wrap it. I could build a precompiled PyPi wheel for all major architectures or rewrite everything.

I am actually considering to rewrite the whole library in pure python with pycurl. The persistent storage implementation is then dropped in favour of a simpler interface. I think this is better for mopidy aswell.

tehkillerbee commented 2 years ago

@hmelder Sorry for the late reply. After a lot of activity on the mopidy-tidal plugin these last few weeks, I was revisiting the idea of changing from tidalapi to pyopenTIDAL.

Rewriting libopenTIDAL in pure python sounds like a good idea too. I assume you would keep the pyopenTIDAL wrapper functions largely unchanged, just replacing the libopenTIDAL function calls with curl?

hmelder commented 2 years ago

Exactly.