https://github.com/featurevisor/featurevisor-example-python
Example application using Featurevisor Python SDK
https://github.com/featurevisor/featurevisor-example-python
Last synced: 23 days ago
JSON representation
Example application using Featurevisor Python SDK
- Host: GitHub
- URL: https://github.com/featurevisor/featurevisor-example-python
- Owner: featurevisor
- Created: 2026-03-10T22:13:25.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-03-10T22:18:57.000Z (4 months ago)
- Last Synced: 2026-03-11T03:56:16.214Z (4 months ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# featurevisor-example-python
Tiny example application using the [Featurevisor Python SDK](https://github.com/featurevisor/featurevisor-python).
Learn more about Featurevisor at [featurevisor.com](https://featurevisor.com).
## Requirements
- Python 3.10+
## Installation
```bash
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
```
## Usage
```bash
python main.py
```
## What It Does
The script fetches the remote datafile, builds a Featurevisor instance, sets this default context, and evaluates a feature:
```json
{
"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