Skip to main content

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, AreaChart
  • PieChart, RadarChart, RadialBarChart
  • ScatterChart, FunnelChart, ComposedChart

Cartesian

  • XAxis, YAxis - axes
  • CartesianGrid - grid lines
  • Line, Bar, Area - data series

General

  • ResponsiveContainer - responsive wrapper
  • Tooltip - hover tooltips
  • Legend - chart legend
  • Label, LabelList - data labels
  • Text - 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

Release files for pulse-recharts 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pulse-recharts 0.1.5
File Size Uploaded
pulse_recharts-0.1.5.tar.gz 15.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pulse-recharts 0.1.5
File Interpreter ABI Platform
pulse_recharts-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 34.7 kB

Release files / pulse_recharts-0.1.5.tar.gz

Download URL pulse_recharts-0.1.5.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
20f424e852bdcff0311a8bd2ebeb5bf42f26d462d1920bbc9659bf8cefeaf24a
BLAKE2b-256 checksum
How to use checksums
c5e62c97ef2acba8e2d44a4e100783031cc8be34356cc1cd59de73dc757e8b67
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / pulse_recharts-0.1.5-py3-none-any.whl

Download URL pulse_recharts-0.1.5-py3-none-any.whl
Size 19.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aba09a16d01d747e120efd0062ff683d1cd8ae845d262ca3ae0e764bce110d45
BLAKE2b-256 checksum
How to use checksums
827a88ada22080a1c922f02e3f20d5d1bff29c88f204bc7fc6b9c6ca0cbc4753
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page