Skip to main content

A compact, fast, and easy to use flask backend wrapper

Project description

Wavebox: Clean, Compact, and Easy Flask Backend Wrapper

PyPI Version Python Versions License

Buy Me a Coffee

Welcome to Wavebox – your ultimate solution for creating clean, compact, and blazing-fast Flask backend applications with ease! Whether you're a seasoned developer or just starting with Flask, Wavebox empowers you to build web applications quickly and efficiently.

Features

  • Simplicity: Wavebox is designed to make Flask backend development a breeze. Its clean and intuitive API lets you focus on your application's logic rather than boilerplate code.

  • Compact: We believe in minimalism. With Wavebox, you get a lightweight package that doesn't bloat your project. It keeps your codebase neat and tidy.

  • Ease of Use: Whether you're a beginner or a pro, Wavebox is easy to pick up. Our documentation is comprehensive and user-friendly, helping you get started in no time.

Installation

Install Wavebox using pip:

pip install wavebox

Quick Start

Getting started with Wavebox is as easy as 1-2-3! Here's a quick example of setting up a basic Flask app:

Main

from flask import Flask, Blueprint, Response, jsonify
from werkzeug.exceptions import NotFound, BadRequest
from wavebox.definitions import Applications
from wavebox.components.exceptions import FundamentalException

class ApplicationName(Applications):

    def __init__(self, flask_app: Flask):
        super().__init__(flask_app, Blueprint('root', flask_app.name, url_prefix="/"))

    def global_handle_http_exception(self, ex: FundamentalException) -> Response:
        pass

def main():
    app = Flask(__name__)
    application_name = ApplicationName(app)
    application_name.start()

if __name__ == '__main__':
    main()

Save this as app.py, and you're ready to go! Run your app with python app.py, and visit http://localhost:5000 in your browser to see it in action.

Documentation

For detailed information on using Wavebox, check out our documentation.

Contributing

We welcome contributions from the community! If you have ideas, bug reports, or want to contribute to Wavebox, please see our Contribution Guidelines.

License

Wavebox is distributed under the GNU General Public License.

Get Started Now

Wavebox is here to simplify your Flask backend development. Start building web applications the clean, compact, fast, and easy way with Wavebox!

if you have ideas, bug reports, or want to contribute to Wavebox, please see our Contribution Guidelines.

Happy coding with Wavebox! 🚀🌊

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

wavebox-1.0.1.tar.gz (21.8 kB view hashes)

Uploaded Source

Built Distribution

wavebox-1.0.1-py3-none-any.whl (22.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page