Skip to main content

A modern Python development toolkit.

Project description

jbussdieker

A modern Python development toolkit with a modular plugin architecture โ€” from project scaffolding to AI-powered commits with automated releases.

๐Ÿš€ What it does

jbussdieker is your complete Python development toolkit built with a modular plugin system:

Core CLI Framework:

  • โœ… Lightweight CLI with plugin discovery via entry points
  • โœ… Configurable logging and settings management
  • โœ… Extensible command system for plugins

Plugin Ecosystem:

  • โœ… jbussdieker-project โ€” Project scaffolding and templates
  • โœ… jbussdieker-commit โ€” AI-powered conventional commit messages
  • โœ… jbussdieker-app โ€” Application framework and utilities
  • โœ… jbussdieker-service โ€” Service layer and API utilities
  • โœ… jbussdieker-storage โ€” Data storage and persistence layer
  • โœ… jbussdieker-config โ€” Configuration management (core dependency)

Modern Python Development:

  • โœ… release-please workflow for versioning and changelogs
  • โœ… Publish to PyPI using Trusted Publishers
  • โœ… GitHub Actions CI for linting, typing, tests, and publishing

No tokens. No manual uploads. Just push, merge, and release.

๐Ÿ“ฆ Install

Core CLI

pip install jbussdieker

With all plugins

pip install jbussdieker[all]

Individual plugins

# Project scaffolding
pip install jbussdieker[project]

# AI-powered commits
pip install jbussdieker[commit]

# Application framework
pip install jbussdieker[app]

# Service layer
pip install jbussdieker[service]

# Storage layer
pip install jbussdieker[storage]

๐Ÿ”Œ Plugin Ecosystem

jbussdieker-project โ€” Project Scaffolding

Create modern Python projects with zero friction:

jbussdieker project create myproject
cd myproject
git init
git commit --allow-empty -m "chore: init"
gh repo create --source=. --private --push
git add .
git commit -m "feat: initial commit"
git push

Features:

  • โœ… pyproject.toml using PEP 621
  • โœ… GitHub Actions CI for linting, typing, tests, and publishing
  • โœ… Makefile with simple install, lint, test commands
  • โœ… .gitignore for Python best practices
  • โœ… release-please workflow for versioning and changelogs
  • โœ… Publish to PyPI using Trusted Publishers

jbussdieker-commit โ€” AI-Powered Commits

Generate conventional commit messages using AI:

# Stage your changes
git add .

# Generate and edit a commit message
jbussdieker commit

# Or preview the message without committing
jbussdieker commit --dry-run

Features:

  • ๐Ÿ“ Generate conventional commit messages (feat, fix, docs, etc.)
  • ๐Ÿ” Analyze your staged changes and project context
  • โœ๏ธ Open your editor for final review and editing
  • ๐Ÿš€ Create the commit with your approved message

Requirements:

  • OpenAI API key in OPENAI_API_KEY environment variable
  • Staged changes in your git repository
  • Your preferred editor (defaults to vim)

jbussdieker-app โ€” Application Framework

Build modern Python applications with best practices:

jbussdieker app create myapp
cd myapp
# Start building your application

Features:

  • ๐Ÿ—๏ธ Application scaffolding with proper structure
  • ๐Ÿ”ง Configuration management integration
  • ๐Ÿ“ฆ Dependency management and packaging
  • ๐Ÿงช Testing framework setup
  • ๐Ÿš€ Deployment-ready structure

jbussdieker-service โ€” Service Layer

Build robust service-oriented applications:

jbussdieker service create myservice
cd myservice
# Build your service layer

Features:

  • ๐Ÿ”Œ Service discovery and registration
  • ๐Ÿ“ก API utilities and middleware
  • ๐Ÿ”’ Authentication and authorization helpers
  • ๐Ÿ“Š Monitoring and health checks
  • ๐Ÿš€ Scalable service architecture

jbussdieker-storage โ€” Data Storage

Manage data persistence across different backends:

jbussdieker storage create mystorage
cd mystorage
# Configure your storage layer

Features:

  • ๐Ÿ’พ Multi-backend storage support
  • ๐Ÿ”„ Data migration utilities
  • ๐Ÿ” Query builders and ORM helpers
  • ๐Ÿ›ก๏ธ Data validation and sanitization
  • ๐Ÿ“ˆ Performance monitoring

jbussdieker-config โ€” Configuration Management

Centralized configuration for all your applications:

# Configuration is automatically managed
# across all jbussdieker plugins

Features:

  • โš™๏ธ Environment-based configuration
  • ๐Ÿ” Secure secret management
  • ๐Ÿ“ YAML/TOML/JSON support
  • ๐Ÿ”„ Hot-reload capabilities
  • ๐Ÿงช Test configuration helpers

โœ… Set up automated releases

1๏ธโƒฃ Ensure GitHub Actions has required permissions

For release-please to work, your repository's Actions must have write access and permission to create PRs.

  • Allow workflows to write to your repo:

    • Go to your repo's Settings โ†’ Actions โ†’ General (GitHub Actions settings)
    • Under Workflow permissions, select Read and write permissions
  • Allow Actions to create PRs:

    • In the same Actions settings
    • Check Allow GitHub Actions to create and approve pull requests

2๏ธโƒฃ Add a Trusted Publisher on PyPI

Configure PyPI to trust your GitHub repo for publishing

  • Visit PyPI Publishing

  • Scroll down to add a new pending publisher

  • Fill out:

    • GitHub Owner โ†’ your username or org

    • Repository Name โ†’ your repo name (myproject)

    • Workflow Name โ†’

      publish.yml
      
    • Environment Name โ†’

      release
      
  • Click Add.

3๏ธโƒฃ Push your first tag

Once release-please opens a version bump PR, merging it will automatically publish your package. No API keys needed โ€” PyPI trusts your GitHub Action.

๐Ÿงน Local development

Your project includes a simple Makefile:

make venv    # create .venv
make install # pip install -e .
make lint    # black + mypy
make format  # run black
make test    # run unittest
make clean   # remove .venv

๐Ÿ”’ Recommended GitHub repo settings

  • โœ… Use Squash merge only โ€” keeps your history tidy and is required for a linear commit history. See why release-please recommends this.
  • โœ… Enable Auto-delete branches after merge

๐Ÿ“ข Example workflow

# 1๏ธโƒฃ Scaffold the project locally
jbussdieker project create myproject
cd myproject

# 2๏ธโƒฃ Init the repo with an empty commit to push just the structure
git init
git commit --allow-empty -m "chore: init"  # ensures a branch exists for first push
gh repo create --source=. --public --push

# โธ๏ธ This step ensures your repo exists on GitHub first,
# so you can safely configure required Actions + PyPI before any workflows run!

# 3๏ธโƒฃ Now pause โ€” go to GitHub and:
#    โœ… Set Workflow permissions to Read & Write
#    โœ… Allow Actions to create & approve PRs
#    โœ… Add PyPI Trusted Publisher if you like

# 4๏ธโƒฃ Add the actual files
git add .
# Optionally use AI-powered commits:
# jbussdieker commit
# Or traditional commit:
git commit -m "feat: initial code"
git push

# 5๏ธโƒฃ Merge your first release-please PR ๐Ÿš€

๐Ÿ”Œ Plugin Development

Want to extend jbussdieker with your own plugins? The CLI uses entry points for plugin discovery:

# In your plugin's setup.py or pyproject.toml
[project.entry-points."jbussdieker.cli"]
myplugin = "myplugin.cli:register"
# myplugin/cli.py
def register(subparsers):
    parser = subparsers.add_parser("myplugin", help="My plugin command")
    parser.add_argument("--option", help="My option")
    parser.set_defaults(func=myplugin_command)

def myplugin_command(args, config):
    # Your plugin logic here
    pass

๐Ÿ“ License

This project is licensed under MIT.

๐ŸŽ‰ Ship faster

No config sprawl. No secrets rotation. Just git push and publish Python packages the modern way with a modular, extensible toolkit.


Enjoy! ๐Ÿš€

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

jbussdieker-0.21.1.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

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

jbussdieker-0.21.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file jbussdieker-0.21.1.tar.gz.

File metadata

  • Download URL: jbussdieker-0.21.1.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for jbussdieker-0.21.1.tar.gz
Algorithm Hash digest
SHA256 881ab4db4b2a45ecc128836d8e293645d07992fd62bb4ca05fd35d2325e585f1
MD5 e48a9cb426b09d67b90383a466c1f598
BLAKE2b-256 54efcb906632a58a6d60841f3507a6d253362023951c5b6f0f8f2812599009a6

See more details on using hashes here.

File details

Details for the file jbussdieker-0.21.1-py3-none-any.whl.

File metadata

  • Download URL: jbussdieker-0.21.1-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for jbussdieker-0.21.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3be7aeeb59c0dd61ec8b0663849322f6c5bf21f14ad2eff0a399b80542fb8eaf
MD5 3a915c63cd9241df97aa2ea33d1a46d0
BLAKE2b-256 410568e8704cc3a941ab8d7e1149c59fa9a4acd0cd4992ef3653e632847f1cab

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