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
- Create a new directory under
src/whiteduck/templates/ - Name the directory what you want the command to be (e.g.,
apiforwhiteduck api) - Add your template files to this directory
- 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
- Website: https://www.whiteduck.de
- Version: 0.1.0
License
Copyright © 2024 white duck GmbH. All rights reserved.
Metadata
Release files for whiteduck 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| whiteduck-0.5.0.tar.gz | 99.6 kB | Without provenance | Details for whiteduck-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| whiteduck-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for whiteduck-0.5.0-py3-none-any.whl |
Total release size: 228.1 kB
Release files / whiteduck-0.5.0.tar.gz
| Download URL | whiteduck-0.5.0.tar.gz |
|---|---|
| Size | 99.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40864afcf6049018b006f0866a76db03a5eefd81359101d03d66cdcb0d90521d
|
|
BLAKE2b-256 checksum How to use checksums |
d87187a05946d963a713f840ec76eacd1891a39e803cc0a52034a4cbaa727d0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.8
|
Release files / whiteduck-0.5.0-py3-none-any.whl
| Download URL | whiteduck-0.5.0-py3-none-any.whl |
|---|---|
| Size | 128.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a6f01054b40125028947cc2d6b4853102ee152899e6f734056b118295fd7f6b
|
|
BLAKE2b-256 checksum How to use checksums |
70a43d3dd2719414ee90ffff1aba1ea93cae1c84394089bb66288eb7c7057d41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.8
|
Security for whiteduck 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.