
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
You can install Embody Serial via pip:
$ pip install embody-serial
This adds embody-serial
as a library, but also provides the CLI application with the same name.
A very basic example where you send a message request and get a response:
from embodyserial.embodyserial import EmbodySerial
from embodyserial.helpers import EmbodySendHelper
embody_serial = EmbodySerial()
send_helper = EmbodySendHelper(sender=embody_serial)
print(f"Serial no: {send_helper.get_serial_no()}")
embody_serial.shutdown()
If you want to see more of what happens under the hood, activate debug logging before setting up EmbodySerial
:
import logging
logging.basicConfig(level=logging.DEBUG)
The application also provides a CLI application that is automatically added to the path when installing via pip.
Once installed with pip, type:
embody-serial --help
To see which options are available.
Note The serial port is automatically detected, but can be overridden by using the
--device
option.
embody-serial --get-all
embody-serial --get serialno
embody-serial --list-files
embody-serial --set-time
embody-serial --download-files
Contributions are very welcome. To learn more, see the Contributor Guide.
If you encounter any problems, please file an issue along with a detailed description.
This is a known issue and is usually caused by one of two things.
serial
or jserial
Embody-serial uses the pyserial
library. Run pip list
to see if either the serial
or jserial
library is installed. If they are, remove them with pip uninstall serial
.
Sometimes, for whatever reason, it is necessary to re-install pyserial. Perform a pip uninstall pyserial
and then pip install pyserial
to see if this helps.
FAQs
Communicate with the embody device over a serial port
We found that embody-serial 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.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.