Skip to main content

flags-local Python SDK

Fast, lightweight Python client for flags-local.

Installation

pip install flags-local

Quick Start

from flags_local import FlagsLocalClient

client = FlagsLocalClient(base_url="http://localhost:4040", environment="production")
client.fetch_flags()

if client.is_enabled("new-checkout-flow", user_key="usr_123"):
    print("New checkout enabled!")

Release files for flags-local 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flags-local 1.0.0
File Size Uploaded
flags_local-1.0.0.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flags-local 1.0.0
File Interpreter ABI Platform
flags_local-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.7 kB

Release files / flags_local-1.0.0.tar.gz

Download URL flags_local-1.0.0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7347f2b28bfc5639795fa600a8f12ecb051ec32c36a463d19212c523fef8a42b
BLAKE2b-256 checksum
How to use checksums
6adf58c9fd5eb86fa767a57b4979ef97640466ba0f5fd736ba7b06df4a2e7b69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / flags_local-1.0.0-py3-none-any.whl

Download URL flags_local-1.0.0-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91ca6181beb84390238aac2de1cd380acc77528b114c712580ac614ccb86c03f
BLAKE2b-256 checksum
How to use checksums
0708c35f7a4871fd263c333cdd761d53989a1d4473e2a59b7e34addb4dae85dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page