python-saleae
This library implements the control protocol for the Saleae Logic Analyzer. It is based off of the documentation and example here: https://github.com/saleae/SaleaeSocketApi
IMPORTANT: You must enable the ‘Remote Scripting Server’ in Saleae. Click on “Options” in the top-right, the “Developer” tab, and check “Enable scripting socket server”. This should not require a restart.
This library requires Saleae Logic 1.2.x or greater. Unfortunately there is no way to check the version of Logic running using the scripting protocol so this is difficult to check at runtime.
Currently, this is basically a direct mapping of API calls with some small sanity checking and conveniences. It has not been extensively tested beyond my immediate needs, but it also should not have any known problems.
To get a feel for how the library works and what it can do, try the built-in demo:
#!/usr/bin/env python3 import saleae saleae.demo()
Issues, updates, pull requests, etc should be directed to github.
Installation
The easiest method is to simply use pip:
(sudo) pip install saleae
Usage
import saleae
s = saleae.Saleae()
s.capture_to_file('/tmp/test.logicdata')
Metadata
Release files for saleae 0.12.0
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 |
|---|---|---|---|---|
| saleae-0.12.0.tar.gz | 16.7 kB | Without provenance | Details for saleae-0.12.0.tar.gz |
Release files / saleae-0.12.0.tar.gz
| Download URL | saleae-0.12.0.tar.gz |
|---|---|
| Size | 16.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3ea4b637d7a488d28e185857f1bfdb1835ce4eb3c64d82682c2d2ebdbf05c19
|
|
BLAKE2b-256 checksum How to use checksums |
3a228817b6c010bff926e77a2ad3485682a49a430fa6695b9ad1b4aa0a6fd123
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Security for saleae 0.12.0
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.