{"id":23151,"library":"pylink","title":"PyLink","description":"Universal communication interface using a File-Like API. Currently at version 0.3.3. Project appears to be in maintenance mode with infrequent releases.","status":"maintenance","version":"0.3.3","language":"python","source_language":"en","source_url":"https://github.com/SalemHarrache/PyLink","tags":["serial","tcp","communication","file-like"],"install":[{"cmd":"pip install pylink","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Main class for communication links.","symbol":"Link","correct":"from pylink import Link"}],"quickstart":{"code":"from pylink import Link\n\n# Open a serial port link\ntry:\n    with Link.open('serial:///dev/ttyUSB0', baudrate=9600) as link:\n        link.write(b'AT\\r\\n')\n        response = link.read(1024)\n        print(response)\nexcept Exception as e:\n    print(f'Error: {e}')","lang":"python","description":"Open a serial port link and send an AT command."},"warnings":[{"fix":"Always prefix device with 'serial://' for serial ports.","message":"Link.open() uses URL-like schemes (serial://, tcp://, etc.). Common mistake: forgetting the scheme prefix.","severity":"gotcha","affected_versions":"all"},{"fix":"Consider alternatives like pySerial, asyncio, or aiohttp for new projects.","message":"Project is no longer actively maintained. Some functionality may be broken with newer Python versions or OS updates.","severity":"deprecated","affected_versions":">=3.7"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'pip install pylink' to install the library.","cause":"Library not installed or installed under a different name.","error":"ModuleNotFoundError: No module named 'pylink'"},{"fix":"Use 'from pylink import Link' instead of 'import pylink' and accessing Link as pylink.Link.","cause":"Incorrect import path; possibly the module is not exposed correctly.","error":"AttributeError: module 'pylink' has no attribute 'Link'"},{"fix":"Use a valid scheme like 'serial:///dev/ttyUSB0' or 'tcp://192.168.1.1:23'.","cause":"Missing scheme prefix in the connection string.","error":"ValueError: Unsupported scheme: ''"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}