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.3.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file pencompy-0.0.3.tar.gz
.
File metadata
- Download URL: pencompy-0.0.3.tar.gz
- Upload date:
- Size: 2.8 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 | b749e27197ca1c4fa1e8bb30b4cdf0915d45f8eed77404c2fc1021e4df0e4684 |
|
MD5 | 96c6b20318d62e0a7d3dbb3b83384c7a |
|
BLAKE2b-256 | a1ca383d30119aacc23440e9d00923a06bf317cc85f6d839b8152f9df6dbf1dd |
File details
Details for the file pencompy-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: pencompy-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.7 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 | a065c3efe19cd27fe76be37bfdec1f78cabd0a56bf58998f2a132d9e298104cd |
|
MD5 | 5790c40eb10fe22d4cb5f4151375e18a |
|
BLAKE2b-256 | baf0025a7f6a6ee4eb6a11fc9dcdf2093cbeb6497835365c9d7e32240acd7450 |