Set of SQLAlchemy mixins that make application building an easy task. Provides users, groups, permissions, resource tree handling and authorization solutions for Pyramid and Flask frameworks.
Project description
Ziggurat Foundations
DOCUMENTATION: http://readthedocs.org/docs/ziggurat-foundations/en/latest/
BUG TRACKER: https://github.com/ergo/ziggurat_foundations
Top layer to make authentication, resource ownership and permission management fast, simple and easy. In summary, Ziggurat Foundations (Zigg), is a set of framework agnostic set of SQLAalchemy classes, so it can be used with Flask, Pyramid or other popular frameworks. It is the perfect solution for handling complex login and user management systems, from e-commerce systems, to private intranets or large (and small) CMS systems. It can easily be extended to support any additional features you may need (explained further in the documentation)
Zigg has been used (at scale) for very large implementations (millions of real users) and has been extended for custom applications such as geo-location applications that rely on pin-point accuracy for a users location. Zigg has been designed to work for high end environments, where the user(s) are at the main focus of the application (for example Zigg could become the backbone for a social media style application).
The aim of this project is to supply set of generic models that cover the most common needs in application development when it comes to authorization - using flat and tree like data structures. We provide nearly every feature you will need in a standard application, but provide the mixins as we understand that every implementation has its own use case and in doing so, extending the base models is very easy.
Zigg supplies extendable, robust and well tested models that include:
- User - base for user accounts
- Group - container for many users
- Resource - Arbitrary database entity that can represent various object hierarchies - blogs, forums, cms documents, pages etc.
Zigg provides standard functions that let you:
- Assign arbitrary permissions directly to users (ie. access certain views)
- Assign users to groups
- Assign arbitrary permissions to groups
- Assign arbitrary resource permissions to users (ie. only user X can access private forum)
- Assign arbitrary resource permissions to groups
- Manage nested resources with tree service
- Assign a user o an external identity (such as facebook/twitter)
- Manage the sign in/sign out process
- Change users password and generate security codes
- Example root factory for assigning permissions per request
Ziggurat Foundations is BSD 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
Hashes for ziggurat_foundations-0.8.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 900329314b77b99ce2e80bbb44f7cf1b7c066aee1cc320b6a4cea777a5afdb04 |
|
MD5 | d4b80b0e7c2f90f17b7002ce8cc02d1e |
|
BLAKE2b-256 | 79f3db8c5042799306a6cc9ba7181b89811ea3976cf1aa5439e02e57a08e789c |
Hashes for ziggurat_foundations-0.8.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 731f4a2677c51e4c0862182b559a3ff852ca3d7f48bc1256ab02fdb6ae027334 |
|
MD5 | 3a7c5d189d221b0f06b3265b5b1073df |
|
BLAKE2b-256 | ffffb2bc8a9673906c5cd692354ea0ea524a50097d89816c1dcfa3cd3fb73b38 |