All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Python Versioning.
- Add codecov
- Add CI/CD
- Improve documentation and serve it on GitHub pages
- Add many tests
- Add
ZKSDKError
exception with PULL SDK and WINSOCK text error description - Implement device and door parameters read/write with datatype control
- Add some enums
- Make event
poll()
method - Implement connecting by
ZKDevice
object - Add device search method
- Implement
DocDict
andDocValue
classes in order to annotate SDK integer values - Add restart device method
- Add fluent interface for events, readers, relays, aux inputs, doors with indexing support
- Improve project description in
setup.py
- Add
ctypes
wrapper module to be able to import the project modules on Linux - Raise
ZKSDKError
instead ofRuntimeError
on SDK function failure - BREAKING CHANGE. Keep number fields in
Event
as integers - Make
EVENT_TYPES
as dict with annotateble values - BREAKING CHANGE. ZKAccess connstr constructor parameter now must be keyword parameter and be
str
type instead ofbytes
- Split project to several files
- BREAKING CHANGE. Split up
ZKAccess
class ontoZKSDK
(implementation) andZKAccess
(interface). Movezk*
methods toZKSDK
- BREAKING CHANGE. Convert
ControlOperation
,RelayGroup
,VERIFY_MODES
to pythonEnum
- BREAKING CHANGE. Remove
enable_relay*
andread_events
methods
- Implement reading events
- Implement switching relays
- Make enums related to SDK functions
- Write SDK installation info