
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Language SDK for FusionExport which enables exporting of charts and dashboards through Python.
To install this Python package, use pip:
.. code-block:: shell
pip install fusionexport
To use the SDK in your project:
.. code-block:: python
from fusionexport import ExportManager, ExportConfig
Start with a simple chart export. For exporting a single chart just pass the chart configuration as you would have passed it to the FusionCharts constructor.
.. code-block:: python
from fusionexport import ExportManager, ExportConfig # Import sdk
# Instantiate the ExportConfig class and add the required configurations
export_config = ExportConfig()
export_config["chartConfig"] = [{
"type": "column2d",
"renderAt": "chart-container",
"width": "600",
"height": "400",
"dataFormat": "json",
"dataSource": {
"chart": {
"caption": "Number of visitors last week",
"subCaption": "Bakersfield Central vs Los Angeles Topanga"
},
"data": [{
"label": "Mon",
"value": "15123"
},{
"label": "Tue",
"value": "14233"
},{
"label": "Wed",
"value": "25507"
}
]
}
}]
# Instantiate the ExportManager class
em = ExportManager()
# Call the export() method with the export config and the output location
exported_files = em.export(export_config, "./exported-charts", True)
# print list of exported files
print(exported_files)
Now run this file, then the exported chart files will be saved in ./exported-charts
folder.
You can find the full reference here <https://www.fusioncharts.com/dev/exporting-charts/using-fusionexport/sdk-api-reference/python.html>
_
FAQs
The FusionExport SDK in Python
We found that fusionexport 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.