📦 b4n1-boost
Transparent native middleware acceleration layer for Python frameworks (Django, FastAPI, Flask, WSGI/ASGI).
🌍 Languages / Idiomas / 语言
| 🇬🇧 English | 🇪🇸 Español | 🇫🇷 Français | 🇩🇪 Deutsch |
| 🇵🇹 Português | 🇨🇳 简体中文 | 🇯🇵 日本語 |
🚀 Features
- 🚀 General Throughput Acceleration: 3x to 11x faster request processing.
- ⚡ JSON Serialization: Up to 50x speedup over standard Python dynamic serialization.
- 🛡️ Native Rust Middleware: Zero-overhead FFI interop between Python and Rust.
- 🔐 License Compliance: BSL 1.1 with a clear free tier and enterprise licensing path.
- 📊 Framework Support: Django, FastAPI, Flask, WSGI/ASGI integration.
📦 Installation
pip install b4n1-boost
Precompiled native binaries are bundled with the wheel for Linux, macOS and Windows — no compiler required.
🚀 Quick Start
No code rewrites. Initialize the SDK when your app starts:
Django
In your settings.py or wsgi.py:
import b4n1_boost
b4n1_boost.install_django()
FastAPI
In your main module:
import b4n1_boost
b4n1_boost.install_fastapi()
Flask
In your app initialization:
import b4n1_boost
b4n1_boost.install_flask()
Auto-detection
Let b4n1-boost detect the active framework automatically:
import b4n1_boost
b4n1_boost.autoboost()
🔍 Status & Diagnostics
Check the engine state and active accelerations:
import b4n1_boost
print(b4n1_boost.status())
Expected output:
{
"native_extension": true,
"version": "0.1.2",
"features": ["json_acceleration", "orm_interception", "websocket_acceleration"]
}
Run the native benchmark suite:
report = b4n1_boost.run_benchmarks(iterations=100_000)
print(f"JSON ops/sec: {report['json_bench']['ops_per_sec']:,.0f}")
print(f"ORM ops/sec: {report['orm_bench']['ops_per_sec']:,.0f}")
🔗 Links
- Website: https://b4n1.com
- PyPI: https://pypi.org/project/b4n1-boost
- Licensing: https://b4n1.com/licensing or
b4n1@b4n1.com
📄 License
This project is distributed under the Business Source License 1.1 (BSL 1.1).
- Free for development, evaluation, testing, personal projects, and startups generating under $100,000 USD in annual gross revenue.
- Commercial license required for organizations with annual gross revenue >= $100,000 USD, government agencies, and public bidding projects.
- After the Change Date (4 years), the work converts to Apache License 2.0.
See LICENSE for the full legal text.
b4n1-boost is a core component of the B4N1 sovereign computing stack, providing transparent native middleware acceleration for Python frameworks.
Built with ❤️ by the B4N1 team.
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 b4n1_boost-0.1.2.tar.gz.
File metadata
- Download URL: b4n1_boost-0.1.2.tar.gz
- Upload date:
- Size: 25.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
maturin/1.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
199defa241c108b92f59e0cf877f5c4e80b7bccccc190ee7a171e22f2d47a040
|
|
| MD5 |
c7e236bb7f931b7982cc61541167ce89
|
|
| BLAKE2b-256 |
b686014896d08a655be8fa141d4125218edb0693b0d7736ff4d8447b7c031c9f
|
File details
Details for the file b4n1_boost-0.1.2-cp38-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: b4n1_boost-0.1.2-cp38-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 328.5 kB
- Tags: CPython 3.8+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
maturin/1.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
163ac40b8760f7feee30e6dfe9fa6bda0b55e4e9986d9b44c264172114e20f72
|
|
| MD5 |
ab3800df3c9dde86f8ab3c786daee367
|
|
| BLAKE2b-256 |
d1ceef69bae99e6a479d84e0b9b045c69d002180d526e92ea2dbbb7e618d5892
|