Skip to content

kmzbrnoI/ac-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AC client library for Python

This repository contains Python 3 package ac, which is a library for using hJOPserver's AC API nicely.

See tests/basic.py or examples for examples of using.

Project structure

  • ac: main ac library
    • ac.py: AC class definition. You should subclass this class to create your own specific AC.
    • blocks.py: interface for Panel Server BLOCKS API: registering blocks for change events, processing change events.
    • events.py: decorators for global events (on_connect, on_disconnect, ...)
    • panel_client.pt, pt.py: Panel Server & PT server connection managers.
  • utils: higher-level abstract utils used mainly in examples, but can contain also other utils. Utils are indended for importing in other projects.
  • examples: examples of using ac library, not intended to import from other projects.
    • Use examples/template.py for creating your own AC.
  • test: tests of AC library.

Authors

This project was created by:

Licence

This project in available under Apache License v2.0.

Releases

No releases published

Packages

No packages published