naemon / naemon-livestatus

Naemon - Livestatus Eventbroker Module
GNU General Public License v2.0
26 stars 30 forks source link

Port Python 2 API to Python 3 #94

Closed sjoegren closed 2 years ago

sjoegren commented 2 years ago

Copy livestatus Python API from api/python to api/python3 and make necessary changes to run under Python 3 (somewhat tested on 3.6).

The original GPL'ed sources are from commit e06cefeaaa619e260adb5bcceb82d04e19780e35.

Signed-off-by: Aksel Sjögren asjogren@itrsgroup.com

sjoegren commented 2 years ago

Seems fine to me. Would be nice if we could have one version that supports both python2&3 but perhaps that's not worth the effort?

I messed around a bit and created one such version that works with 2/3. I'll update the PR..

jacobbaungard commented 2 years ago

Nice, looks good!