Skip to main content

IMU sensor codes in Python for the exosuit

Project description

IMU Module for Python

Coverage Status Docker Image CI

This is the repository for imu sensor codes for the lower-limb exosuit.

Install

To install the library run:

uv install imu_python

OR

uv install git+https://github.com/TUM-Aries-Lab/imu_python.git@<specific-tag>

Development

  1. Install uv
  2. git clone git@github.com:TUM-Aries-Lab/imu-module.git
  3. make init to create the virtual environment and install dependencies
  4. make format to format the code and check for errors
  5. make test to run the test suite
  6. make clean to delete the temporary files and directories

Publishing

It's super easy to publish your own packages on PyPI. To build and publish this package run:

uv build
uv publish  # make sure your version in pyproject.toml is updated

The package can then be found at: https://pypi.org/project/imu_python

Module Usage

"""Basic docstring for my module."""

from loguru import logger

from imu_python.config import definitions

def main() -> None:
    """Run a simple demonstration."""
    logger.info("Hello World!")

if __name__ == "__main__":
    main()

Program Usage

uv run python -m imu_python

Structure

├── src
│   └── imu_python
│       ├── __init__.py
│       ├── __main__.py
│       ├── definitions.py
│       ├── imu_sensor.py
│       └── utils.py
├── tests
│   ├── __init__.py
│   ├── conftest.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

imu_python-0.0.2a16.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

imu_python-0.0.2a16-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file imu_python-0.0.2a16.tar.gz.

File metadata

  • Download URL: imu_python-0.0.2a16.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for imu_python-0.0.2a16.tar.gz
Algorithm Hash digest
SHA256 692016101ecaf3dd3c56b054798f55b23754d7c284bf31fe705e85375520f090
MD5 3ad78f5c67bc68b904f80009fc42b94f
BLAKE2b-256 d9a537996cd71555a1cca556d0bc906e2e53d2fa713092d2adc3c1c53de42183

See more details on using hashes here.

Provenance

The following attestation bundles were made for imu_python-0.0.2a16.tar.gz:

Publisher: pypi-publish.yml on TUM-Aries-Lab/imu-module

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imu_python-0.0.2a16-py3-none-any.whl.

File metadata

  • Download URL: imu_python-0.0.2a16-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for imu_python-0.0.2a16-py3-none-any.whl
Algorithm Hash digest
SHA256 f39c78f8ede3723c2781ce3136b56f25574b1699cc083f106e6e984164611750
MD5 c8e117a490db0e24632d8472bc90a719
BLAKE2b-256 9a5367cf44ab0db0038e6cef31d294a679539383c3df36bece9c84a9bf504bf8

See more details on using hashes here.

Provenance

The following attestation bundles were made for imu_python-0.0.2a16-py3-none-any.whl:

Publisher: pypi-publish.yml on TUM-Aries-Lab/imu-module

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page