jbussdieker-app
A modern Python development toolkit plugin for creating and managing Flask web applications. This plugin integrates with the jbussdieker CLI framework to provide a streamlined development experience for Flask applications.
🚀 Features
- Flask Application Generator: Quickly create and run Flask applications
- Bootstrap Integration: Built-in Bootstrap 5 support for modern UI components
- Health Check Endpoint: Automatic
/healthzendpoint for monitoring - Development Server: Easy-to-use development server with configurable host
- CLI Integration: Seamless integration with the jbussdieker CLI framework
- Modern Python: Built with Python 3.9+ and modern Flask practices
📦 Installation
pip install jbussdieker-app --upgrade
🔧 Prerequisites
- Python 3.9 or higher
- jbussdieker CLI framework
- Flask and related dependencies (automatically installed)
🎯 Usage
Basic Usage
Create and run a Flask application:
jbussdieker app
This will start a Flask development server on http://0.0.0.0:9000.
Custom Host Configuration
Specify a custom host for the development server:
jbussdieker app --host 127.0.0.1
Available Endpoints
- Root (
/): Displays application version information - Health Check (
/healthz): Returns "OK" for health monitoring
🏗️ Project Structure
The plugin creates a Flask application with the following structure:
src/jbussdieker/app/
├── __init__.py # Package initialization
├── cli.py # CLI interface and argument parsing
├── factory.py # Flask application factory
└── blueprint.py # Route definitions and views
🔍 How It Works
- CLI Registration: Registers the
appcommand with jbussdieker CLI - Application Factory: Uses Flask's application factory pattern for clean architecture
- Bootstrap Integration: Automatically configures Bootstrap 5 for modern styling
- Blueprint Registration: Organizes routes using Flask blueprints
- Development Server: Runs the Flask development server with configurable options
🛠️ Development
This plugin is part of the jbussdieker ecosystem. It integrates seamlessly with the jbussdieker CLI framework.
Dependencies
- Flask: Web framework
- Bootstrap-Flask: Bootstrap 5 integration
- Flask-SQLAlchemy: Database ORM (available for future use)
Extending the Application
You can extend the Flask application by:
- Adding new routes to
blueprint.py - Creating additional blueprints for modular organization
- Configuring database models with Flask-SQLAlchemy
- Adding custom middleware or extensions
📝 License
This project is licensed under MIT.
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
📚 Related
- jbussdieker - The main CLI framework
- Flask - Web framework
- Bootstrap - CSS framework
Metadata
Release files for jbussdieker-app 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jbussdieker_app-0.4.1.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jbussdieker_app-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / jbussdieker_app-0.4.1.tar.gz
| Download URL | jbussdieker_app-0.4.1.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ecc86f3a47110b638cc89679755045bd181bc18878f635f5e05ac5aec0607ceb
|
|
BLAKE2b-256 checksum How to use checksums |
99f09cf5e5bd00d043ea67b2e1cfc0de3ba6969250af3efa38932727d210b3f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Release files / jbussdieker_app-0.4.1-py3-none-any.whl
| Download URL | jbussdieker_app-0.4.1-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b3df083e2a0a82d9cfc556ed979aae51de4da9e28a59d808f06fccf58f4cdaf1
|
|
BLAKE2b-256 checksum How to use checksums |
765a9c2d0f60f43120a380b34c62b146d6527109eaaaa5b91ae2fe82d77509a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|