Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

whiteduck

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

whiteduck

Add your description here

  • 0.5.0
  • PyPI
  • Socket score

Maintainers
1

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:

  • UV Installation Guide
  • UV GitHub Repository

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

License

Copyright © 2024 white duck GmbH. All rights reserved.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc