Skip to main content

deserial

A tool that connects to a serial port and executes scenarios - sends specified commands, and checks the responses.

Scenario example

For every step, only input is required. If output is not specified, the step is considered successful if the response is received within response_timeout_sec seconds.

baudrate: 115200
device: /dev/ttyUSB0
serial_timeout_sec: 5
steps:
- input: AT
  output:
  - OK
- input: ATI
  output:
  - LENA-R8001M10-00C-00
  - ''
  - OK
  post_delay_sec: 1   # before executing the command, wait this long
  pre_delay_sec: 2    # after executing the command, wait this long
  response_timeout_sec: 10  # waiting for the response this long
- input: AT+COPS?
  output:
  - '+COPS: .*'  # every line here is a regex
  - ''
  - OK
  fail_ok: true  # if step fails, it is considered successful

Metadata

Release files for deserial 0.1.3

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

Source distribution (sdist)

Source distribution for deserial 0.1.3
File Size Uploaded Provenance Actions
deserial-0.1.3.tar.gz 3.5 kB Without provenance Details for deserial-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 8.1 kB

Release files / deserial-0.1.3.tar.gz

Download URL deserial-0.1.3.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5a63b8da934251373b59e9cbdfb3cf84ca8e84cdb5b2ed3ce41da5b8c4794ae3
BLAKE2b-256 checksum
How to use checksums
3ae945c431f406f05a71c246b2d95f1d1318b2e25be919285aae22a638da4c58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.0 Windows/10

Release files / deserial-0.1.3-py3-none-any.whl

Download URL deserial-0.1.3-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ea3f5d92c4e4ae12ddc9ad9e399636cc4f3a2095585ddf7899d3261f04d52c8
BLAKE2b-256 checksum
How to use checksums
81efbf67c1515ac00ed4eef4427e800e44718ef83b8cbf2e930a72af3cabb9eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.0 Windows/10

Security for deserial 0.1.3

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.

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