GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dense-analysis/dense-python: A template for creating new Python projects

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
src/example_project
src/example_project
 
 
tests
tests
 
 
.dockerignore
.dockerignore
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.python-version
.python-version
 
 
.yamllint.yml
.yamllint.yml
 
 
AGENTS.md
AGENTS.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
bootstrap-project.sh
bootstrap-project.sh
 
 
compose.yml
compose.yml
 
 
main.py
main.py
 
 
pyproject.toml
pyproject.toml
 
 
tombi.toml
tombi.toml
 
 
uv.lock
uv.lock
 
 

Repository files navigation

Example Project

This project serves as a template for creating Python projects in the Dense Analysis preferred manner. See Development steps below for initial setup, and after boostraping a new project edit project files as you see fit to start off your Python project.

NOTE: This project template is released to the public domain free of charge, and you may freely remove and replace the LICENSE file and copyright notice when building your projects so you may use a license of our choice without crediting Dense Analysis. We simply wish to help you get started with Python projects quickly.

Development

Set up virtualenv initially for local development like so:

pyenv install
python -m pip install uv
uv sync

This repo currently targets Python 3.15.0a8; pyenv install will pick that up from .python-version.

If you are creating a new project, you can quickly set it up with the convenience script, which will delete itself after it's run.

./bootstrap-project.sh new_project_name

You can check the project for errors like so:

# Run the linter and autofix warnings/errors.
uv run ruff check --fix
# Run the type checker to spot typing issues.
uv run pyright
# Run unit and integration tests.
uv run pytest

To add dependencies, use one of the following commands:

uv add some_package
uv add --dev some_package

You can run the project with docker compose like so:

docker compose up

You can test the docker image like so:

docker build --no-cache -t example_project:latest .
docker run -it --rm example_project:latest

The production image uses al3xos/python-distroless:3.14.4-debian13, then copies in the 3.15.0a8 runtime from the slim builder image because no distroless alpha tag is published.

About

A template for creating new Python projects

Resources

Readme
MIT license
Activity
Custom properties

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.