-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 e06cefe. Signed-off-by: Aksel Sjögren <asjogren@itrsgroup.com>
- Loading branch information
Showing
5 changed files
with
661 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
This Python package is a Python 3 port of the Python 2 `livestatus` package. | ||
See [../python/README](../python/README). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from .livestatus import ( | ||
SingleSiteConnection, | ||
MultiSiteConnection, | ||
MKLivestatusException, | ||
MKLivestatusSocketError, | ||
MKLivestatusSocketClosed, | ||
MKLivestatusQueryError, | ||
MKLivestatusNotFoundError, | ||
) | ||
|
||
__all__ = [ | ||
"SingleSiteConnection", | ||
"MultiSiteConnection", | ||
"MKLivestatusException", | ||
"MKLivestatusSocketError", | ||
"MKLivestatusSocketClosed", | ||
"MKLivestatusQueryError", | ||
"MKLivestatusNotFoundError", | ||
] |
Oops, something went wrong.