Skip to content

Add bodyloop-sdk project boilerplate#1

Merged
basejumpa merged 6 commits intomainfrom
copilot/create-boilerplate-code
Mar 10, 2026
Merged

Add bodyloop-sdk project boilerplate#1
basejumpa merged 6 commits intomainfrom
copilot/create-boilerplate-code

Conversation

Copy link
Contributor

Copilot AI commented Mar 4, 2026

Bootstrap an empty repo into a fully operational Python SDK project managed by uv, with CI/CD, devcontainer, and Copilot SDD support.

Package

  • src/bodyloop_sdk/__init__.pysrc-layout package exposing __version__
  • pyproject.tomlbodyloop-sdk package, hatchling build backend, pytest config, [dependency-groups] for dev deps

Tooling & Environment

  • uv.lock — committed lockfile for reproducible installs (uv sync / uv run pytest)
  • .devcontainer/devcontainer.json — Python 3.12 + astral-sh/uv feature; postCreateCommand: uv sync; GitHub Copilot + Pylance extensions; works locally and in Codespaces

GitHub Actions

  • .github/workflows/ci.ymluv run pytest matrix across Python 3.11/3.12/3.13 on push/PR
  • .github/workflows/release.ymluv build → publish to PyPI via OIDC trusted publishing on GitHub release; no API tokens required

Copilot / SDD

  • .github/copilot-instructions.md — codifies a Spec-Driven Development loop: write docstring spec → ask Copilot to implement → ask Copilot to generate tests

Tests

  • tests/test_bodyloop_sdk.py — baseline tests asserting __version__ exists and is semver-formatted

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • astral.sh
    • Triggering command: /usr/bin/curl curl -LsSf REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Create the minimal project boilerplate code in order to ...

  • Manage the project with uv
  • Develop in collaboration with GitHub CoPilot using SDD (Spec-Driven-Development) in the most recent fashion
  • Define a devcontainer for Python Development locally and also within a GitHub codespace
  • Define a pip package 'bodyloop-sdk'
  • Unit Test with pytest by the user and in CI of GitHub Actions
  • Build the pip package with GitHub Actions
  • Publish the build package to pypi.org with GitHub Actions

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: basejumpa <8762228+basejumpa@users.noreply.github.com>
Copilot AI changed the title [WIP] Add project boilerplate for Python development with GitHub Actions Add bodyloop-sdk project boilerplate Mar 4, 2026
@basejumpa basejumpa merged commit eeeec9e into main Mar 10, 2026
3 checks passed
@basejumpa basejumpa deleted the copilot/create-boilerplate-code branch March 10, 2026 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants