Skip to main content

QAB framework, high performance, secure, easy to learn, fast to code, ready for production

Project description

🚀 Quick API Builder Core (QAB Core)

PyPI Version Coverage Quality Gate Maintainability Documentation Build Status License: MIT Twitter: MaJyxWorld

Quickly build secure and blazing-fast APIs with Python.
QAB Core is built on top of Bottle and uses Gunicorn for production performance.


✨ Features

  • Ultra-fast API creation with minimal boilerplate
  • 🔒 Secure by default (SSL, best practices)
  • 🧩 Pluggable architecture for controllers and extensions
  • 🧪 Easy testing with Pytest & Tox
  • 📈 Built-in code coverage & SonarQube support
  • 📝 Comprehensive documentation

📦 Installation

pip install qab_core

🚀 Quick Start

1. Create a Controller

from qab_core.controller import Controller

class TestController(Controller):
    def index(self):
        return "Hello world!"

    def hello(self, firstname, lastname=""):
        return f"Hello {firstname} {lastname}"

2. Create a Startup File

from qab_core.server import Server
from controllers.testcontrollers import TestController

def start():
    app = Server()
    TestController(app).register()
    app.start()

if __name__ == "__main__":
    start()

🧪 Running Tests

With Pytest:

pytest --cov=qab_core --cov-report=xml --cov-report=html

With Tox:

tox

With SonarQube:

sonar-scanner

📚 Documentation

Full documentation is available here.


👤 Author

Benjamin Schwald


🤝 Contributing

Contributions, issues and feature requests are welcome!
Check the issues page or see the contributing guide.


💖 Show your support

If you find this project useful, please give it a ⭐️ or consider supporting:

Patreon


📝 License

Copyright © 2021-2025 MaJyx.

This project is MIT licensed.

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

qab_core-0.0.5.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

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

qab_core-0.0.5-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file qab_core-0.0.5.tar.gz.

File metadata

  • Download URL: qab_core-0.0.5.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for qab_core-0.0.5.tar.gz
Algorithm Hash digest
SHA256 2ed1d91609e2bdf7a854b6218fac3a19e18fce7a36ed9783f1b48d0c50d445c2
MD5 dfa37b7265cfaa58024d6cbcf1c541b5
BLAKE2b-256 429f31fa00cd2ea3b84df944b1eb576dda9963a1cb207818305895ff5d8ee471

See more details on using hashes here.

Provenance

The following attestation bundles were made for qab_core-0.0.5.tar.gz:

Publisher: publish.yml on MaJyxSoftware/qab_core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qab_core-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: qab_core-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for qab_core-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f2fdcca2897b233b129335b9473baaccf3fd7a40867d25393f299076ba343fd2
MD5 a61ea5582a258380f8569c3a35d29f7e
BLAKE2b-256 08dd5102a36ae29bd967db3a2344ee9218495fa95528ffd0ac0f1068a5f0817d

See more details on using hashes here.

Provenance

The following attestation bundles were made for qab_core-0.0.5-py3-none-any.whl:

Publisher: publish.yml on MaJyxSoftware/qab_core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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