pyzway | Python wrapper for Z-Way C API
kandi X-RAY | pyzway Summary
kandi X-RAY | pyzway Summary
pyzway is a Python library. pyzway has no bugs, it has no vulnerabilities, it has build file available and it has low support. However pyzway has a Non-SPDX License. You can download it from GitHub.
ZWay class wraps all methods from ZWayLib.h, CommandClassesPublic.h and FunctionClassesPublic.h. We use the following naming rule: if in C header function has name "zway_cc_time_time_get", then in ZWay class it becomes "cc_time_time_get" method of instance. So we remove all zway_ prefixes. Mostly all methods except for the ones which return data or execute a void function in C API return the numeric error number, where 0 means "no error". For parameters we convert all camel-case name to underscore-style. I.e. powerLevelValue becomes power_level_value.
ZWay class wraps all methods from ZWayLib.h, CommandClassesPublic.h and FunctionClassesPublic.h. We use the following naming rule: if in C header function has name "zway_cc_time_time_get", then in ZWay class it becomes "cc_time_time_get" method of instance. So we remove all zway_ prefixes. Mostly all methods except for the ones which return data or execute a void function in C API return the numeric error number, where 0 means "no error". For parameters we convert all camel-case name to underscore-style. I.e. powerLevelValue becomes power_level_value.
Support
Quality
Security
License
Reuse
Support
pyzway has a low active ecosystem.
It has 9 star(s) with 1 fork(s). There are 3 watchers for this library.
It had no major release in the last 6 months.
There are 1 open issues and 0 have been closed. On average issues are closed in 1820 days. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of pyzway is current.
Quality
pyzway has no bugs reported.
Security
pyzway has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
pyzway has a Non-SPDX License.
Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.
Reuse
pyzway releases are not available. You will need to build from source code and install.
Build file is available. You can build the component from source.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi has reviewed pyzway and discovered the below as its top functions. This is intended to give you an instant insight into pyzway implemented functionality, and help decide if they suit your requirements.
- Generate static definitions
- Generate python code for a parsing function
- Generates a PXD representation of a parsing result
- Convert CamelCase to CamelCase
Get all kandi verified functions for this library.
pyzway Key Features
No Key Features are available at this moment for pyzway.
pyzway Examples and Code Snippets
No Code Snippets are available at this moment for pyzway.
Community Discussions
No Community Discussions are available at this moment for pyzway.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pyzway
Clone the repository and navigate to its folder.
Install Cython - sudo pip install cython. Tested on version 0.20.1, but should work for >= 0.19. The one from Debian Wheezy / Raspbian apt (0.15) is not supported.
Install required build dependencies - sudo apt-get install python-dev libarchive-dev build-essential
If Z-Way library is installed in directory different from /opt/z-way-server, you can define the path to headers and libraries by assigning the following environment variables: ZWAY_INC_PATH, ZWAY_LIB_PATH.
Compile and install the extension - sudo python setup.py clean prepare build_ext -i. This will generate zway.so file in the current directory. You can move it to your application and import from it. You can still use install switch to move the zway.so into your site-packages directory of python or virtualenv installation, but we don't recommend it for now.
Install Cython - sudo pip install cython. Tested on version 0.20.1, but should work for >= 0.19. The one from Debian Wheezy / Raspbian apt (0.15) is not supported.
Install required build dependencies - sudo apt-get install python-dev libarchive-dev build-essential
If Z-Way library is installed in directory different from /opt/z-way-server, you can define the path to headers and libraries by assigning the following environment variables: ZWAY_INC_PATH, ZWAY_LIB_PATH.
Compile and install the extension - sudo python setup.py clean prepare build_ext -i. This will generate zway.so file in the current directory. You can move it to your application and import from it. You can still use install switch to move the zway.so into your site-packages directory of python or virtualenv installation, but we don't recommend it for now.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page