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.2.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file pencompy-0.0.2.tar.gz
.
File metadata
- Download URL: pencompy-0.0.2.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 | 8e22b3c45f9124a43fb72755d2f82f0dd79ae42000dc3fe3627fc0ac753dfed7 |
|
MD5 | 0fa5c62e9c530e12070a544787881a9c |
|
BLAKE2b-256 | 272cc3fda7346b612e1401d322f0c43d08baa41a75de2713a6d81b2ce7c45e2e |
File details
Details for the file pencompy-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: pencompy-0.0.2-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 | a6efab3dbdbb9b207c935b03dd743c54008b07d9a7922a434d5119b9c54344ff |
|
MD5 | f41f2eafb3085590048a68c6c2cf6466 |
|
BLAKE2b-256 | 375acd3b2f705c6a6f8a6d38878753ae6b133ee3957ab39b33f0ccda3eba387d |