Skip to main content

devlopment of python featureflag client

Project description

featureflagtechpython

Workflow status badge

Available on Pypi

Official Python client for featureflag.tech

Features:

  • Extremely light-weight ( < 30 lines of code, 1 production dependency ).
  • Serverless runtime support (will work on AWS Lambda)

Support

The official PyPi client for featureflag.tech is compatible with Python 3.5, 3.6, 3.7 and 3.8.

Install

pip install featureflagtech

Usage

from featureflagtech import FeatureFlag

fft = FeatureFlag({"apiKey": "b6b3f5c8-c7ce-48c4-a1a2-0e0e43be626c"})

if fft.get("flagName"):
    # do new stuff

else:
    #do old stuff

Develop

Check the project out:

git clone https://github.com/featureflagtech/featureflagtechpython.git
cd featureflagtechpython

Activate your virtual environment:

pip install virtualenv
virtualenv venv
source venv/bin/activate

Install deps:

pip install -r requirements-dev.txt

Run the unit tests:

pytest

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

featureflagtech-0.0.7.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

featureflagtech-0.0.7-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

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