Skip to content
 
 

Repository files navigation

katportalclient

Doc Status PyPI Version Python Versions

A client for simple access to katportal, via websocket and HTTP connections. The HTTP methods allow once-off requests, like the current list of schedule blocks. For continuous updates, use the Pub/Sub methods, which work over a websocket.

Dependencies

Details can be found in setup.py but basically it is only:

  • katversion
  • tornado is used as the web framework and for its asynchronous functionality.

Note: setup.py depends on katversion, so make sure that is installed before installing the package.

Unit tests

Run the unit tests with:

.venv/bin/python -m pytest katportalclient/test/test_client.py

Install

pip install katportalclient

Example usage

See the examples folder for code that demonstrates some usage scenarios.

About

Websocket client for use with katportal PubSub

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages