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.
.. image:: https://github.com/Kitware/trame-vega/actions/workflows/test_and_release.yml/badge.svg :target: https://github.com/Kitware/trame-vega/actions/workflows/test_and_release.yml :alt: Test and Release
trame-vega extend trame widgets with a Figure component that is capable of rendering Vega grammars such as Altair <https://altair-viz.github.io/>
__ plots.
trame-vega can be installed with pip <https://pypi.org/project/trame-vega/>
_:
.. code-block:: bash
pip install --upgrade trame-vega
The Trame Tutorial <https://kitware.github.io/trame/docs/tutorial.html>
_ is the place to go to learn how to use the library and start building your own application.
The API Reference <https://trame.readthedocs.io/en/latest/index.html>
_ documentation provides API-level documentation.
trame-vega is made available under the BSD-3 License. For more details, see LICENSE <https://github.com/Kitware/trame-vega/blob/master/LICENSE>
_
This license has been chosen to match the one use by Vega <https://github.com/vega/vega/blob/main/LICENSE>
_ and Altair <https://github.com/altair-viz/altair/blob/master/LICENSE>
_
which are either used within that trame widget or will be use by the user to create the content for those Figures.
Trame <https://kitware.github.io/trame/>
_ | Discussions <https://github.com/Kitware/trame/discussions>
_ | Issues <https://github.com/Kitware/trame/issues>
_ | RoadMap <https://github.com/Kitware/trame/projects/1>
_ | Contact Us <https://www.kitware.com/contact-us/>
_
.. image:: https://zenodo.org/badge/410108340.svg :target: https://zenodo.org/badge/latestdoi/410108340
Share your experience with a testimonial <https://github.com/Kitware/trame/issues/18>
_ or with a brand approval <https://github.com/Kitware/trame/issues/19>
_.
The Python interface of Altair provide examples <https://altair-viz.github.io/>
__ on how to create various visualization.
.. code-block:: python
import altair as alt
from vega_datasets import data
from trame.widgets import vega
# Generate chart
source = data.cars()
fig = (
alt.Chart(source)
.mark_circle()
.encode(
alt.X(alt.repeat("column"), type="quantitative"),
alt.Y(alt.repeat("row"), type="quantitative"),
color="Origin:N",
)
.properties(width=200, height=200)
.repeat(
row=["Horsepower", "Acceleration", "Miles_per_Gallon"],
column=["Miles_per_Gallon", "Acceleration", "Horsepower"],
)
.interactive()
)
# Display it
widget = vega.Figure(figure=None) # could pass fig at construction
widget.update(fig) # or update later
FAQs
Vega widget for trame
We found that trame-vega 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.