Skip to main content

A web application helper

Project description

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.

https://img.shields.io/pypi/v/saraki.svg https://img.shields.io/travis/mbarakaja/saraki.svg Documentation Status

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

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

saraki-0.1.0a0.tar.gz (55.2 kB view details)

Uploaded Source

Built Distribution

saraki-0.1.0a0-py2.py3-none-any.whl (24.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file saraki-0.1.0a0.tar.gz.

File metadata

  • Download URL: saraki-0.1.0a0.tar.gz
  • Upload date:
  • Size: 55.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for saraki-0.1.0a0.tar.gz
Algorithm Hash digest
SHA256 f69cb914246aaf36eeaf748c702b9564105a993849ff32e1d95c6a828f245a9b
MD5 dd8b4b52fc76728137fed5730fa86651
BLAKE2b-256 d780af65546771a90f5f332f0a3725d04df4b560415398490ad261e381030feb

See more details on using hashes here.

File details

Details for the file saraki-0.1.0a0-py2.py3-none-any.whl.

File metadata

  • Download URL: saraki-0.1.0a0-py2.py3-none-any.whl
  • Upload date:
  • Size: 24.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for saraki-0.1.0a0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7bc3d1f506f3d87b046e43200edd5f3785527b2dc1184b35bfa19f2b8b3af377
MD5 cb7d996cdeb83fa8cab1eb8d84fa4817
BLAKE2b-256 cacd6344859bce0311a0a4a9e10a8bc99faf4148e1bd32a0c3dae85c7693b937

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page