Skip to content

codeff-software/hello-python

Repository files navigation

Hello Python

This is a demo project to show how modern Python project may look like.

Local Development

Prerequisites

Setup

Install dependencies by automatically creating a virtual environment:

uv sync

Setup pre-commit hooks:

uv run pre-commit install

Run tests:

uv run pytest

While doing commits, you might turn the virtual environment on, so pre-commit hooks can run:

source .venv/bin/activate

Local Docker image build

docker build -t hello-python:latest .

Local Docker container run

docker run --rm hello-python:latest

Output should be:

Hello from hello-python!

Contributing

  1. Fork it
  2. Create your feature branch (git switch -c my-new-feature)
  3. Create a Pull Request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published