Skip to main content

CLI tool to kickstart Django projects with labb

Project description

labbstart

The fastest way to get started with labb - the UI for Django perfectionists.

Installation

pip install labbstart

Or with poetry:

poetry add labbstart

Or with uv:

uv add labbstart

Quick Start

Create a new Django project with labb pre-configured:

labbstart new

This will interactively prompt you for:

  • Project name
  • Django version (4, 5, or 6)
  • Package manager (poetry, pip, or uv)
  • Starter kit (welcome)
  • App name for the starter kit

Non-Interactive Mode

You can also pass all parameters as flags:

labbstart new myproject \
  --django-version 5 \
  --package-manager poetry \
  --kit welcome \
  --app-name starter

What Does It Do?

The labbstart new command will:

  1. ✨ Create a new Django project directory
  2. 📦 Initialize your chosen package manager (poetry/pip/uv)
  3. 🎯 Install Django with your specified version
  4. 🚀 Set up a Django project structure
  5. 🎨 Install labbui and labbicons (includes django-cotton)
  6. 📋 Add a starter kit as a Django app
  7. ⚙️ Configure settings.py and urls.py
  8. 🎨 Initialize labb (Tailwind CSS + DaisyUI)
  9. 🔨 Build initial CSS
  10. 📝 Create .gitignore and README.md

After completion, you'll have a fully configured Django project with labb components ready to use!

Available Kits

Welcome Kit

A simple single-page starter that showcases basic labb components.

Next Steps

After running labbstart new, you'll need to start two processes in separate terminals:

Terminal 1 - CSS Development Server:

cd your-project-name
labb dev

Terminal 2 - Django Development Server:

cd your-project-name
python manage.py runserver

Then visit http://localhost:8000 to see your new project!

Requirements

  • Python 3.10+ (but < 4.0)
  • One of: poetry, pip, or uv

Documentation

For more information about labb components and usage, visit labb.io.

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

labbstart-0.2.0.tar.gz (32.1 kB view details)

Uploaded Source

Built Distribution

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

labbstart-0.2.0-py3-none-any.whl (38.0 kB view details)

Uploaded Python 3

File details

Details for the file labbstart-0.2.0.tar.gz.

File metadata

  • Download URL: labbstart-0.2.0.tar.gz
  • Upload date:
  • Size: 32.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for labbstart-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6ac7e4ec2fc37c9a6a9db4517d9f38474aaa97065052d84bc61ff58c69686368
MD5 9bf93deff9a557f592e0f085f6daf27e
BLAKE2b-256 20e954b78629312af3a4740c96ff5c77eb8d78445b36343c7018ccb36e8ecd88

See more details on using hashes here.

Provenance

The following attestation bundles were made for labbstart-0.2.0.tar.gz:

Publisher: release.yml on labbhq/labb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file labbstart-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: labbstart-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 38.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for labbstart-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 01e9addf904a26768dcd6439b9b07112a7178befff1eebcd6b4cbca8a06b626e
MD5 8a0f85e339b1141ec9a64eeacaa57e65
BLAKE2b-256 712f2ef7f58b4f4af3250c2e4b41cfbfed1a9fc5660c96cebb3b735b28b7fb16

See more details on using hashes here.

Provenance

The following attestation bundles were made for labbstart-0.2.0-py3-none-any.whl:

Publisher: release.yml on labbhq/labb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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