Registry / http-networking / scim2-client

scim2-client

JSON →
library0.7.5pypypi✓ verified 88d ago

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.

pip install scim2-client
INSTALL
IMPORT
SIG · SCIM2-CLIENT
S
scim2-client
http-networkingpythonv0.7.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SCIMClient
✓ from scim2_client import SCIMClient
✗ from scim2 import SCIMClient
Common mistake: users try to import from 'scim2' which does not exist.
Filter
✓ from scim2_filter import Filter
✗ from scim2_client import Filter
Filter is in a separate module 'scim2-filter'.

Create a SCIM client, build a filter, and list users.

from scim2_client import SCIMClient from scim2_filter import Filter client = SCIMClient( base_url=os.environ.get('SCIM_BASE_URL', 'https://example.com/scim/v2'), auth=('user', os.environ.get('SCIM_PASSWORD', '')) ) # List users with a filter filter_ = Filter.eq('userName', 'jdoe') response = client.Users.list(filter=filter_) print(response.resources)
Debug
Known issues
gotchaThe 'Filter' class is not part of 'scim2-client' but from the separate 'scim2-filter' package. You must install it separately: 'pip install scim2-filter'.
fix
Install scim2-filter and import from 'scim2_filter'.
affects: all
breakingVersion 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.
fix
Update to Python >=3.10.
affects: 0.7.0 and later
gotchaThe 'auth' parameter expects a tuple (username, password) for HTTP Basic Auth. Using a single string will raise an error.
fix
Pass auth as a tuple: auth=('user', 'pass')
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'scim2_filter'
Missing scim2-filter package.
fix
Install scim2-filter: pip install scim2-filter
ValueError: 'auth' must be a tuple of (username, password)
auth parameter provided as a string instead of tuple.
fix
Change auth=('username', 'password')
Upgrade
Version history
0.7.5latest on PyPI · released Apr 2, 2026
Audit
Dependencies
httpxrequiredTransport layer for HTTP requests.
pydanticrequiredData validation and settings management for request/response models.
Agent activity
13 hits · last 30 days
node
10
OpenAI (training)
1
Resources
scim2-client — pip install scim2-client · libregistry