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.
deephaven-plugin-plotly-express
Advanced tools
Custom implementation built on top of plotly express to make it compatible with deephaven tables.
To create your build / development environment (skip the first two lines if you already have a venv):
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip setuptools
pip install build deephaven-plugin plotly
To build:
python -m build --wheel
The wheel is stored in dist/
.
To test within deephaven-core, note where this wheel is stored (using pwd
, for example).
Then, follow the directions in the top-level README.md to install the wheel into your Deephaven environment.
To unit test, run the following command from the root of the repo:
tox -e py
Once you have the plugin installed and the server started, the recommended way to import the package mirrors plotly express:
import deephaven.plot.express as dx
Then, you can create a table (or use an existing one) and start plotting
from deephaven.column import int_col, string_col
import deephaven.plot.express as dx
from deephaven import new_table
source = new_table(
[
string_col("Categories", ["A", "B", "C"]),
int_col("Values", [1, 3, 5]),
]
)
fig = dx.bar(table=source, x="Categories", y="Values")
Docs can be built locally
Install the necessary dependencies:
pip install -r ../../sphinx_ext/sphinx-requirements.txt
pip install dist/deephaven_plugin_plotly_express-*.whl
then run the docs make script:
python make_docs.py
The files will be built into docs/build/markdown
.
Note that these built files should not be committed to the repository.
FAQs
Deephaven Chart Plugin
We found that deephaven-plugin-plotly-express 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.