pygglz

A feature toggle library designed after Java togglz
Features
- Global and thread local feature contexts
- Feature state snapshots
Storages for feature state
- File storage (json)
- DynamoDB table
- HTTP service
Installation
pip install pygglz
Usage
Features from local JSON file
from pygglz import features
from pygglz.file import FileRepository
...
pygglz.configure(state_repository=FileRepository("/home/app/.features.json"))
...
if features["ONE_CLICK_CHECKOUT"]:
...
Features from DynamoDB table "features"
from pygglz import features
from pygglz.dynamodb import DynamodbRepository
...
pygglz.configure(state_repository=DynamodbRepository())
...
if features["ONE_CLICK_CHECKOUT"]:
...
License
Copyright (c) 2020 by Cornelius Buschka.
Metadata
Release files for pygglz 0.0.7
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 |
|---|---|---|---|---|
| pygglz-0.0.7.tar.gz | 9.4 kB | Without provenance | Details for pygglz-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pygglz-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for pygglz-0.0.7-py3-none-any.whl |
Total release size: 25.0 kB
Release files / pygglz-0.0.7.tar.gz
| Download URL | pygglz-0.0.7.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b1628b5b2e72c1236bce96c42e661c19a53d976d4e3aaa01afa55a0d7cdacf1
|
|
BLAKE2b-256 checksum How to use checksums |
674f2aac5bbacee6d46e1205c1b3a214d77a06e34b1779d29911b57336a12fc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / pygglz-0.0.7-py3-none-any.whl
| Download URL | pygglz-0.0.7-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a2e9170acf7a3581eeaf71e7fdd51aae1720e84d00dae9908009a459bf46f57
|
|
BLAKE2b-256 checksum How to use checksums |
83d8344d9e56103a1389780e3995569905fc82f8f61f1ec59c0f2fe6d630728e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Security for pygglz 0.0.7
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.