{"id":27116687,"url":"https://github.com/kicksaw-consulting/python-soql-parser","last_synced_at":"2025-04-07T05:43:24.312Z","repository":{"id":38443519,"uuid":"359101935","full_name":"Kicksaw-Consulting/python-soql-parser","owner":"Kicksaw-Consulting","description":"A pyparsing-based library for parsing SOQL statements","archived":false,"fork":false,"pushed_at":"2023-07-26T17:03:43.000Z","size":52,"stargazers_count":0,"open_issues_count":3,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T14:55:36.313Z","etag":null,"topics":["pyparsing","python","salesforce","soql"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kicksaw-Consulting.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-18T09:42:11.000Z","updated_at":"2022-06-07T13:46:06.000Z","dependencies_parsed_at":"2022-08-19T15:50:43.396Z","dependency_job_id":null,"html_url":"https://github.com/Kicksaw-Consulting/python-soql-parser","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kicksaw-Consulting%2Fpython-soql-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kicksaw-Consulting%2Fpython-soql-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kicksaw-Consulting%2Fpython-soql-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kicksaw-Consulting%2Fpython-soql-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kicksaw-Consulting","download_url":"https://codeload.github.com/Kicksaw-Consulting/python-soql-parser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247601492,"owners_count":20964863,"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","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":["pyparsing","python","salesforce","soql"],"created_at":"2025-04-07T05:43:23.732Z","updated_at":"2025-04-07T05:43:24.307Z","avatar_url":"https://github.com/Kicksaw-Consulting.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"**CONTRIBUTORS WANTED!!**\n\n# Installation\n\n`pip install python-soql-parser`\n\nor, with poetry\n\n`poetry add python-soql-parser`\n\n# Usage\n\n```python\nfrom python_soql_parser import parse\n\n\nparse_result = parse(\"SELECT Id FROM Account\")\n```\n\nwhere `parse_result` is a [ParseResults](https://pyparsing-docs.readthedocs.io/en/latest/HowToUsePyparsing.html#parseresults) object from [pyparsing](https://github.com/pyparsing/pyparsing/).\n\n# Notable caveats\n\n## Unsupported features\n\n- Subqueries (e.g., `SELECT Name, (SELECT LastName FROM Contacts) FROM Account`)\n- Aggregate queries\n- SOQL specific WHERE-clause tokens (e.g., `LAST_N_DAYS:\u003cinteger\u003e`)\n\n## Partially supported\n\nThese are either partially supported or weakly supported\n\n- Related attributes (e.g., `SELECT Id, Account.Name FROM Contact`). The object name is not yet parsed out on its own. This will simply parse out `\"Account.Name\"`\n\n# Contributing\n\nA lot of work remains to be done. Practically no SOQL-specific features are supported as of yet.\nIf you want to contribute, just open a PR! (and add a test for your new feature)\n\n## Setting up locally\n\nFirst install [poetry](https://python-poetry.org/). Afterwards, to install the dependencies, run\n\n```\npoetry install\n```\n\n## Running the tests\n\nSimply execute\n\n```\npytest\n```\n\n## House cleaning\n\nPlease sort imports with `isort` and format the code with `black` (in that order).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkicksaw-consulting%2Fpython-soql-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkicksaw-consulting%2Fpython-soql-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkicksaw-consulting%2Fpython-soql-parser/lists"}