{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/9"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/19"}],"enrichment":{"capability":"Parses SQL queries into JSON-serializable parse trees, and can generate SQL from JSON objects, supporting basic SELECT queries with clauses like WHERE, ORDER BY, and window functions.","skillfed_tags":["sql-parsing","query-analysis","json-serialization"],"use_cases":["Convert SQL queries to JSON for analysis, validation, or transformation in a custom query engine or datastore adapter.","Build a SQL-to-native-query translator that accepts SQL input and generates backend-specific queries from the parse tree.","Analyze SQL query structure programmatically to extract table names, columns, or filter conditions.","Provide a SQL interface to non-relational datastores by parsing user queries and mapping them to native APIs.","Generate SQL statements from JSON configuration objects for dynamic query construction."],"what_it_does":"Moz SQL Parser converts SQL SELECT queries into JSON-serializable parse trees, where each SQL clause becomes a named object property and expressions are represented as operation-parameter pairs. It also provides a formatter to generate SQL from JSON objects, though that feature remains incomplete. The parser originally targeted MySQL but has expanded to other vendors; it handles basic queries, subqueries, WITH clauses, and window functions, but does not support UPDATE or INSERT statements or provide data access tools.\n\nThe package is designed to let non-SQL datastores expose a familiar SQL interface to users, with the expectation that developers will convert the resulting JSON parse trees into native queries for their backend. It has no runtime dependencies, making installation straightforward, but the codebase is aging\u2014the latest release is from May 2021 and maintenance appears minimal despite recent repository activity.","worth_installing":"Yes, if you need basic SQL parsing to JSON and can tolerate an aging codebase. The package has no dependencies, handles common SELECT patterns, and has been stable for years. However, install only if you do not require support for advanced SQL dialects or expect active maintenance; the latest release is from May 2021 and the project is classified as aging. The copyleft MPL 2.0 license requires source disclosure if you modify and redistribute."},"id":"moz-sql-parser","links":{"html":"https://skillfed.io/packages/moz-sql-parser","md":"https://skillfed.io/packages/moz-sql-parser.md","pypi":"https://pypi.org/project/moz-sql-parser/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2021-05-06","license_spdx":null,"license_treatment":"copyleft","name":"moz-sql-parser","python_support":"unspecified","summary":"Extract Parse Tree from SQL"},"popularity":{"monthly_downloads":111380,"position":12418,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"4.40.21126"}
