mobbo
GUI-free Python library for the two-force-board COP (center of pressure) serial device. Connect over a COM port, get live per-board and combined COP samples, tare, and record sessions to CSV.
Install
pip install mobbo-serial
# or: uv add mobbo-serial
sample_gui.py (a PySide6 demo app built on this library) needs the optional
gui extra:
pip install mobbo-serial[gui]
Usage
import mobbo
# optional: relocate where session data is saved (defaults to
# <Documents>/mobbo-data, config lives at ~/.mobbo/config.json)
mobbo.configure(data_dir="D:/lab-data")
board = mobbo.Board(port="COM10", layout="side_by_side")
board.on_sample(lambda s: print(s.combined.cop_x, s.combined.cop_y))
board.connect()
board.tare() # blocks briefly, zeroes current load as baseline
session_dir = board.start_recording("subject1")
# ... let it run ...
csv_path = board.stop_recording()
print(f"saved to {csv_path}")
board.disconnect()
mobbo.list_ports() lists available COM ports.
Documentation
See docs/USAGE.md for detailed library usage, callbacks, tare, recording, CSV output, layouts, and error handling.
Development
uv sync --extra gui # --extra gui only needed to run sample_gui.py
uv run pytest -v
Releasing
Publishing to PyPI is automated: bump version in pyproject.toml, commit,
tag it (git tag vX.Y.Z && git push origin vX.Y.Z), then publish a
GitHub Release
for that tag - the publish.yml workflow builds and uploads it via PyPI
Trusted Publishing.
Metadata
Release files for mobbo-serial 0.1.1
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 |
|---|---|---|---|---|
| mobbo_serial-0.1.1.tar.gz | 46.9 kB | With provenance | Details for mobbo_serial-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mobbo_serial-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for mobbo_serial-0.1.1-py3-none-any.whl |
Total release size: 56.5 kB
Release files / mobbo_serial-0.1.1.tar.gz
| Download URL | mobbo_serial-0.1.1.tar.gz |
|---|---|
| Size | 46.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0cb1c2f48abfbfa850986f0d05d2eeea1fc12ad3df42a40a74e690bf9cdbef0a
|
|
BLAKE2b-256 checksum How to use checksums |
ef87ed8ff31408e3e45101780ba34ab80b97363f12443704d12c06dafb776bae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.
Transparency logRelease files / mobbo_serial-0.1.1-py3-none-any.whl
| Download URL | mobbo_serial-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da2a74a0b77d8e78c3a8bf00d65d3a767d6a5fa994e293d4278ed1621b7cbdf5
|
|
BLAKE2b-256 checksum How to use checksums |
e5fd5a634ad1739e5ecbf03c1a4cab6ff28f9c742b6b2f22ddb3fda905b8b40c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.
Transparency logSecurity for mobbo-serial 0.1.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for mobbo_serial-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.
Transparency logA 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.