Skip to main content

AI-powered project generator CLI with plugin marketplace

Project description

d_Pygen ⚡

Universal AI-Powered Project Generator CLI

d_Pygen is a powerful, extensible, and intelligent command-line tool that generates complete, production-ready project structures using AI, templates, and plugins.

It supports multiple languages, dependency managers, plugin marketplaces, and AI providers --- allowing developers to bootstrap projects instantly with correct structure, dependencies, and configurations.


📚 Table of Contents

  • Overview
  • Installation
  • Quick Start
  • Features
  • Command Reference
  • Core Commands
  • Config Commands
  • Plugin Commands
  • Template Commands
  • Cache Commands
  • Telemetry Commands
  • CLI Options
  • Example Workflows
  • Configuration
  • Supported Providers
  • Supported Platforms
  • Security
  • License
  • Author

🚀 Overview

d_Pygen is an intelligent CLI that generates complete project structures using:

  • AI providers (OpenAI, OpenRouter, Gemini, Ollama, Groq, Together)
  • Built-in templates
  • Plugin system
  • Dependency detection and installation
  • Automatic environment and toolchain validation
  • Template variants and plugin extensions

It eliminates manual setup and generates production-ready projects instantly.


🚀 Installation

Install from PyPI (Recommended)

pip install d_pygen

Install from Source

git clone https://github.com/dangerSayan/d_pygen.git
cd d_pygen
pip install -e .

⚡ Quick Start

Initialize configuration:

d_Pygen init

Create your first project:

d_Pygen create "FastAPI backend with JWT"

Interactive mode:

d_Pygen create

Show help:

d_Pygen help

Show version:

d_Pygen version

✨ Features

  • AI-powered project generation
  • Template-based generation
  • Plugin marketplace and plugin system
  • Automatic dependency installation
  • Toolchain and environment validation
  • Interactive mode
  • Template variants
  • Cross-platform support
  • Telemetry control
  • Cache system
  • Multiple AI provider support

📖 Command Reference

🧠 Core Commands

d_Pygen create "project description"
d_Pygen create --template fastapi --variant minimal
d_Pygen create "FastAPI backend" --install local
d_Pygen init
d_Pygen doctor
d_Pygen update
d_Pygen version
d_Pygen help

⚙️ Config Commands

d_Pygen config show
d_Pygen config set api_provider openrouter
d_Pygen config set api_key YOUR_KEY
d_Pygen config set api_model gpt-4o
d_Pygen config reset
d_Pygen config edit
d_Pygen config wizard

🔌 Plugin Commands

d_Pygen plugins install fastapi
d_Pygen plugins uninstall fastapi
d_Pygen plugins list
d_Pygen plugins search
d_Pygen plugins info fastapi
d_Pygen plugins marketplace
d_Pygen plugins update fastapi
d_Pygen plugins update-all
d_Pygen plugins upgrade
d_Pygen plugins outdated
d_Pygen plugins validate fastapi
d_Pygen plugins publish
d_Pygen plugins registry update
d_Pygen plugins cache clear
d_Pygen plugins cache info

📁 Template Commands

d_Pygen templates list

🧹 Cache Commands

d_Pygen cache list
d_Pygen cache clear
d_Pygen cache info

📊 Telemetry Commands

d_Pygen telemetry status
d_Pygen telemetry enable
d_Pygen telemetry disable
d_Pygen telemetry clear

Telemetry is anonymous and optional.


⚙️ CLI Options

Option Description
--provider Select AI provider
--template Use template
--variant Template variant
--install Dependency install mode
--output Output directory
--name Override project name
--dry-run Preview only
--force Overwrite existing
--verbose Enable verbose logging
--no-cache Disable cache

🧠 Example Workflows

d_Pygen init
d_Pygen create "FastAPI backend"
d_Pygen plugins install fastapi
d_Pygen doctor
d_Pygen update

📁 Configuration

Configuration directory:

~/.d_pygen/

Contains:

config.json
plugins/
templates/
cache/
logs/
registry.json

🤖 Supported AI Providers

  • OpenAI
  • OpenRouter
  • Gemini
  • Groq
  • Together
  • Ollama

🖥 Supported Platforms

  • Windows
  • Linux
  • macOS
  • WSL

🔒 Security

  • Plugin validation
  • Safe file generation
  • Plan validation
  • No arbitrary code execution

📜 License

MIT License


👤 Author

Sayan Bose

GitHub: https://github.com/dangerSayan/d_pygen


⭐ Support

If you like this project, please star the repository.

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

d_pygen-0.1.5.tar.gz (46.9 kB view details)

Uploaded Source

Built Distribution

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

d_pygen-0.1.5-py3-none-any.whl (55.9 kB view details)

Uploaded Python 3

File details

Details for the file d_pygen-0.1.5.tar.gz.

File metadata

  • Download URL: d_pygen-0.1.5.tar.gz
  • Upload date:
  • Size: 46.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for d_pygen-0.1.5.tar.gz
Algorithm Hash digest
SHA256 9872be793bcf45d9923d362dd0705f34e6a411f6acaa9ceeb482b8f4cd745a1c
MD5 fda2c92f9654600ac1d47845aa90474f
BLAKE2b-256 f981a9ad24f8a2a9a64ec18e1191a5f11913d7289d2e73e75f23b03d8e6ec3af

See more details on using hashes here.

File details

Details for the file d_pygen-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: d_pygen-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 55.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for d_pygen-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ec70fe5a6a84d7064626bbd41e0f74129e0e5dafba39ecc0d563aa0b30cb3ad3
MD5 238086c90c849b8e8352fa6e1479fb6e
BLAKE2b-256 b6062ec56d7b51ed23883486afa1073503c078f3246bdd32fc6bafd1bfa263c9

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