ibrahimcesar/velociplot

Python bindings with PyO3

Open

#16 建立於 2025年11月29日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Rust (0 fork)auto 404
help wantedpriority: mediumtype: feature

倉庫指標

Star
 (3 star)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南