This release is a pre-release and may not be stable for production use.
apibean-engine
apibean-engine is a schema-driven application framework for building modern, multi-tenant business applications.
It combines dynamic schema management, database abstraction, authentication, authorization, and REST API generation into a single, integrated package, allowing developers to rapidly build metadata-driven applications without assembling multiple frameworks.
The project is designed with a modular architecture. While the current release provides an all-in-one developer experience, major components such as the REST API layer and notebook integration are intended to evolve into standalone packages within the apibean ecosystem.
Features
Schema-Driven Applications
Define application models using JSON Schema instead of handwritten ORM models.
- Dynamic schema definition
- Runtime schema evolution
- Metadata-driven application design
- JSON object storage
Database Abstraction
Access multiple storage technologies through a unified programming model.
Supported and planned backends include:
- PostgreSQL
- MySQL
- Redis
- MinIO
- OpenSearch
- TimescaleDB
The storage layer is designed to be extensible through backend adapters.
Automatic REST APIs
Build RESTful APIs with minimal boilerplate.
Current integration is based on FastAPI, providing:
- CRUD endpoints
- Authentication
- Authorization
- Request validation
- OpenAPI documentation
- Dependency Injection
The REST layer is currently included in apibean-engine for simplicity and is planned to become a dedicated package in the future.
Authentication & Authorization
Built-in security components include:
- User authentication
- Role-Based Access Control (RBAC)
- Permission management
- Resource-level authorization
- Extensible authentication providers
Multi-Tenant Ready
The framework is designed for SaaS and enterprise applications.
Capabilities include:
- Organization management
- Tenant-aware data access
- Configurable isolation strategies
- Tenant-specific schemas and resources
Advanced multi-tenant features will be provided by the future apibean-tenants package.
Extensible Plugin Architecture
Most framework capabilities are implemented through pluggable components.
Examples include:
- Database adapters
- Storage providers
- Search engines
- Time-series backends
- Authentication providers
- API extensions
Architecture
apibean-engine
┌─────────────────────────────────────────────┐
│ │
│ Schema Management │
│ Metadata Runtime │
│ Storage Adapters │
│ Authentication │
│ Authorization │
│ REST API (FastAPI) │
│ Dependency Injection │
│ │
└─────────────────────────────────────────────┘
│
┌──────────┼──────────┐
▼ ▼ ▼
PostgreSQL Redis MinIO
│
▼
OpenSearch
│
▼
TimescaleDB
The internal architecture is modular, enabling individual components to be extracted into dedicated packages as the ecosystem grows.
Design Principles
- Schema-first development
- Metadata-driven applications
- Convention with explicit customization
- Pluggable backend architecture
- Multi-tenant by design
- Framework-independent domain logic
- Production-ready defaults
Installation
pip install apibean-engine
Vision
apibean-engine aims to provide a productive foundation for building metadata-driven applications. By combining schema management, storage abstraction, authentication, and REST APIs into a cohesive framework, it enables developers to focus on business logic rather than infrastructure.
The long-term vision is to grow into a modular ecosystem where individual capabilities can be adopted independently while maintaining a consistent developer experience.
License
MIT License
Metadata
Release files for apibean-engine 0.1.0a7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| apibean_engine-0.1.0a7.tar.gz | 137.4 kB | Without provenance | Details for apibean_engine-0.1.0a7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| apibean_engine-0.1.0a7-py3-none-any.whl | Python 3 | none | any | Details for apibean_engine-0.1.0a7-py3-none-any.whl |
Total release size: 387.6 kB
Release files / apibean_engine-0.1.0a7.tar.gz
| Download URL | apibean_engine-0.1.0a7.tar.gz |
|---|---|
| Size | 137.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3669f1773e3c35c113cf56074825536fb6a336a5561882fe155ef98af0e9bf0f
|
|
BLAKE2b-256 checksum How to use checksums |
da2cbad93541eee3ea6e08bf8c42d37f8da84109880fc426e84f3d6440a66ec8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.5
|
Release files / apibean_engine-0.1.0a7-py3-none-any.whl
| Download URL | apibean_engine-0.1.0a7-py3-none-any.whl |
|---|---|
| Size | 250.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e5920b73036883b0a16172b9ad6b98d62d376a9ac9f33113c321271c08564eab
|
|
BLAKE2b-256 checksum How to use checksums |
060fb97ead1b8de58eee8018dd8440eb244caf88e6338af84b1c66897e0ef7ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.5
|
Security for apibean-engine 0.1.0a7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.