Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
CONTRIBUTORS WANTED!!
pip install python-soql-parser
or, with poetry
poetry add python-soql-parser
from python_soql_parser import parse
parse_result = parse("SELECT Id FROM Account")
where parse_result
is a ParseResults object from pyparsing.
SELECT Name, (SELECT LastName FROM Contacts) FROM Account
)LAST_N_DAYS:<integer>
)These are either partially supported or weakly supported
SELECT Id, Account.Name FROM Contact
). The object name is not yet parsed out on its own. This will simply parse out "Account.Name"
A lot of work remains to be done. Practically no SOQL-specific features are supported as of yet. If you want to contribute, just open a PR! (and add a test for your new feature)
First install poetry. Afterwards, to install the dependencies, run
poetry install
Simply execute
pytest
Please sort imports with isort
and format the code with black
(in that order).
FAQs
A pyparsing-based library for parsing SOQL statements
We found that python-soql-parser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.