Skip to main content

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()

Metadata

Release files for pencompy 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pencompy 0.0.4
File Size Uploaded
pencompy-0.0.4.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pencompy 0.0.4
File Interpreter ABI Platform
pencompy-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / pencompy-0.0.4.tar.gz

Download URL pencompy-0.0.4.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3e300b4ec93432cbf783c33a934bfa7edcc302e14ac883d2a5fbd3f12dd82f8f
BLAKE2b-256 checksum
How to use checksums
aa5eb451f0789a783e3c75bab07df8383ada0d576a075b404059f69314cfe0f0
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pencompy-0.0.4-py3-none-any.whl

Download URL pencompy-0.0.4-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eaa90207f6402047c04786c800736ea371d2baab9bb1e7ee2cdaa76a28e3b4e1
BLAKE2b-256 checksum
How to use checksums
4a63ad4b786341be1e4f6667571a822c66bc81866381f043ef7cec1d57f9224e
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page