GitHub - featurevisor/featurevisor-example-python at refs/heads/upgrade-1 · GitHub
Skip to content

About

Example application using Featurevisor Python SDK

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

featurevisor-example-python

Tiny example application using the Featurevisor Python SDK.

Learn more about Featurevisor at featurevisor.com.

Requirements

  • Python 3.10+

Installation

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Usage

python main.py

What It Does

The script fetches the remote datafile, builds a Featurevisor instance, sets this default context, and evaluates a feature:

{
	"userId": "123",
	"deviceId": "device-23456",
	"country": "nl"
}

It evaluates my_feature, which exists in the sample datafile.

Featurevisor project

Uses this Featurevisor project to fetch the configuration from: https://github.com/featurevisor/featurevisor-example-cloudflare

About

Example application using Featurevisor Python SDK

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages