Skip to main content

Add your description here

Project description

white duck Project Starter

A command-line tool for quickly creating new projects from templates. Automatically discovers and provides commands for all templates in the templates directory.

Installation

# Clone the repository
git clone https://github.com/whiteduck-dev/project-starter.git
cd project-starter

# Install using uv
uv build
uv pip install -e .

Usage

Install uv

Visit the official documentation for detailed installation instructions:

List available templates:

uvx whiteduck --help

Create a new project:

# Basic usage - creates in current directory
uvx whiteduck react

# Specify output directory
uvx whiteduck react -o my-project

Get help for a specific template:

uvx whiteduck react --help

Available Templates

  • react - A modern React project template with:

    • TypeScript support
    • Vite for fast development
    • TailwindCSS for styling
    • Shadcn/ui components
    • Python backend structure
  • lib - A template for creating Python libraries

    • Modern Python package structure
    • Testing setup
    • Documentation scaffolding
  • package - A template for Python packages

    • Basic package structure
    • Development tools configuration
    • Distribution setup

Adding New Templates

  1. Create a new directory under src/whiteduck/templates/
  2. Name the directory what you want the command to be (e.g., api for whiteduck api)
  3. Add your template files to this directory
  4. The command will be automatically available - no code changes needed

For example:

# Create a new template
mkdir src/whiteduck/templates/api

# Add template files
cp -r my-api-files/* src/whiteduck/templates/api/

# The command is now available
uv run whiteduck api --help

Links

License

Copyright © 2024 white duck GmbH. All rights reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whiteduck-0.4.1.tar.gz (80.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

whiteduck-0.4.1-py3-none-any.whl (85.8 kB view details)

Uploaded Python 3

File details

Details for the file whiteduck-0.4.1.tar.gz.

File metadata

  • Download URL: whiteduck-0.4.1.tar.gz
  • Upload date:
  • Size: 80.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.8

File hashes

Hashes for whiteduck-0.4.1.tar.gz
Algorithm Hash digest
SHA256 8a91fb900af32ab19a5c045a4a39660bb7f100db9aff54684642c64b97e3933e
MD5 1927ab8d2d26053136e45da5bc0148de
BLAKE2b-256 c3b196a1780338f90c831bff5f23857b11073ae692d0a1eed330cbab911c48e5

See more details on using hashes here.

File details

Details for the file whiteduck-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: whiteduck-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 85.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.8

File hashes

Hashes for whiteduck-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9f21a1e946ab8dad18f3cd77d8222344db2e320bf6f7d26c2dff4bf0c8ce4613
MD5 4ea46a76aca4d6a80ced53abf8397667
BLAKE2b-256 8dc3f50c3b5fd4a286f979d254afa17bcda26266ce03a51d7600fa68bbea3d10

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page