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.
Python toolset for data processing, queries, wikicode generation and page manipulation
Python toolset for data processing, queries, wikicode generation and page manipulation within OpenSemanticLab.
General features for object-oriented interaction with knowledge graphs are planned to be moved to a standalone package: oold-python
pip install osw
Variant | Description |
---|---|
osw[wikitext] | Additional functions in wiki_tools to transform mediawiki markup / templates |
osw[DB] | interact with SQL databases per DatabaseController |
osw[S3] | Interact with S3 Stores per S3FileController |
osw[dataimport] | Additional tools to import data |
osw[UI] | To use a helper UI to work with entity slots |
To install multiple optional/extra dependencies run
pip install osw[opt1, opt2, ...]
To install all optional/extra dependencies run
pip install osw[all]
You can find examples in the tutorial folder, e.g. entity creation, entity manipulaton, querying, and file downloads
Error: datamodel-codegen not found
make sure datamodel-codegen is installed and included in PATH, e. g. on jupyterlab:
os.environ["PATH"] += os.pathsep + "/home/jovyan/.local/bin"
https://opensemanticlab.github.io/osw-python/
Tutorials can be found at tutorials
Dev install
pip install -e . [dev,testing]
Activate pre-commit hooks (in git console)
pre-commit install
Run tests
tox -e test
Run integration tests (tests are skipped if login params are not provided)
tox -e test -- --wiki_domain "<osl-domain>" --wiki_username "<(bot)login>" --wiki_password "<password>" --db_username "<username>" --db_password "<password>"
This project has been set up using PyScaffold 4.3.1. For details and usage information on PyScaffold see https://pyscaffold.org/.
FAQs
Python toolset for data processing, queries, wikicode generation and page manipulation
We found that osw demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.