Skip to main content
Build Status PyPI Downloads Latest PyPI version License

Overview

This module encapsulates the access for the parallel port. It provides backends for Python running on Windows and Linux. Other platforms are possible too but not yet integrated.

This module is still under development. But it may be useful for developers. The Windows version needs a compiled extension and the giveio.sys driver for Windows NT/2k/XP. It uses ctypes to access functions in a prebuilt DLL.

It is released under a free software license, see LICENSE.txt for more details.

Copyright (C) 2001-2016 Chris Liechti cliechti@gmx.net

Homepage: https://github.com/pyserial/pyparallel

Features

  • same class based interface on all supported platforms

  • port numbering starts at zero, no need to know the port name in the user program

  • port string (device name) can be specified if access through numbering is inappropriate

Requirements

  • Python 2.2 or newer

  • “Java Communications” (JavaComm) extension for Java/Jython

Installation

Extract files from the archive, open a shell/console in that directory and let Distutils do the rest:

$ python setup.py install

Short introduction

>>> import parallel
>>> p = parallel.Parallel()  # open LPT1 or /dev/parport0
>>> p.setData(0x55)

Examples

Please look in the GIT Repository. There is an example directory where you can find a simple terminal and more. https://github.com/pyserial/pyparallel/tree/master/examples

References

Release files for pyparallel 0.2.2

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

Source distribution (sdist)

Source distribution for pyparallel 0.2.2
File Size Uploaded
pyparallel-0.2.2.tar.gz 11.8 kB Details

Built distribution (wheel)

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

Total release size: 50.6 kB

Release files / pyparallel-0.2.2.tar.gz

Download URL pyparallel-0.2.2.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b5550293af42a42d7b2e1ada1224d3c3ce2f09b80e85421820e068655908c611
BLAKE2b-256 checksum
How to use checksums
8785be9988fdafabb41d6cc0a1a5dc70a351d968e0b3e80d8b627dc7ad075712
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyparallel-0.2.2-py3-none-any.whl

Download URL pyparallel-0.2.2-py3-none-any.whl
Size 38.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f382422c97a885453b405acadd27c522bff87e9407968dc814955ed68b1cc777
BLAKE2b-256 checksum
How to use checksums
0806b8dfcd5509b4c2ee68528a90be91eddfcb1f8c9fab90c0e734841b03fb3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

1 release file

0.2

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