Skip to main content

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 coffee_grinder import definitions

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

if __name__ == "__main__":
    main()

Program Usage

poetry run python -m coffee_grinder

Metadata

Release files for coffee-grinds 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coffee-grinds 0.0.1
File Size Uploaded
coffee_grinds-0.0.1.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for coffee-grinds 0.0.1
File Interpreter ABI Platform
coffee_grinds-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.0 kB

Release files / coffee_grinds-0.0.1.tar.gz

Download URL coffee_grinds-0.0.1.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0535391d5bf532446e4634226d0fd1f19eedcb8723d95f5bae5b298dae194674
BLAKE2b-256 checksum
How to use checksums
49a7b787c94a46b11650715c914c2c0e336b60fe4f2dee63f65e8021c241abe7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.13.6 Darwin/25.0.0

Release files / coffee_grinds-0.0.1-py3-none-any.whl

Download URL coffee_grinds-0.0.1-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f86f377daffc4d5545033e1a6011d878e112a8520d025d7b96913862d6a3c92
BLAKE2b-256 checksum
How to use checksums
ceb8219e61c5508a25057f637b86c896430bbb186d036f73086733f077f20dd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.13.6 Darwin/25.0.0

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page