QAB framework, high performance, secure, easy to learn, fast to code, ready for production
Project description
🚀 Quick API Builder Core (QAB Core)
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
- 🌐 majyx.net
- 🐦 @MaJyxWorld
- 💻 GitHub
🤝 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:
📝 License
Copyright © 2021-2025 MaJyx.
This project is MIT licensed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ed1d91609e2bdf7a854b6218fac3a19e18fce7a36ed9783f1b48d0c50d445c2
|
|
| MD5 |
dfa37b7265cfaa58024d6cbcf1c541b5
|
|
| BLAKE2b-256 |
429f31fa00cd2ea3b84df944b1eb576dda9963a1cb207818305895ff5d8ee471
|
Provenance
The following attestation bundles were made for qab_core-0.0.5.tar.gz:
Publisher:
publish.yml on MaJyxSoftware/qab_core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qab_core-0.0.5.tar.gz -
Subject digest:
2ed1d91609e2bdf7a854b6218fac3a19e18fce7a36ed9783f1b48d0c50d445c2 - Sigstore transparency entry: 202619365
- Sigstore integration time:
-
Permalink:
MaJyxSoftware/qab_core@09bba6dbed8ffdf8d3a6d9c484c004a15b51fa29 -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/MaJyxSoftware
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@09bba6dbed8ffdf8d3a6d9c484c004a15b51fa29 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2fdcca2897b233b129335b9473baaccf3fd7a40867d25393f299076ba343fd2
|
|
| MD5 |
a61ea5582a258380f8569c3a35d29f7e
|
|
| BLAKE2b-256 |
08dd5102a36ae29bd967db3a2344ee9218495fa95528ffd0ac0f1068a5f0817d
|
Provenance
The following attestation bundles were made for qab_core-0.0.5-py3-none-any.whl:
Publisher:
publish.yml on MaJyxSoftware/qab_core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qab_core-0.0.5-py3-none-any.whl -
Subject digest:
f2fdcca2897b233b129335b9473baaccf3fd7a40867d25393f299076ba343fd2 - Sigstore transparency entry: 202619372
- Sigstore integration time:
-
Permalink:
MaJyxSoftware/qab_core@09bba6dbed8ffdf8d3a6d9c484c004a15b51fa29 -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/MaJyxSoftware
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@09bba6dbed8ffdf8d3a6d9c484c004a15b51fa29 -
Trigger Event:
release
-
Statement type: