{"id":27000,"library":"flipt-client","title":"Flipt Client Python SDK","description":"Python client for Flipt feature flag evaluation. Version 1.4.1 supports synchronous and asynchronous evaluation via REST and gRPC. Active development with monthly releases.","status":"active","version":"1.4.1","language":"python","source_language":"en","source_url":"https://github.com/flipt-io/flipt-client-sdks","tags":["feature-flags","flipt","client"],"install":[{"cmd":"pip install flipt-client","lang":"bash","label":"PyPI"}],"dependencies":[],"imports":[{"note":"Main client class for synchronous evaluation.","symbol":"FliptEvaluationClient","correct":"from flipt_client import FliptEvaluationClient"},{"note":"Async client for non-blocking evaluation.","symbol":"FliptEvaluationClientAsync","correct":"from flipt_client import FliptEvaluationClientAsync"}],"quickstart":{"code":"import os\nfrom flipt_client import FliptEvaluationClient\n\nclient = FliptEvaluationClient(\n    namespace=\"default\",\n    url=\"http://localhost:8080\",\n    authentication_token=os.environ.get('FLIPT_AUTH_TOKEN', '')\n)\n\nflag_key = \"my-flag\"\nentity_id = \"user123\"\ncontext = {\"plan\": \"enterprise\"}\n\nresponse = client.evaluate_variant(flag_key, entity_id, context)\nprint(response.match)\nprint(response.variant_key)","lang":"python","description":"Create a client and evaluate a boolean/variant flag."},"warnings":[{"fix":"Use 'authentication_token' instead of 'auth_token'.","message":"The constructor argument 'auth_token' was renamed to 'authentication_token' in v1.3.0.","severity":"breaking","affected_versions":"<1.3.0"},{"fix":"Verify the 'url' includes the correct port (e.g., http://localhost:8080 for REST, localhost:9000 for gRPC).","message":"If the Flipt server is unreachable, the client may raise a connection error; ensure the gRPC or HTTP port is correct.","severity":"gotcha","affected_versions":"all"},{"fix":"Use FliptEvaluationClientAsync for non-blocking calls.","message":"The synchronous client uses requests under the hood; consider switching to async for high-throughput scenarios.","severity":"deprecated","affected_versions":"all"}],"env_vars":null,"search_vec":"'1.4.1':13 'activ':23 'asynchron':17 'client':2,6,32 'develop':24 'evalu':11,18 'featur':9,29 'feature-flag':28 'flag':10,30 'flipt':1,8,31 'grpc':22 'month':26 'python':3,5 'releas':27 'rest':20 'sdk':4 'support':14 'synchron':15 'version':12 'via':19","created_at":"2026-05-01T17:43:59.858933+00:00","updated_at":"2026-05-01T17:43:59.858933+00:00","problems":[{"fix":"Start the Flipt server and double-check the 'url' parameter (e.g., http://localhost:8080).","cause":"Flipt server not running or wrong URL/port.","error":"flipt_client.exceptions.FliptClientError: Failed to connect to remote host"},{"fix":"Set FLIPT_AUTH_TOKEN environment variable or pass a valid token to the client.","cause":"The 'authentication_token' is missing or incorrect.","error":"flipt_client.exceptions.FliptClientError: Invalid authentication token"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":"https://flipt.io","github":"https://github.com/flipt-io/flipt-client-sdks","docs":null,"changelog":null,"pypi":"https://pypi.org/project/flipt-client/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-networking","devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-29","install_tag":null}}