Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Basic idea here is to make transport-independent command sender/parser and a device baseclass that implements the common SCPI commands
New asyncio_ version. Only for Python 3.6 and above
Since all the other wrappers either require VISA binary or are not generic (and do not implement the device I need)
Basic idea here is to make transport-independent command sender/parser and a device baseclass that implements the common SCPI commands
A device specific implementation can then add the device-specific commands.
Pro tip for thos wishing to work on the code https://python-poetry.org/
.. _asyncio: https://docs.python.org/3/library/asyncio.html
Install the package to your virtualenv with poetry or from pip
GPIBDeviceTransport
to be able to use the device helper class)SCPIProtocol
with the transport (optional, see below)SCPIDevice
with the protocol (or as a shorthand: with the transport directly)Or if you're just playing around in the REPL use AIOWrapper
to hide the eventloop handling
for traditional non-concurrent approach.
See the examples directory for more.
Check Carrier-Detect for RS232 transport ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
in the RS232 transport check getCD to make sure the device is present before doing anything. CTS can also be checked even if hw flow control is not in use.
Basically wait for it for X seconds and abort if not found
FAQs
Basic idea here is to make transport-independent command sender/parser and a device baseclass that implements the common SCPI commands
We found that scpi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.