Skip to main content

A feature toggle library designed after Java togglz

Project description

pygglz Written in Python Build Status License

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

Installation

pip install pygglz

Usage

from pygglz import features, configure
from pygglz.file_repository import FileRepository

...
configure(state_repository=FileRepository("/home/app/.features.json"))

...

if features["ONE_CLICK_CHECKOUT"]:
  ...

License

Copyright (c) 2020 by Cornelius Buschka.

Apache License, Version 2.0

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

pygglz-0.0.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

pygglz-0.0.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file pygglz-0.0.2.tar.gz.

File metadata

  • Download URL: pygglz-0.0.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for pygglz-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4481686c1ba897406450298cabade54db85d4b8ebe57256c44e3beef652fd32a
MD5 da0dc80b3705d99cc7535d54db4958cb
BLAKE2b-256 6f82121cc38fc5c58f94bee369712be51bfed533e4d86b45544da9157afa4ad9

See more details on using hashes here.

File details

Details for the file pygglz-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pygglz-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for pygglz-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 22e20455c637e5dbf8c4dfb2790e483cf277b6d3895f0bc3e98fb8a1f5ec950b
MD5 0870f35953952115947432fb67963d1c
BLAKE2b-256 1235ad4d3be5b9a90d66623cd4059954b1e278016e1a9916fec85c79185edb14

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