Skip to content

TUM-Aries-Lab/exosuit-python

Repository files navigation

template-python

Coverage Status Docker Image CI

Simple README.md for a Python project template.

Do NOT clone this repository. Please use it as a template instead. This readme is just here to serve as a template for you to get started faster.

Install

To install the library run:

pip install <your-package-name>

OR

pip install git+https://github.com/TUM-Aries-Lab/<your-package-name>.git@<specific-tag>

Development

  1. Install Poetry
  2. Install pyenv
  3. pyenv install <desired-python-version> # install the required python version
  4. pyenv global <desired-python-version> # set the required python version
  5. git clone git@github.com:TUM-Aries-Lab/template-python.git
  6. make init to create the virtual environment and install dependencies
  7. make format to format the code and check for errors
  8. make test to run the test suite
  9. 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:

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

The package can then be found at: https://pypi.org/project/change-me

Module Usage

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

from loguru import logger

from change_me import definitions

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

if __name__ == "__main__":
    main()

Program Usage

poetry run python -m change_me

About

Codebase for the Python-based exosuit.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages