Provides support for dictionary-based permissions with logic gates such as AND and OR.
Project description
This is a generic library that provides support for dictionary-based permissions with logic gates such as AND and OR. You can register any kind of permission types such as roles and flags. The idea with this library is to be an ultra-flexible foundation that can be used by any framework. It supports python 2 and 3.
INSTALLATION
pip install logical-permissions
USAGE
Please refer to https://github.com/ordermind/logical-permissions-py for documentation.
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
File details
Details for the file logical-permissions-1.2.5.tar.gz
.
File metadata
- Download URL: logical-permissions-1.2.5.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b5424e9a2f9afc0ba5dfe6c356e696e42a10293a73544a0d2f43b8e455561999
|
|
MD5 |
777363b09d466ece2ee8f13d9fbff2ae
|
|
BLAKE2b-256 |
b82e17d83f5bba25ae0b8cb11a0b524ace77e6549fd8e72dc58443668aaf7aaf
|
File details
Details for the file logical_permissions-1.2.5-py2.py3-none-any.whl
.
File metadata
- Download URL: logical_permissions-1.2.5-py2.py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
095499cacbec4c5594697a9ee92ea7489d6d15625123ade39c44e1f08c2dd686
|
|
MD5 |
87aef3824cba2e61ee85df55bc87fdb7
|
|
BLAKE2b-256 |
ffc4ecd4bcc21ab0334dad95b66316bd0ba2d30f195648b8ba0a32d216a7fff0
|