Skip to content

featurevisor/featurevisor-example-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors