Skip to main content

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.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

pencompy-0.0.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file pencompy-0.0.1.tar.gz.

File metadata

  • Download URL: pencompy-0.0.1.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

Hashes for pencompy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 59d5d5bc0c679ca0291e69545d0577961e26b8ba4389a22b78205aa6240b2c63
MD5 38af7e1d4b471d0ff0c31cb8d7b8c24a
BLAKE2b-256 34c5550aec881e5ea07462c802f2c8449ded018c994451398b0f5e4cc24d970c

See more details on using hashes here.

File details

Details for the file pencompy-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pencompy-0.0.1-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

Hashes for pencompy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 30eecb2df403f2be81bf835d2d9f8e8a47ee3a6fc662d3ca9f65163c1254d758
MD5 b677556dcbdf9e024ed596416fdcc815
BLAKE2b-256 6a1fd24d06c5b1bfe2726ec74d961206142f6412a5bc774beceb787958a700ba

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page