Skip to main content

jbussdieker-project

A modern Python development toolkit plugin for generating complete Python project structures using the jbussdieker CLI framework. This plugin creates fully configured Python projects with CI/CD workflows, testing setup, and all necessary development files.

🚀 Features

  • Complete Project Generation: Creates fully structured Python projects with all necessary files
  • CI/CD Integration: Includes GitHub Actions workflows for testing and publishing
  • Testing Setup: Pre-configured test structure with pytest
  • Modern Python Configuration: Uses pyproject.toml for modern Python packaging
  • License and Documentation: Automatically generates LICENSE and README files
  • Git Integration: Includes .gitignore and proper Git setup
  • Customizable Templates: Uses configurable templates for all generated files
  • Multi-Environment Support: Works across different Python versions and operating systems

📦 Installation

pip install jbussdieker-project --upgrade

🔧 Prerequisites

  • Python 3.9 or higher
  • jbussdieker CLI framework
  • Git (for version control integration)

🎯 Usage

Basic Usage

Create a new Python project (minimal template by default):

jbussdieker project my-awesome-project

Or specify a template:

jbussdieker project my-web-app --template flask
jbussdieker project my-api-app -t fastapi

Template Options

  • minimal (default): Basic Python package structure, no web framework
  • flask: Flask web application structure (includes routes, models, docs)
  • fastapi: FastAPI web application structure (includes routes, models, docs)

Example: Flask Project Structure

my-web-app/
├── .github/
│   └── workflows/
│       ├── ci.yml
│       └── publish.yml
├── src/
│   └── my-web-app/
│       ├── __init__.py
│       ├── cli.py
│       ├── routes.py
│       └── models.py
├── tests/
│   ├── __init__.py
│   └── test_app.py
├── docs/
├── LICENSE
├── Makefile
├── README.md
├── pyproject.toml
└── .gitignore

Example: FastAPI Project Structure

(Similar to Flask, but with FastAPI-specific templates)

Example: Minimal Project Structure

my-minimal-app/
├── src/
│   └── my-minimal-app/
│       ├── __init__.py
│       └── cli.py
├── tests/
│   ├── __init__.py
│   └── test_app.py
├── LICENSE
├── Makefile
├── README.md
├── pyproject.toml
└── .gitignore

Generated Project Structure

The plugin generates a complete Python project with:

  • Source Code: Properly structured src/ layout
  • Testing: pytest configuration and test files
  • CI/CD: GitHub Actions for testing and publishing
  • Documentation: README and license files
  • Build System: Modern pyproject.toml configuration
  • Development Tools: Makefile with common development commands

🔍 Generated Files

Core Project Files

  • pyproject.toml: Modern Python project configuration
  • README.md: Project documentation template
  • LICENSE: MIT license with your name
  • .gitignore: Python-specific Git ignore rules
  • Makefile: Development commands and shortcuts

CI/CD Workflows

  • .github/workflows/ci.yml: Automated testing workflow
  • .github/workflows/publish.yml: Automated publishing to PyPI

Source Structure

  • src/<project_name>/__init__.py: Main package initialization
  • tests/: Complete testing structure with pytest

🛠️ Development

This plugin is part of the jbussdieker ecosystem. It integrates seamlessly with the jbussdieker CLI framework.

Project Structure

src/jbussdieker/project/
├── __init__.py
├── cli.py          # CLI interface and argument parsing
├── generator.py    # Core project generation logic
├── git_utils.py    # Git integration utilities
├── template_loader.py # Template loading and substitution
└── templates/      # Project template files
    ├── minimal/   # Minimal Python package templates
    ├── flask/     # Flask web app templates
    └── fastapi/   # FastAPI web app templates

Template System

The plugin uses a flexible template system that supports variable substitution for:

  • Project name and description
  • User information (name, email)
  • GitHub organization
  • Default branch name
  • Version information
  • Template type (minimal, flask, fastapi)

📝 License

This project is licensed under MIT.

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Metadata

Release files for jbussdieker-project 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jbussdieker-project 0.6.0
File Size Uploaded Provenance Actions
jbussdieker_project-0.6.0.tar.gz 20.0 kB Without provenance Details for jbussdieker_project-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jbussdieker-project 0.6.0
File Interpreter ABI Platform Actions
jbussdieker_project-0.6.0-py3-none-any.whl Python 3 none any Details for jbussdieker_project-0.6.0-py3-none-any.whl

Total release size: 46.3 kB

Release files / jbussdieker_project-0.6.0.tar.gz

Download URL jbussdieker_project-0.6.0.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
42482c382c73cea38b948d740af4225bf08bad5ce22706be9411b04f32a35e93
BLAKE2b-256 checksum
How to use checksums
b844771a311c5807e4c0cb5e1924b4717b13e43c3c287e81152afb387a39474f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / jbussdieker_project-0.6.0-py3-none-any.whl

Download URL jbussdieker_project-0.6.0-py3-none-any.whl
Size 26.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d673f743c6456e644bf20f5d30474046a9e1fd789d1fc0b17490683224a17bb7
BLAKE2b-256 checksum
How to use checksums
0e3a2d93637af52a0fb8e5dfcfd10b4f7df5b4cd15f584c6566a23c3b424ea1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

Security for jbussdieker-project 0.6.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page