Skip to content

Installation

The Featsync Python SDK is available on PyPI and works with Python 3.8+.

Package Managers

bash pip install featsync

Requirements

  • Python 3.8 or later
  • Works in sync and async contexts
  • Type hints included (PEP 561 compliant)

Importing

from featsync import Featsync, EvaluationContext

Dependencies

The SDK has minimal dependencies:

  • httpx - Modern HTTP client for Python

Type Hints

Full type hint support is included:

from featsync import (
Featsync,
EvaluationContext,
EvaluationResult,
Flag,
FlagsMap,
FeatsyncConfig,
)
client = Featsync(api_key="fs_your_api_key")
flag: Flag = client.get_flag("my-flag")
flags: FlagsMap = client.get_all_flags()

Next Steps