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.
This package provides a Reflex component wrapping the AGGrid library.
[!WARNING] As it is a WorkInProgress (WIP), only some parts of the AGGrid library features are wrapped, but it should be enough for most use cases.
pip install reflex-ag-grid
from reflex_ag_grid import ag_grid
Some implementation is offered for DataSource and handlers.
from reflex_ag_grid.data_source import DataSource
from reflex_ag_grid import handlers
import reflex as rx
from reflex_ag_grid import ag_grid
import pandas as pd
df = pd.read_csv(
"https://raw.githubusercontent.com/plotly/datasets/master/wind_dataset.csv"
)
column_defs = [
ag_grid.column_def(field="direction"),
ag_grid.column_def(field="strength"),
ag_grid.column_def(field="frequency"),
]
def ag_grid_simple():
return ag_grid(
id="ag_grid_basic_1",
row_data=df.to_dict("records"),
column_defs=column_defs,
)
Check out more documentation at Reflex.
The AGGrid feature I want is not available. What can I do?
This component is a partial wrapping of all the features of AGGrid. If you need a feature that is not available, open an issue to request it. We will try to implement it when possible.
If you can't wait for the team to implement it, you can also submit a PR with the feature you need.
FAQs
AGGrid wrapping for Reflex
We found that reflex-ag-grid 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.