{"id":28171,"library":"scim2-client","title":"SCIM 2.0 Client Library","description":"Python library for building SCIM 2.0 requests and parsing SCIM responses. Provides client and filter models to interact with SCIM servers. Current version 0.7.5, requires Python >=3.10. Maintained by the scim2-client authors.","status":"active","version":"0.7.5","language":"python","source_language":"en","source_url":"https://github.com/python-scim/scim2-client","tags":["scim","scim2","client","identity","provisioning"],"install":[{"cmd":"pip install scim2-client","lang":"bash","label":"pip install"}],"dependencies":[{"reason":"Transport layer for HTTP requests.","package":"httpx","optional":false},{"reason":"Data validation and settings management for request/response models.","package":"pydantic","optional":false}],"imports":[{"note":"Common mistake: users try to import from 'scim2' which does not exist.","wrong":"from scim2 import SCIMClient","symbol":"SCIMClient","correct":"from scim2_client import SCIMClient"},{"note":"Filter is in a separate module 'scim2-filter'.","wrong":"from scim2_client import Filter","symbol":"Filter","correct":"from scim2_filter import Filter"}],"quickstart":{"code":"from scim2_client import SCIMClient\nfrom scim2_filter import Filter\n\nclient = SCIMClient(\n    base_url=os.environ.get('SCIM_BASE_URL', 'https://example.com/scim/v2'),\n    auth=('user', os.environ.get('SCIM_PASSWORD', ''))\n)\n\n# List users with a filter\nfilter_ = Filter.eq('userName', 'jdoe')\nresponse = client.Users.list(filter=filter_)\nprint(response.resources)","lang":"python","description":"Create a SCIM client, build a filter, and list users."},"warnings":[{"fix":"Install scim2-filter and import from 'scim2_filter'.","message":"The 'Filter' class is not part of 'scim2-client' but from the separate 'scim2-filter' package. You must install it separately: 'pip install scim2-filter'.","severity":"gotcha","affected_versions":"all"},{"fix":"Update to Python >=3.10.","message":"Version 0.7.0 dropped support for Python 3.7 and 3.8. If upgrading from an older version, ensure your environment uses Python >=3.10.","severity":"breaking","affected_versions":"0.7.0 and later"},{"fix":"Pass auth as a tuple: auth=('user', 'pass')","message":"The 'auth' parameter expects a tuple (username, password) for HTTP Basic Auth. Using a single string will raise an error.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Install scim2-filter: pip install scim2-filter","cause":"Missing scim2-filter package.","error":"ModuleNotFoundError: No module named 'scim2_filter'"},{"fix":"Change auth=('username', 'password')","cause":"auth parameter provided as a string instead of tuple.","error":"ValueError: 'auth' must be a tuple of (username, password)"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}