Metadata-Version: 2.1
Name: featureflagtech
Version: 0.0.7
Summary: devlopment of python featureflag client
Home-page: https://github.com/featureflagtech/featureflagtechpython
Author: Charlie Hodgkinson
Author-email: charlotte.hodgkinson4@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: requests

# featureflagtechpython

![Workflow status badge](https://github.com/featureflagtech/featureflagtechpython/workflows/PythonPackage/badge.svg)

[![Available on Pypi](https://badge.fury.io/py/featureflagtech.png)](https://pypi.org/project/featureflagtech/)

Official Python client for [featureflag.tech](https://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
```


