-
Notifications
You must be signed in to change notification settings - Fork 219
Description
Hi there,
I'm the author and maintainer of pyads – a Python wrapper around adslib that gained some popularity. It uses ctypes to call into the library. It's basically the glue between the Python world and the ADS protocol.
Currently, pyads relies on a fork of adslib that I have to maintain separately, which is becoming a bit of a burden to keep in sync with upstream. So I had an idea that might make things cleaner for both sides:
What if adslib was integrated directly from upstream into pyads?
The required changes on the adslib side would be manageable:
- Wrapping the relevant functions in extern "C" { ... } to prevent C++ name mangling – this is a hard requirement for ctypes to be able to resolve and call the exported functions
- Building adslib as a shared library (.so ) in addition to the existing static library
That way pyads could link against a proper upstream build instead of carrying around its own patched copy – and every update to adslib would just flow through automatically. No more fork drift.
Happy to discuss and help with the implementation if there is interest.