Skip to main content

TTYDev - Pseudo TTY Device

Project description

Code style: black

PTTYDev - Pseudo TTY Device

PTTYDev provides a common interface and enhanced timeout and automatic reconnection handling. Using a pttydev enables your code to read / write a serial device or websocket.

Platform

Tested on ESP32, pyserial and MicroPython WebRepl

Related project

mpycntrl

What's new ?

Check CHANGELOG for latest ongoing, or upcoming news

Development status

Alpha state,

in case of unexpected behaviour change timeouts for your board

Limitation

deprecated hint: there is a known bug with WebREPL

Installation

pttydev can be installed with pip from here pttydev

Sample Code

some sample code is under the pttydev directory on project homepage on github

sample.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pttydev-0.0.6.tar.gz (9.7 kB view hashes)

Uploaded source

Built Distribution

pttydev-0.0.6-py3-none-any.whl (10.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page