Skip to content

DazzleTools/git-repokit-template

Repository files navigation

$PROJECT_NAME

$DESCRIPTION

Installation

pip install $PACKAGE_NAME

From Source

git clone https://github.com/$GITHUB_ORG/$PROJECT_NAME.git
cd $PROJECT_NAME
pip install -e ".[dev]"

Usage

$CLI_COMMAND --help

Development

# Clone and install
git clone https://github.com/$GITHUB_ORG/$PROJECT_NAME.git
cd $PROJECT_NAME
python -m venv .venv
source .venv/bin/activate  # or .venv\Scripts\activate on Windows
pip install -e ".[dev]"

# Run tests
python -m pytest tests/ -v

# Install git hooks (if using repokit-common submodule)
bash scripts/repokit-common/install-hooks.sh

License

GPL-3.0-or-later. See LICENSE for details.


Template Variables

When creating a project from this template, replace these placeholders:

Variable Description Example
$PROJECT_NAME Repository/project name my-cool-tool
$PACKAGE_NAME Python package name (underscores) my_cool_tool
$DESCRIPTION One-line project description A tool that does cool things
$GITHUB_ORG GitHub organization or user DazzleTools
$GITHUB_USER GitHub username djdarcy
$AUTHOR_EMAIL Author email user@example.com
$CLI_COMMAND CLI entry point command mytool

Quick replacement (after cloning from template):

# Linux/Mac
find . -type f -not -path "./.git/*" -exec sed -i 's/\$PROJECT_NAME/my-cool-tool/g' {} +
find . -type f -not -path "./.git/*" -exec sed -i 's/\$PACKAGE_NAME/my_cool_tool/g' {} +
# ... etc for each variable

# Or use git-repokit:
repokit adopt . --name my-cool-tool

About

Template repository for DazzleTools Python projects -- PyPI and ComfyUI archetypes with CI, tests, and repokit integration

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors

Languages