Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "template-python",
// https://mcr.microsoft.com/en-us/product/devcontainers/python/tags
"image": "mcr.microsoft.com/devcontainers/python:dev-3.13-bookworm",
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"charliermarsh.ruff",
"GitHub.copilot-chat"
]
}
},
"postCreateCommand": "pipx install uv && make install-deps-dev",
"remoteUser": "vscode"
"name": "template-langgraph",
// https://mcr.microsoft.com/en-us/product/devcontainers/python/tags
"image": "mcr.microsoft.com/devcontainers/python:dev-3.13-bookworm",
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"charliermarsh.ruff",
"GitHub.copilot-chat"
]
}
},
"postCreateCommand": "pipx install uv && make install-deps-dev",
"remoteUser": "vscode"
}
2 changes: 1 addition & 1 deletion .env.template
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Project environment variables
PROJECT_NAME=template-python
PROJECT_NAME=template-langgraph
4 changes: 2 additions & 2 deletions .github/workflows/docker-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ jobs:
GIT_REVISION=${{ github.sha }}
GIT_TAG=${{steps.set_version.outputs.no-dash}}
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/template-python:${{steps.set_version.outputs.no-dash}}
${{ secrets.DOCKERHUB_USERNAME }}/template-python:latest
${{ secrets.DOCKERHUB_USERNAME }}/template-langgraph:${{steps.set_version.outputs.no-dash}}
${{ secrets.DOCKERHUB_USERNAME }}/template-langgraph:latest
2 changes: 1 addition & 1 deletion .github/workflows/ghcr-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
tags:
- "v*"
env:
IMAGE_NAME: template-python
IMAGE_NAME: template-langgraph
jobs:
ghcr:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
# Copy application code after dependencies are installed
COPY . .

CMD ["python", "template_python/core.py"]
CMD ["python", "template_langgraph/core.py"]
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jupyterlab: ## run Jupyter Lab
# Docker
# ---
DOCKER_REPO_NAME ?= ks6088ts
DOCKER_IMAGE_NAME ?= template-python
DOCKER_IMAGE_NAME ?= template-langgraph
DOCKER_COMMAND ?=

# Tools
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[![test](https://github.com/ks6088ts/template-python/actions/workflows/test.yaml/badge.svg?branch=main)](https://github.com/ks6088ts/template-python/actions/workflows/test.yaml?query=branch%3Amain)
[![docker](https://github.com/ks6088ts/template-python/actions/workflows/docker.yaml/badge.svg?branch=main)](https://github.com/ks6088ts/template-python/actions/workflows/docker.yaml?query=branch%3Amain)
[![docker-release](https://github.com/ks6088ts/template-python/actions/workflows/docker-release.yaml/badge.svg)](https://github.com/ks6088ts/template-python/actions/workflows/docker-release.yaml)
[![ghcr-release](https://github.com/ks6088ts/template-python/actions/workflows/ghcr-release.yaml/badge.svg)](https://github.com/ks6088ts/template-python/actions/workflows/ghcr-release.yaml)
[![docs](https://github.com/ks6088ts/template-python/actions/workflows/github-pages.yaml/badge.svg)](https://github.com/ks6088ts/template-python/actions/workflows/github-pages.yaml)
[![test](https://github.com/ks6088ts-labs/template-langgraph/actions/workflows/test.yaml/badge.svg?branch=main)](https://github.com/ks6088ts-labs/template-langgraph/actions/workflows/test.yaml?query=branch%3Amain)
[![docker](https://github.com/ks6088ts-labs/template-langgraph/actions/workflows/docker.yaml/badge.svg?branch=main)](https://github.com/ks6088ts-labs/template-langgraph/actions/workflows/docker.yaml?query=branch%3Amain)
[![docker-release](https://github.com/ks6088ts-labs/template-langgraph/actions/workflows/docker-release.yaml/badge.svg)](https://github.com/ks6088ts-labs/template-langgraph/actions/workflows/docker-release.yaml)
[![ghcr-release](https://github.com/ks6088ts-labs/template-langgraph/actions/workflows/ghcr-release.yaml/badge.svg)](https://github.com/ks6088ts-labs/template-langgraph/actions/workflows/ghcr-release.yaml)
[![docs](https://github.com/ks6088ts-labs/template-langgraph/actions/workflows/github-pages.yaml/badge.svg)](https://github.com/ks6088ts-labs/template-langgraph/actions/workflows/github-pages.yaml)

# template-python
# template-langgraph

This is a template repository for Python

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# template-python
# template-langgraph
6 changes: 3 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json
site_name: template-python
site_name: template-langgraph
site_url: ""
repo_url: https://github.com/ks6088ts/template-python
repo_name: ks6088ts/template-python
repo_url: https://github.com/ks6088ts-labs/template-langgraph
repo_name: ks6088ts-labs/template-langgraph
nav:
- Home: index.md
theme:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[project]
name = "template-python"
name = "template-langgraph"
version = "0.0.1"
description = "A GitHub template repository for Python"
readme = "README.md"
Expand Down
6 changes: 3 additions & 3 deletions scripts/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
import typer
from dotenv import load_dotenv

from template_python.loggers import get_logger
from template_python.settings import Settings
from template_langgraph.loggers import get_logger
from template_langgraph.settings import Settings

# Initialize the Typer application
app = typer.Typer(
add_completion=False,
help="template-python CLI",
help="template-langgraph CLI",
)

# Set up logging
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import pytest

from template_python.core import hello_world
from template_langgraph.core import hello_world

logger = getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_loggers.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import logging
from logging import getLogger

from template_python.loggers import get_logger
from template_langgraph.loggers import get_logger

logger = getLogger(__name__)

Expand Down
4 changes: 2 additions & 2 deletions tests/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from dotenv import load_dotenv

from template_python.settings import Settings
from template_langgraph.settings import Settings

logger = getLogger(__name__)

Expand All @@ -20,5 +20,5 @@ def test_settings(caplog):
verbose=True,
), "Failed to load environment variables from .env.template"
settings = Settings()
assert settings.project_name == "template-python", "Default project name should be 'template-python'"
assert settings.project_name == "template-langgraph", "Default project name should be 'template-langgraph'"
logger.debug(f"Settings initialized: {settings}")
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.