This release is a pre-release and may not be stable for production use.
Saraki (wip)
A framework for multi-tenant applications
This framework aims to help you build as quick as possible multi-tenant applications.
This is a work in progress, so things could change and break, but you can try it if you want.
Work in progress
User management
Organization management
Membership management
Authentication and Authorization system
History
0.1.0a0 (2018-09-23)
Bug Fixes
Fix tests that break when run individually
user - Use SQLAlchemy hybrid_property on User’s columns
endpoint - Use the table name for endpoint in add_resource
auth - Validate only Claim type view_args against token
Features
Make default auth and database initialization optional
app - Add add_resource method to Saraki and Blueprint
endpoint
Make collection decorator aware of organization model classes
Add automatic API creation for organization resources
Add add_resource to automate API endpoints creation
utility
Make @json support returns in the form (payload, headers)
Support global column exclusion from response payloads.
Use export_data method in export_from_sqla_object
Add current_org local proxy object
Add custom (Cerberus) validator
Add json decorator
Add export_from_sqla_object utility function
Add validation schema generator
refactor - Require model_class only with unique rule in Validator
auth
Include member privileges in access token
Add persistence for actions and resources
Add default scp claim value for organization owners
Add resource/action based authorization
Add authorization mechanism for org endpoints
Add initial authorization mechanism
Make iss claim optional by default
Add authentication
role - Add member role management endpoints
action - Add API to retrieve Action resources
resource - Add API to retrieve Resource resources
testing - Add a new module that implements test helpers
plan - Add basic plans management
member - Add endpoints to add and list members
org - Add org account endpoints
model - Add export_data method to Model class
signup - Add signup endpoint
Metadata
Release files for saraki 0.1.0a0
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 |
|---|---|---|---|---|
| saraki-0.1.0a0.tar.gz | 55.2 kB | Without provenance | Details for saraki-0.1.0a0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| saraki-0.1.0a0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for saraki-0.1.0a0-py2.py3-none-any.whl |
Total release size: 80.1 kB
Release files / saraki-0.1.0a0.tar.gz
| Download URL | saraki-0.1.0a0.tar.gz |
|---|---|
| Size | 55.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f69cb914246aaf36eeaf748c702b9564105a993849ff32e1d95c6a828f245a9b
|
|
BLAKE2b-256 checksum How to use checksums |
d780af65546771a90f5f332f0a3725d04df4b560415398490ad261e381030feb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
|
Release files / saraki-0.1.0a0-py2.py3-none-any.whl
| Download URL | saraki-0.1.0a0-py2.py3-none-any.whl |
|---|---|
| Size | 24.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7bc3d1f506f3d87b046e43200edd5f3785527b2dc1184b35bfa19f2b8b3af377
|
|
BLAKE2b-256 checksum How to use checksums |
cacd6344859bce0311a0a4a9e10a8bc99faf4148e1bd32a0c3dae85c7693b937
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
|
Security for saraki 0.1.0a0
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.