To install the library run:
uv install motor_pythonOR
uv install git+https://github.com/TUM-Aries-Lab/motor_python.git@<specific-tag> 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
"""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()uv run python -m motor_python├── src
│ └── motor_python
│ ├── __init__.py
│ ├── __main__.py
│ ├── cube_mars_motor.py
│ ├── defintions.py
│ └── utils.py
├── tests
│ ├── __init__.py
│ ├── conftest.py
│ ├── main_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