Skip to main content

The crate engine for web apps - instant apps with zero config

Project description

DBBasic CLI

The crate engine for web apps - Zero to running app in 30 seconds.

Replace your entire web development stack with a single command. DBBasic gives you the power of PostgreSQL, Redis, Kafka, Celery, Elasticsearch, and more - all in one process.

Installation

pip install dbbasic-cli

Or run directly without installing:

pipx run dbbasic-cli crm

Quick Start

Create instant applications

# Create a complete CRM in 30 seconds
dbbasic crm

# Create an e-commerce shop
dbbasic shop

# Create a blog
dbbasic blog

Each command creates a complete, running application with:

  • Database with sample data
  • API with documentation
  • Admin interface
  • User interface
  • Real-time features
  • AI services

Manage services

# Start all DBBasic services
dbbasic start

# Check status
dbbasic status

# View logs
dbbasic logs -f

# Stop services
dbbasic stop

Development workflow

# Check system health
dbbasic doctor

# Open dashboard in browser
dbbasic open

# View port usage
dbbasic ports

What's Included

🚀 Instant Apps

  • CRM: Contacts, deals, pipeline, lead scoring
  • Shop: Products, cart, checkout, inventory
  • Blog: Posts, comments, SEO, social sharing

🔧 Built-in Stack

  • Database: DuckDB with 402M rows/sec performance
  • Queue: Message queue (replaces Kafka)
  • Jobs: Background processing (replaces Celery)
  • Cache: In-memory cache (replaces Redis)
  • Search: Full-text search (replaces Elasticsearch)
  • Monitoring: Real-time metrics (replaces Grafana)

🎯 Zero Configuration

  • No YAML files to write
  • No Docker to configure
  • No services to orchestrate
  • Just run and go

Examples

Create and run a CRM

# Create the CRM
dbbasic crm my-crm

# Navigate to the project
cd my-crm

# Start the application
python run.py

# Open in browser
open http://localhost:8000

Start existing DBBasic project

# In a DBBasic project directory
dbbasic start

# Check what's running
dbbasic status
✅ Real-time Monitor    [8004] Running
✅ CRUD Engine         [8005] Running
✅ AI Service Builder  [8003] Running
✅ Event Store         [8007] Running

# Open the dashboard
dbbasic open

Philosophy

DBBasic follows the Unix philosophy:

  • Do one thing well: Each command has a clear purpose
  • Compose freely: Commands work together
  • Text interface: Everything is pipeable
  • No surprises: Smart defaults, no wizards

Why DBBasic?

Traditional stack:

  • 12+ services to configure
  • 8GB RAM minimum
  • DevOps team required
  • Days to set up

DBBasic:

  • 1 command
  • 200MB RAM
  • Works instantly
  • 30 seconds to running app

Requirements

  • Python 3.8+
  • DuckDB
  • FastAPI

License

MIT

Contributing

DBBasic is open source. Contribute at: https://github.com/askrobots/dbbasic


"We replaced your entire infrastructure with a single command"

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

dbbasic_cli-0.1.1.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

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

dbbasic_cli-0.1.1-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file dbbasic_cli-0.1.1.tar.gz.

File metadata

  • Download URL: dbbasic_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.1

File hashes

Hashes for dbbasic_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5b18a2568dda3057c4b5ceffbdd575f07fa135c58ce0a34611e78f9bb71b5f62
MD5 ddb26f040ff6038fbb5f25a8346ed9e5
BLAKE2b-256 f27cc7204e07c1f5e780dee3379b16f1ea43217776db0ecf5da82fd8943fa014

See more details on using hashes here.

File details

Details for the file dbbasic_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: dbbasic_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.1

File hashes

Hashes for dbbasic_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 121b189522d7be6d9d6b03ee96ab5907d30064d4689de26f929830274ac89dd2
MD5 83da2c5eb82566f21cfe077f2bf205f6
BLAKE2b-256 00d2f58936cb07d8e0ebd649ab530e3d9312f8c53b501822ce345f23e4d86efb

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