devlopment of python featureflag client
Project description
featureflagtechpython
Official PyPi client for featureflag.tech
Features:
- Extremely light-weight ( < 60 lines of code, 1 dependency ).
- Serverless runtime support (NodeJS 6.10 compliant, will work on AWS Lambda)
Support
The official PyPi client for featureflag.tech is compatible with Python 3.5 and upwards.
Web browsers are not currently officially supported.
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/scripts/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.6.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for featureflagtech-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f66bbb6dbed42785d8fab461d8bc82415e405b1de34d4cd9a4fe81ec6aea654 |
|
MD5 | c6ef8e598a3a586e1f8c2d7194d54d2e |
|
BLAKE2b-256 | 6567d292cd7e41edc5c2e3d1fbd9c9045895f6f3e2190164eefe3f182c7b0795 |