template-python
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
- Install Poetry
- Install pyenv
pyenv install <desired-python-version> # install the required python versionpyenv global <desired-python-version> # set the required python versiongit clone git@github.com:TUM-Aries-Lab/template-python.gitmake initto create the virtual environment and install dependenciesmake formatto format the code and check for errorsmake testto run the test suitemake cleanto 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)
| File | Size | Uploaded | |
|---|---|---|---|
| coffee_grinds-0.0.1.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|