This project has been archived by its maintainers, and is no longer receiving any updates.
PyLink
Pylink offers a universal communication interface using File-Like API. For now, only the TCP, UDP and Serial interfaces are supported. The USB and GSM interfaces will be added soon.
The aim of this project is to allow any type of communication. It is best suited for projects that have various ways of communicating including IP remote or local serial communication.
Installation
You can install, upgrade, uninstall pylink with these commands:
$ pip install pylink $ pip install --upgrade pylink $ pip uninstall pylink
Or if you don’t have pip:
$ easy_install pylink
Examples
>>> from pylink import TCPLink, link_from_url
>>> link = TCPLink('localhost', 7) # conntect to echo tcp service
>>> link.write('Hello')
2012-06-05 12:44:06,211 INFO: new <TCPLink tcp:127.0.0.1:7> was initialized
2012-06-05 12:44:06,211 INFO: Write : <b'hello'>
>>> link.read() == 'Hello'
2012-06-05 12:44:06,312 INFO: Read : <'hello'>
True
>>> link = link_from_url("serial:/dev/ttyUSB0:115200")
>>> print link
<SerialLink serial:/dev/ttyUSB0:115200:8N1>
Changelog
Version 0.1
Released on 2012-06-05.
Support for TCP, UDP and Serial (with pyserial).
Metadata
Release files for PyLink 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| PyLink-0.1.tar.gz | 6.8 kB | Without provenance | Details for PyLink-0.1.tar.gz |
Release files / PyLink-0.1.tar.gz
| Download URL | PyLink-0.1.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86b1684fe165ff11f3badaa819feeec64dbdb6ad0e72e79160352a347cb2eeab
|
|
BLAKE2b-256 checksum How to use checksums |
09a6851d94f4a452705eb197cdcb79da9bee30d98f545159eefbf0690ff8b468
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for PyLink 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.