Registry / data / vegafusion-python-embed

vegafusion-python-embed

JSON →
library1.6.9pypypi✓ verified 81d ago

VegaFusion Python Embed provides Rust-accelerated Vega expression evaluation and data transformations for use with Vega(-Lite) visualizations. Version 1.6.9 is the latest stable release. The package is maintained by the VegaFusion team and released as needed.

pip install vegafusion-python-embed
INSTALL
IMPORT
SIG · VEGAFUSION-PYTHON-
V
vegafusion-python-embed
datapythonv1.6.9
Install
2.4s avg
Import
Disk
93MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.6.9 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
build_error
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.4s · import 0.000s · 95MB
93MB installed
● package 93MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PyVegaFusionRuntime
from vegafusion_embed import PyVegaFusionRuntime
from vegafusion import runtime
PyChartState
from vegafusion_embed import PyChartState
PySqlConnection
from vegafusion_embed import PySqlConnection

Import the runtime and evaluate a Vega expression. The embed package bundles the Rust core and is designed for server-side or offline use.

from vegafusion import runtime import vegafusion as vf # Example: evaluate a simple Vega expression result = runtime.eval_expression("2 + 3") print(result) # Note: runtime functions are synchronous in the embed package.
Debug
Known issues
gotchavegafusion-python-embed is a separate package from vegafusion. It bundles the Rust runtime and is intended for embedding in other Python tools. Do not install both vegafusion and vegafusion-python-embed together; they conflict.
fix
Choose one: install vegafusion for client-side use (with WASM), or vegafusion-python-embed for server-side / embedding.
affects: all
deprecatedSome runtime functions (e.g., runtime.pre_transform_spec) that were available in earlier versions are now moved to vegafusion-wasm or vegafusion-client packages. Check if you are using deprecated API.
fix
Use vegafusion-client or vegafusion-wasm for client-side spec transformations. For the embed package, stick to expression evaluation and data transformation.
affects: >=1.4.0
Upgrade
Version history
1.6.9latest on PyPI · released May 9, 2024
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
24
OpenAI (training)
1
Resources