Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pykong/py-template-repo

Template repository for Python projects.
https://github.com/pykong/py-template-repo

docker poetry pyproject-toml pytest python template-project visual-studio-code

Last synced: 21 days ago
JSON representation

Template repository for Python projects.

Awesome Lists containing this project

README

        

# Readme

## How to run

Execute:

`poetry run src 'Ben'`

You will see a logline and 'Hello, Ben!' printed on the console.

The above command calls a script entry point that internally invokes:

`poetry run python -m src 'Ben'`

To see all possible command targets invoke the `typer` help.

`poetry run src --help`

### Running tests

`poetry run pytest`

See:

## Links

- [Poetry Docs](https://python-poetry.org/docs/)
- [Python Docs: Modules & Packages](https://docs.python.org/3/tutorial/modules.html#packages)