ibrahimcesar/velociplot

Python bindings with PyO3

Open

#16 aperta il 29 nov 2025

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Rust (0 fork)auto 404
help wantedpriority: mediumtype: feature

Metriche repository

Star
 (3 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Description

Create Python bindings to allow using velociplot from Python, targeting the matplotlib/plotly user base.

Goals

  • Pythonic API
  • NumPy integration
  • Jupyter notebook support
  • pip installable

Tasks

  • Set up PyO3 bindings structure
  • Expose core plot types
  • NumPy array support
  • Create Python package (pyproject.toml)
  • Write Python documentation
  • Publish to PyPI

Example API

```python import velociplot as vp

x = [1, 2, 3, 4, 5] y = [1, 4, 9, 16, 25]

vp.line(x, y, color="#3498db", output="plot.png") ```

Acceptance Criteria

  • Clean Python API
  • Performance comparable to native Rust
  • Good documentation
  • Published on PyPI

Guida contributor