{"id":34096489,"url":"https://github.com/python-scim/scim2-models","last_synced_at":"2025-12-14T15:36:47.984Z","repository":{"id":241284095,"uuid":"805020652","full_name":"python-scim/scim2-models","owner":"python-scim","description":"SCIM resources serialization and validation with Pydantic","archived":false,"fork":false,"pushed_at":"2025-11-07T13:05:46.000Z","size":1549,"stargazers_count":19,"open_issues_count":23,"forks_count":7,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-11-07T15:09:59.377Z","etag":null,"topics":["provisioning","pydantic","pydantic-models","rfc7643","rfc7644","scim","scim2"],"latest_commit_sha":null,"homepage":"https://scim2-models.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/python-scim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["yaal-coop"]}},"created_at":"2024-05-23T18:16:43.000Z","updated_at":"2025-11-07T13:05:49.000Z","dependencies_parsed_at":"2024-11-12T13:37:43.138Z","dependency_job_id":"7f23dc65-122b-48cf-875f-70610f79de0e","html_url":"https://github.com/python-scim/scim2-models","commit_stats":null,"previous_names":["yaal-coop/pydantic-scim2","yaal-coop/scim2-models","python-scim/scim2-models"],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/python-scim/scim2-models","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-scim%2Fscim2-models","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-scim%2Fscim2-models/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-scim%2Fscim2-models/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-scim%2Fscim2-models/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/python-scim","download_url":"https://codeload.github.com/python-scim/scim2-models/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-scim%2Fscim2-models/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27730570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-14T02:00:11.348Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["provisioning","pydantic","pydantic-models","rfc7643","rfc7644","scim","scim2"],"created_at":"2025-12-14T15:36:47.316Z","updated_at":"2025-12-14T15:36:47.976Z","avatar_url":"https://github.com/python-scim.png","language":"Python","readme":"# scim2-models\n\n[Pydantic](https://docs.pydantic.dev) models for SCIM schemas defined in [RFC7643](https://datatracker.ietf.org/doc/html/rfc7643.html) and [RFC7644](https://datatracker.ietf.org/doc/html/rfc7644.html).\n\nThis library provides utilities to parse and produce SCIM2 payloads, and handle them with native Python objects.\nIt aims to be used as a basis to build SCIM2 servers and clients.\n\n## What's SCIM anyway?\n\nSCIM stands for System for Cross-domain Identity Management, and it is a provisioning protocol.\nProvisioning is the action of managing a set of resources across different services, usually users and groups.\nSCIM is often used between Identity Providers and applications in completion of standards like OAuth2 and OpenID Connect.\nIt allows users and groups creations, modifications and deletions to be synchronized between applications.\n\n## Installation\n\n```shell\npip install scim2-models\n```\n\n## Usage\n\nCheck the [tutorial](https://scim2-models.readthedocs.io/en/latest/tutorial.html) and the [reference](https://scim2-models.readthedocs.io/en/latest/reference.html) for more details.\n\n```python\nfrom scim2_models import User\nimport datetime\n\npayload = {\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"id\": \"2819c223-7f76-453a-919d-413861904646\",\n    \"userName\": \"bjensen@example.com\",\n    \"meta\": {\n        \"resourceType\": \"User\",\n        \"created\": \"2010-01-23T04:56:22Z\",\n        \"lastModified\": \"2011-05-13T04:42:34Z\",\n        \"version\": 'W\\\\/\"3694e05e9dff590\"',\n        \"location\": \"https://example.com/v2/Users/2819c223-7f76-453a-919d-413861904646\",\n    },\n}\n\nuser = User.model_validate(payload)\nassert user.user_name == \"bjensen@example.com\"\nassert user.meta.created == datetime.datetime(\n    2010, 1, 23, 4, 56, 22, tzinfo=datetime.timezone.utc\n)\n```\n\nscim2-models belongs in a collection of SCIM tools developed by [Yaal Coop](https://yaal.coop),\nwith [scim2-client](https://github.com/python-scim/scim2-client),\n[scim2-tester](https://github.com/python-scim/scim2-tester) and\n[scim2-cli](https://github.com/python-scim/scim2-cli)\n","funding_links":["https://github.com/sponsors/yaal-coop"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-scim%2Fscim2-models","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpython-scim%2Fscim2-models","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-scim%2Fscim2-models/lists"}