Add your description here
Project description
Pulse Recharts
Python bindings for Recharts React charting library.
Architecture
Typed Python wrappers around Recharts components. Charts are rendered to VDOM and sent to the client.
Python Chart → VDOM → pulse-client → recharts (React)
Folder Structure
src/pulse_recharts/
├── __init__.py # Public exports
├── charts.py # Chart containers (LineChart, BarChart, etc.)
├── cartesian.py # Cartesian components (XAxis, YAxis, Line, Bar, etc.)
├── general.py # General components (Tooltip, Legend, Label, etc.)
├── common.py # Common types (DataKey, Margin, etc.)
└── shapes.py # Shape components (Curve)
Usage
from pulse_recharts import (
LineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip, Legend,
ResponsiveContainer
)
data = [
{"name": "Jan", "uv": 4000, "pv": 2400},
{"name": "Feb", "uv": 3000, "pv": 1398},
{"name": "Mar", "uv": 2000, "pv": 9800},
]
def chart():
return ResponsiveContainer(width="100%", height=300, children=[
LineChart(data=data, children=[
CartesianGrid(strokeDasharray="3 3"),
XAxis(dataKey="name"),
YAxis(),
Tooltip(),
Legend(),
Line(type="monotone", dataKey="pv", stroke="#8884d8"),
Line(type="monotone", dataKey="uv", stroke="#82ca9d"),
])
])
Components
Chart Containers
LineChart,BarChart,AreaChartPieChart,RadarChart,RadialBarChartScatterChart,FunnelChart,ComposedChart
Cartesian
XAxis,YAxis- axesCartesianGrid- grid linesLine,Bar,Area- data series
General
ResponsiveContainer- responsive wrapperTooltip- hover tooltipsLegend- chart legendLabel,LabelList- data labelsText- text rendering
Shapes
Curve- curve shapes
Roadmap
- Area, Scatter series components
- ZAxis, Brush, ReferenceLine
- Polar components (Pie, Radar, RadialBar axes)
- All shape components (Dot, Rectangle, Sector)
- Custom render function support
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pulse_recharts-0.1.5.tar.gz
(15.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pulse_recharts-0.1.5.tar.gz.
File metadata
- Download URL: pulse_recharts-0.1.5.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20f424e852bdcff0311a8bd2ebeb5bf42f26d462d1920bbc9659bf8cefeaf24a
|
|
| MD5 |
d26bdde920c110d717f56a2242e590c5
|
|
| BLAKE2b-256 |
c5e62c97ef2acba8e2d44a4e100783031cc8be34356cc1cd59de73dc757e8b67
|
File details
Details for the file pulse_recharts-0.1.5-py3-none-any.whl.
File metadata
- Download URL: pulse_recharts-0.1.5-py3-none-any.whl
- Upload date:
- Size: 19.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aba09a16d01d747e120efd0062ff683d1cd8ae845d262ca3ae0e764bce110d45
|
|
| MD5 |
9c6a8f906c17c51e783c84020e743c95
|
|
| BLAKE2b-256 |
827a88ada22080a1c922f02e3f20d5d1bff29c88f204bc7fc6b9c6ca0cbc4753
|