Skip to content

gueraf/template_py

Repository files navigation

template_py

A template to start hobby projects (Python, Bazel, uv, VSCode, Pyrefly).

CircleCI

Getting Started

Install Bazel(isk)

sudo apt install npm && \
sudo npm install -g @bazel/bazelisk

Add and Update Dependencies

echo "example-pypi-package>=0.1.0" >> requirements.txt && \
./update_requirements.sh && \
git add requirements* .vscode/settings.json gazelle_python.yaml pypi_pkgs_lock.bzl

Build, Test, and Run

bazel run //examples/py_hello_world:hello_world && \
bazel test //examples/py_hello_world:hello_world_test

Update BUILD files

bazel run //:gazelle

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •