{"id":46314,"library":"schematichq","title":"Schematic","description":"Schematic is a feature management and experimentation platform. The Python SDK enables you to check feature flags, set user attributes, and track events. Current version 1.2.2, supports Python 3.8+. Active development with regular releases.","status":"active","version":"1.2.2","language":"python","source_language":"en","source_url":"https://github.com/schematichq/schematic-python","tags":["feature-flags","feature-management","experimentation","A/B testing"],"install":[{"cmd":"pip install schematichq","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"wrong":"from schematic import SchematicClient","symbol":"AsyncSchematic","correct":"from schematic import AsyncSchematic"},{"wrong":"from schematic import SchematicClient","symbol":"AsyncSchematicConfig","correct":"from schematic import AsyncSchematicConfig"},{"wrong":"from schematic import SchematicClient","symbol":"ApiError","correct":"from schematic import ApiError"}],"quickstart":{"code":"import os\nfrom schematic import SchematicClient\n\nclient = SchematicClient(api_key=os.environ.get('SCHEMATIC_API_KEY', ''))\nflag = client.check_flag('my-feature', user_id='user-123')\nprint(f\"Feature flag enabled: {flag}\")","lang":"python","description":"Initialize the client and check a feature flag."},"warnings":[{"fix":"Use 'from schematic import SchematicClient' after installing 'schematichq'.","message":"The package name on PyPI is 'schematichq' but the import module is 'schematic'. Using 'pip install schematichq' and then 'from schematichq import ...' will fail.","severity":"gotcha","affected_versions":"all"},{"fix":"Update import and client instantiation. Check the migration guide on GitHub.","message":"Version 1.x introduced breaking changes from earlier 0.x releases. The client API and flag evaluation method signatures changed.","severity":"breaking","affected_versions":"0.x -> 1.x"},{"fix":"Use the web dashboard or REST API for flag management.","message":"The 'create_flag' and 'update_flag' methods are deprecated in favor of using the Schematic UI or the management API.","severity":"deprecated","affected_versions":">=1.0"}],"env_vars":null,"search_vec":"'1.2.2':27 '3.8':30 'a/b':43 'activ':31 'attribut':21 'check':16 'current':25 'develop':32 'enabl':13 'event':24 'experiment':8,42 'featur':5,17,37,40 'feature-flag':36 'feature-manag':39 'flag':18,38 'manag':6,41 'platform':9 'python':11,29 'regular':34 'releas':35 'schemat':1,2 'sdk':12 'set':19 'support':28 'test':44 'track':23 'user':20 'version':26","created_at":"2026-06-07T12:59:19.281801+00:00","updated_at":"2026-06-07T12:59:19.281801+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/schematichq/schematic-python","github":"https://github.com/schematichq/schematic-python","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops","analytics"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}