{"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,"search_vec":"'0.7.5':28 '2.0':2,10 '3.10':31 'author':38 'build':8 'client':3,17,37,41 'current':26 'filter':19 'ident':42 'interact':22 'librari':4,6 'maintain':32 'model':20 'pars':13 'provid':16 'provis':43 'python':5,30 'request':11 'requir':29 'respons':15 'scim':1,9,14,24,39 'scim2':36,40 'scim2-client':35 'server':25 'version':27","created_at":"2026-05-09T05:54:05.859244+00:00","updated_at":"2026-05-09T05:54:05.859244+00:00","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,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/sponsors/python-scim","docs":"https://scim2-client.readthedocs.io","changelog":"https://scim2-client.readthedocs.io/en/latest/changelog.html","pypi":"https://pypi.org/project/scim2-client/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-networking","auth-security","serialization"],"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}}