Skip to main content

High-performance SVG chart rendering engine for financial data visualization

Project description

zengeld-canvas

High-performance SVG chart rendering engine for financial data visualization

PyPI Python

Python bindings for the zengeld-canvas chart rendering engine. Built in Rust with zero runtime dependencies.

Features

  • 96 Drawing Primitives - Fibonacci, Gann, Pitchforks, Elliott Waves, Patterns, Channels, and more
  • 45+ Indicator Presets - Pre-configured rendering styles for SMA, RSI, MACD, Bollinger, Ichimoku, etc.
  • 12 Series Types - Candlestick, HeikinAshi, Line, Area, Histogram, Baseline, and more
  • 14 Multi-Chart Layouts - Grid, split, and custom layouts for dashboards
  • High Performance - Native Rust speed via PyO3

Installation

pip install zengeld-canvas

Quick Start

from zengeld_canvas import Chart, Bar

# Create bars
bars = [Bar(time=1703721600, open=100.0, high=105.0, low=98.0, close=103.0)]

# Build chart
chart = Chart(800, 600)
chart.bars(bars)
chart.candlesticks()
chart.sma(20, "#2196F3")

# Render to SVG
svg = chart.render_svg()

# Save to file
with open("chart.svg", "w") as f:
    f.write(svg)

Examples


Dark Theme

MACD Indicator

Multi-Chart Layout

Channels

Drawing Primitives

Category Count Examples
Fibonacci 11 Retracement, Fan, Arcs, Circles, Channel, Spiral
Lines 9 TrendLine, HorizontalLine, Ray, ExtendedLine
Annotations 11 Text, Callout, PriceLabel, Flag, Table
Shapes 10 Rectangle, Circle, Ellipse, Triangle, Path
Elliott Waves 5 Impulse, Correction, Triangle, Combo
Patterns 6 XABCD, HeadShoulders, Cypher, ThreeDrives
Gann 4 Fan, Box, Square, SquareFixed
And more... 40 Channels, Pitchforks, Cycles, Projections

License

MIT OR Apache-2.0

Support the Project

If you find this library useful, consider supporting development:

Currency Network Address
USDT TRC20 TNxMKsvVLYViQ5X5sgCYmkzH4qjhhh5U7X
USDC Arbitrum 0xEF3B94Fe845E21371b4C4C5F2032E1f23A13Aa6e
ETH Ethereum 0xEF3B94Fe845E21371b4C4C5F2032E1f23A13Aa6e
BTC Bitcoin bc1qjgzthxja8umt5tvrp5tfcf9zeepmhn0f6mnt40
SOL Solana DZJjmH8Cs5wEafz5Ua86wBBkurSA4xdWXa3LWnBUR94c

zengeld

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

zengeld_canvas-0.1.6.tar.gz (371.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

zengeld_canvas-0.1.6-cp312-cp312-win_amd64.whl (128.6 kB view details)

Uploaded CPython 3.12Windows x86-64

zengeld_canvas-0.1.6-cp312-cp312-macosx_11_0_arm64.whl (224.6 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

zengeld_canvas-0.1.6-cp312-cp312-macosx_10_12_x86_64.whl (230.8 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

zengeld_canvas-0.1.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (248.7 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

File details

Details for the file zengeld_canvas-0.1.6.tar.gz.

File metadata

  • Download URL: zengeld_canvas-0.1.6.tar.gz
  • Upload date:
  • Size: 371.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for zengeld_canvas-0.1.6.tar.gz
Algorithm Hash digest
SHA256 b9e1fb8f72af903a83aa882c44c7f923f31790fb9ba94e8d3ee0e18758bde9f2
MD5 8061443b4f566eeb9b77ba4290be9d16
BLAKE2b-256 8b916e8673b201737c4dae099b236dec31c9f8e3598f2b9dcc591194ca979a0d

See more details on using hashes here.

File details

Details for the file zengeld_canvas-0.1.6-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for zengeld_canvas-0.1.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 35de392423003e1e761a23b643e2a76d691f5164733dad0955ce7346320f280c
MD5 84c27c1bf5ffa23f3dedac545fc0737d
BLAKE2b-256 0b426241cc2544b1e4c9b0ac21d0ef226fef1ff4e83b655b3e2fed9cde52fac0

See more details on using hashes here.

File details

Details for the file zengeld_canvas-0.1.6-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for zengeld_canvas-0.1.6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9364b67c46552daa216cd08e37fa6b9930edfd0802fcb1bbaecf649518a68f96
MD5 459a91005c89cc93ec3a3569c93c7b3f
BLAKE2b-256 bdb9d902285711390ac328c9617a422a23f7c657ba2b16252a954bd98a40df13

See more details on using hashes here.

File details

Details for the file zengeld_canvas-0.1.6-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for zengeld_canvas-0.1.6-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5e7236c35feb00eefa61488e67ec07bd26a52b4ba153927d873c74153fd35470
MD5 c57677de385d4328469f1540eda29fa3
BLAKE2b-256 f91d4ed96c05bd515a4a8ed5ac376f5ab25b2fd461b3841c32044c2edee44d4e

See more details on using hashes here.

File details

Details for the file zengeld_canvas-0.1.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for zengeld_canvas-0.1.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 defdb5c76439f258e607b17c95819cce223f3b7aa8ea853f0e0e097b4d7f4dac
MD5 46c719494f298d20283c49f1322603d4
BLAKE2b-256 94686ef579a6fc90241845256ac26f97cfb90f1dd8f29cd9dce850abf3f2c3e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page