Skip to main content

CLI tool to bootstrap data engineering projects (Spark, Kafka, Airflow scaffolding)

Project description

🚀 Stackgen CLI

Stackgen is a developer-first CLI tool to bootstrap production-ready data engineering projects in seconds.

Build batch, streaming, or full data pipelines with a single command.


✨ Features

  • ⚡ Generate complete data engineering project scaffolds
  • 🧠 Supports Batch, Streaming, and Full pipelines
  • 🐳 Built-in Docker-based infrastructure setup
  • 🔄 Includes Spark, Kafka, Airflow integrations
  • 🎯 Interactive CLI with clean UX
  • 🧩 Template-based architecture (Jinja2)

🧱 Supported Pipelines

🟢 Batch Pipeline

  • Apache Spark (batch jobs)
  • Apache Airflow (orchestration)

🔴 Streaming Pipeline

  • Apache Kafka (event streaming)
  • Spark Structured Streaming

🔥 Full Pipeline

  • Batch + Streaming combined

⚡ Install

pip install stackgen-cli

🚀 Quickstart

stackgen init my-project

CLI Experience

? Select pipeline type:
❯ Batch Pipeline (Spark + Airflow)
  Streaming Pipeline (Kafka + Spark)
  Full Pipeline (Spark + Airflow + Kafka)

Run Generated Project

cd my-project
docker-compose up

📁 Example Generated Structure

my-project/
├── airflow/           # DAGs
├── spark/jobs/        # Batch & streaming jobs
├── kafka/             # Kafka producer (if streaming)
├── config/            # Config files
├── docker-compose.yml
└── requirements.txt

🛠️ Tech Stack

  • Python
  • Apache Spark
  • Apache Kafka
  • Apache Airflow
  • Docker
  • Jinja2 (templating)

🧠 How It Works

  1. CLI collects user input (pipeline type)
  2. Generator builds project structure
  3. Jinja templates render files dynamically
  4. Docker setup enables instant execution

🛣️ Roadmap

  • Feature toggles (Kafka / Airflow selection)
  • Config-driven generation (YAML support)
  • Cloud integrations (S3, Snowflake, BigQuery)
  • Plugin system for custom stacks
  • CI/CD pipeline templates

🤝 Contributing

Contributions are welcome! Feel free to open issues or submit PRs.


📌 Vision

Stackgen aims to become a go-to CLI tool for data engineers to quickly bootstrap scalable and production-ready data platforms.


👨‍💻 Author

Minhaz Alam


⭐ Support

If you like this project, give it a ⭐ on GitHub!

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

stackgen_cli-0.1.8.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

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

stackgen_cli-0.1.8-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file stackgen_cli-0.1.8.tar.gz.

File metadata

  • Download URL: stackgen_cli-0.1.8.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for stackgen_cli-0.1.8.tar.gz
Algorithm Hash digest
SHA256 c7b1b845c31e55aabdc82e9ab307b053bbcf08fe4bb4f0e2aa13a1a22d0055a3
MD5 9c2acfd385f51253a07f52b3fac33554
BLAKE2b-256 6d1e7cef69e8ddd8c1611a4d54900d2965e25e4064a2e2403f71393897e4ec64

See more details on using hashes here.

File details

Details for the file stackgen_cli-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: stackgen_cli-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for stackgen_cli-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 79dba6d98e5a17144191ca2f3b365a31e782bee54727daf46c65ffa2fbcc0447
MD5 3028899478f5e0e86e1c62dc1493f9e3
BLAKE2b-256 e899696936c95614682f438a069baf95fb55c8df4b797f2f8b2d856f74d022e4

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