Skip to content

Latest commit

 

History

History
111 lines (74 loc) · 2.27 KB

README.md

File metadata and controls

111 lines (74 loc) · 2.27 KB

Project Template

project-temp – this is my project template that enhances development experience in VSCode with streamlined features.

How to use

  1. Clone the repository
git clone https://github.com/your-username/project-temp.git
  1. Install dependencies
uv sync

# activate env
source ./.venv/bin/activate

Features

settings

  • Accessing the project root as a constant.
  • Load Parameters from the .env file
    • In debug mode, parameters are loaded automatically.
    • Running in the terminal mode need user settings "python.experiments.optInto": ["pythonTerminalEnvVarActivation"]

python modules

  • Plot utils
  • Databse utils

Tools

docker for development

  • Docker
    • Build docker image
docker compose up -d

uv - python package manager

  • uv
source .venv/bin/activate

tests

  • pytest + allure

docs

  • mkdocs
mkdocs new [dir-name] # create a new project

# start the live-reloading docs server
mkdocs serve -f docs/mkdocs.yml

jupyter

  • Jupyter Settings
    • Run Jupyter notebooks from the project root.
    • Enable the interactive mode for development.

pre-commit

  • pre-commit
pre-commit install

# run pre-commit
pre-commit run --all-files

github actions

Reference