Released:
Concurrency agnostic serialio API
19.1 Pinout of 9-pin and 25-pin serial connectors. The pin numbers are often engraved in the plastic of the connector but you may need a magnifying glass to read them. Note DCD is sometimes labeled CD. The numbering of the pins on a female connector is read from right to left, starting with 1 in the upper right corner (instead of 1 in the upper.
- Excel Password Unlocker implements a “hi-tech” way to restore passwords to Excel 97/2000/XP/2003/2007 documents. In particular, the app connects to a special password cryptographic server and deciphers the given authorization information almost instantly thanks to the computational power of the cloud.
- Imagenomic Portraiture Crack 2.3.3 Plugin (Full + Serial Key) Free Download Compatibility with graphics editors such as Adobe Photoshop CS4-CS6, CC. (imagenomic portraiture license code) Adobe Photoshop Elements 8-11, Adobe Lightroom 2-4, Aperture 3(imagenomic portraiture 3 cracked full version).
Project description
A python concurrency agnostic serial line library.
Helpful when handling with instrumentation which work over serial line and implementsimple REQ-REP communication protocols (example:SCPI).
Besides local serial line, serialio also supports serial line over RFC2217 protocol,raw TCP socket and tango.
As far as RFC2217 is concerned, it should be compatible with:
- ser2net bridge with telnet(RFC2217) and raw configurations
- gserial[ser2tcp] bridge (RFC2217)
As far as tango is concerned, it should be compatible with the tango classes:
Base implementation written in asyncio with support for different concurrency models:
- asyncio
- classic blocking API
- future based API
Here is a summary of what is forseen and what is implemented
Concurrency | Local | RFC2217 | Raw TCP | Tango |
---|---|---|---|---|
asyncio | Y | Y | Y | Y |
classic sync | Y | Y | Y | Y |
conc. futures | Y | Y | Y | Y |
Installation
From within your favourite python environment:
Usage
asyncio
local serial line
raw TCP socket
RFC2217 (telnet)
Tango
Ploutab 2.3 Serial Numbers
(needs a pip install serialio[tango]
installation)
classic
concurrent.futures
API differences with serial
- coroutine based API
open()
coroutine must be called explicitly before using the serial line- setting of parameters done through functions instead of properties (ie:
await ser_line.set_XXX(value)
instead ofser_line.XXX = value
(ex:await ser_line.set_baudrate()
)) - custom
eol
character (serial is fixed tob'n'
) - included REQ/REP atomic functions (
write_read()
family)
Features
The main goal of a serialio Serial object is to facilitate communicationwith instruments connected to a serial line.
The most frequent cases include instruments which expect a REQ/REPsemantics with ASCII protocols like SCPI. In these cases most commandstranslate in small packets being exchanged between the host and theinstrument.
Ploutab 2.3 Serial Killer
REQ-REP semantics
Many instruments out there have a Request-Reply protocol. A serialio Serialprovides helpful write_read
family of methods which simplify communicationwith these instruments.
Custom EOL
In line based protocols, sometimes people decide n
is not a good EOL character.A serialio can be customized with a different EOL character.For example, the XIA-PFCU alwaysreplies with ;rn
, so we could configure it using the following snippet:
The initial EOL character can be overwritten in any of the readline
methods.Example:
Streams
TODO: Write this chapter
Release historyRelease notifications | RSS feed
2.4.0
2.3.2
2.3.1
2.3.0
Ploutab 2.3 Serial Number
2.2.2
2.2.1
Ploutab 2.3 Serial Key
2.2.0
2.1.1
2.0.0
1.3.0
1.2.0
1.1.0
1.0.1
1.0.0
0.1.2
0.1.1
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size serialio-2.4.0.tar.gz (21.9 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for serialio-2.4.0.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | b3a4e2e173b521ae54b70995c88a01be50bab9cc718c05da89857d4ce480aaff |
MD5 | f25340f4afed7f24b9c33f98f67dd231 |
BLAKE2-256 | 6b0482273fdf56bfac20c28a22c94085afb6e6c13dfdf57911ea594eb1d3204a |