Pencom relay controller over Ethernet
Project description
Pencom Package
Package to control Pencom serial relay boards through an Ethernet adaptor using Python.
Example:
from time import sleep
from pencompy import pencompy
hub = pencompy( 'host.test.com', 4008 )
# Turn the first relay on
hub.set( 0, 0, True )
# Pause for a second
sleep(1.)
# Turn the first relay off
hub.set( 0, 0, False )
# Close the interface
hub.close()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pencompy-0.0.4.tar.gz
(2.9 kB
view details)
Built Distribution
File details
Details for the file pencompy-0.0.4.tar.gz
.
File metadata
- Download URL: pencompy-0.0.4.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e300b4ec93432cbf783c33a934bfa7edcc302e14ac883d2a5fbd3f12dd82f8f |
|
MD5 | 8c67ff6dcbb489954ad6a9a04d15014d |
|
BLAKE2b-256 | aa5eb451f0789a783e3c75bab07df8383ada0d576a075b404059f69314cfe0f0 |
File details
Details for the file pencompy-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: pencompy-0.0.4-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaa90207f6402047c04786c800736ea371d2baab9bb1e7ee2cdaa76a28e3b4e1 |
|
MD5 | 94c1681a3d3cb1efd8591c88312e2006 |
|
BLAKE2b-256 | 4a63ad4b786341be1e4f6667571a822c66bc81866381f043ef7cec1d57f9224e |