Motor module for exosuit
Project description
Motor Control Software for Soft Exoskeleton
Install
To install the library run:
uv install motor_python
OR
uv install git+https://github.com/TUM-Aries-Lab/motor_python.git@<specific-tag>
Publishing
It's super easy to publish your own packages on PyPI. To build and publish this package run:
- Update the version number in pyproject.toml and imu_module/init.py
- Commit your changes and add a git tag "<new.version.number>"
- Push the tag
git push --tag
The package can then be found at: https://pypi.org/project/motor_python
Module Usage
"""Basic docstring for my module."""
from loguru import logger
from motor_python import definitions
def main() -> None:
"""Run a simple demonstration."""
logger.info("Hello World!")
if __name__ == "__main__":
main()
Program Usage
uv run python -m motor_python
Testing
Unit Tests (No Hardware Required)
Run unit tests without hardware (using mocks):
make test # Run unit tests only (no hardware required)
make test-hardware # Run hardware integration tests (requires motor connected)
make test-all # Run all tests including hardware tests (full coverage)
Note: Hardware tests are skipped automatically if motor hardware is not available.
Structure
├── src
│ └── motor_python
│ ├── config
│ ├── __init__.py
│ ├── __main__.py
│ ├── cube_mars_motor.py
│ ├── definitions.py
│ ├── examples.py
│ ├── motor_status_parser.py
│ └── utils.py
├── tests
│ ├── __init__.py
│ ├── conftest.py
│ ├── cube_mars_motor_test.py
│ ├── hardware_test.py
│ ├── motor_status_parser_test.py
│ └── utils_test.py
├── .dockerignore
├── .gitignore
├── .pre-commit-config.yaml
├── .python-version
├── CONTRIBUTING.md
├── Dockerfile
├── LICENSE
├── Makefile
├── README.md
├── pyproject.toml
├── repo_tree.py
└── uv.lock
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file motor_python-0.0.4.tar.gz.
File metadata
- Download URL: motor_python-0.0.4.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da8407802d6062ef79fad4031ce2f09cb81daca85f518f2362413fd59bac9942
|
|
| MD5 |
29a33e9dd654ce0627f7b13eaf4c9d87
|
|
| BLAKE2b-256 |
aab6b4df9022c664b0401e4be96a83fd8ab64ac4be97a675412350cade6c528b
|
Provenance
The following attestation bundles were made for motor_python-0.0.4.tar.gz:
Publisher:
pypi-publish.yml on TUM-Aries-Lab/motor-module
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
motor_python-0.0.4.tar.gz -
Subject digest:
da8407802d6062ef79fad4031ce2f09cb81daca85f518f2362413fd59bac9942 - Sigstore transparency entry: 814695751
- Sigstore integration time:
-
Permalink:
TUM-Aries-Lab/motor-module@dca061053d350f4c6cecef99dcf9da04ea7ce5b0 -
Branch / Tag:
refs/tags/v0.0.4 - Owner: https://github.com/TUM-Aries-Lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@dca061053d350f4c6cecef99dcf9da04ea7ce5b0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file motor_python-0.0.4-py3-none-any.whl.
File metadata
- Download URL: motor_python-0.0.4-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54794021d920ded93c882b4317a1005ed9d1a37e50fe2ea93b9e7f8b6babac5c
|
|
| MD5 |
e12f40b4edc67ca3a53d3acdcdc2d3e8
|
|
| BLAKE2b-256 |
8c86d413cf0ac466df5d4f7c751a006e413f051e5e09955ce468ad94d88565f1
|
Provenance
The following attestation bundles were made for motor_python-0.0.4-py3-none-any.whl:
Publisher:
pypi-publish.yml on TUM-Aries-Lab/motor-module
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
motor_python-0.0.4-py3-none-any.whl -
Subject digest:
54794021d920ded93c882b4317a1005ed9d1a37e50fe2ea93b9e7f8b6babac5c - Sigstore transparency entry: 814695752
- Sigstore integration time:
-
Permalink:
TUM-Aries-Lab/motor-module@dca061053d350f4c6cecef99dcf9da04ea7ce5b0 -
Branch / Tag:
refs/tags/v0.0.4 - Owner: https://github.com/TUM-Aries-Lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@dca061053d350f4c6cecef99dcf9da04ea7ce5b0 -
Trigger Event:
push
-
Statement type: