{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/5"},{"label":"Internet","url":"https://skillfed.io/packages/category/internet/2"}],"enrichment":{"capability":"Parses SCIM 2.0 filter query strings into abstract syntax trees and transpiles them to SQL queries or Django Q objects with parameterized values.","skillfed_tags":["scim-identity","query-transpiler","sql-generation"],"use_cases":["Convert incoming SCIM filter queries from identity providers into safe, parameterized SQL for user directory lookups","Map SCIM attribute paths to your custom database schema without writing filter-to-SQL translation logic","Generate Django ORM Q objects from SCIM filters to query user data in Django applications","Build multi-table queries by specifying JOINs alongside attribute mappings for complex user schemas","Tokenize and inspect SCIM filter syntax for validation or debugging identity provider integrations"],"what_it_does":"SCIM 2.0 Filter Parser converts SCIM filter query strings\u2014used in identity management systems to query user attributes\u2014into executable SQL or Django ORM queries. The package breaks this translation into four stages: tokenization (lexical analysis), abstract syntax tree construction, transpilation to a target language, and query completion. It maps SCIM attribute paths (like 'emails.value' or 'name.familyName') to your database schema via a customizable attribute map, then generates parameterized SQL to prevent injection attacks.\n\nThe library is designed for programmatic use: you instantiate a SQLQuery object with your filter string, table name, attribute mapping, and optional JOIN clauses, then extract the parameterized SQL and parameter list for execution. It supports multiple database backends (with SQLite as an example of subclassing the placeholder character), and offers optional Django Q object generation for ORM-based workflows. Command-line tools are provided for debugging but are not the primary interface.","worth_installing":"Yes. The package solves a specific, real problem (SCIM filter translation) with low install friction, active maintenance, no security vulnerabilities, and permissive licensing. It is well-suited for identity management integrations and supports modern Python versions. Install it if you need to parse SCIM filters; skip it if your system does not consume SCIM queries."},"id":"scim2-filter-parser","links":{"html":"https://skillfed.io/packages/scim2-filter-parser","md":"https://skillfed.io/packages/scim2-filter-parser.md","pypi":"https://pypi.org/project/scim2-filter-parser/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-07-20","license_spdx":null,"license_treatment":"permissive","name":"scim2-filter-parser","python_support":"supports_current","summary":"A customizable parser/transpiler for SCIM2.0 filters."},"popularity":{"monthly_downloads":2782015,"position":2892,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.7.0"}
