Skip to main content

sakz

Test status License

Fast and simple plotting library.

Installation

cargo add sakz
# If you're using pip:
pip install sakz

# If you're using poetry:
poetry add sakz

# If you're using uv:
uv add sakz

Usage

use sakz;
use sakz::Plot;

use rand::Rng;

fn main() {
    let mut rng = rand::thread_rng();
    let x: Vec<f64> = (0..100).map(|_| rng.gen_range(0.0..10.0)).collect();
    let y: Vec<f64> = (0..100).map(|_| rng.gen_range(0.0..10.0)).collect();
    let data = x.iter().zip(y.iter()).map(|(x, y)| (*x, *y)).collect();

    let mut fig = sakz::Figure::new("Test".to_string(), 2, sakz::CoordinateSystem::Cartesian);
    let mut scatter = sakz::Scatter::new_2d(data);
    scatter.color("#39f").marker_size(3.0);
    _ = fig.plot(&scatter);
    fig.save("example.svg").unwrap();
}

This library is using Semantic Versioning.

Release files for sakz 0.1.0

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

Built distributions (wheels)

Table of built distributions (wheels) for sakz 0.1.0
File
sakz-0.1.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
sakz-0.1.0-py3-none-win32.whl Python 3 none Windows x86-32 Details
sakz-0.1.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl Python 3 none Linux glibc 2.17+ IBM System/390x Details
sakz-0.1.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl Python 3 none Linux glibc 2.17+ PowerPC 64-le Details
sakz-0.1.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl Python 3 none Linux glibc 2.17+ x86-32 Details
sakz-0.1.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl Python 3 none Linux glibc 2.17+ ARMv7l Details
sakz-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details

Total release size: 21.0 MB

Release files / sakz-0.1.0-py3-none-win_amd64.whl

Download URL sakz-0.1.0-py3-none-win_amd64.whl
Size 2.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
c2c5ad73a5635fdbe14a9a73d17e6919752347451c6d5b9836418dacd12f42be
BLAKE2b-256 checksum
How to use checksums
8aa08ad73cdaaae80c322aa1c95f9703540c7746aa3d44ff81ce9a0d14d9fc33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.2

Release files / sakz-0.1.0-py3-none-win32.whl

Download URL sakz-0.1.0-py3-none-win32.whl
Size 2.4 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
b6238cd6694b4f069bee2b205db5a2c1c05d215d74450f37ded699641348b316
BLAKE2b-256 checksum
How to use checksums
d29016734745640d4eee8d3c60df899aea5d79d4a6d5fbb7fb2f78b92a1cebd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.2

Release files / sakz-0.1.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl

Download URL sakz-0.1.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Size 3.5 MB
Tags Linux glibc 2.17+ IBM System/390x Python 3
SHA-256 checksum
How to use checksums
98f7ddabe830858d44f51c3024ed4246cb89880e253bb0e7701d5910794a8fbd
BLAKE2b-256 checksum
How to use checksums
07936cded5f2a99918a5b9515f1c74497e1b07c44ed2d3477214830604186731
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.2

Release files / sakz-0.1.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl

Download URL sakz-0.1.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Size 3.4 MB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
7eb1c6d237f5b9efeac12a5129180ea438678f936d7e1d6bfe9c2298eea1ff7a
BLAKE2b-256 checksum
How to use checksums
80dc002fd29cfe9a4f49f7423e5ba9d17bf9bc0e37189b400f9b0fde719ec875
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.2

Release files / sakz-0.1.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl

Download URL sakz-0.1.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Size 3.3 MB
Tags Linux glibc 2.17+ x86-32 Python 3
SHA-256 checksum
How to use checksums
31c7251316fc56273d6196954908005dc92caca283db09cd89e003c935bf36a5
BLAKE2b-256 checksum
How to use checksums
ad019b786c4c3e857eff48b2fc66c0c1b5c5dee3285a0eb9343ed0ee5251a456
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.2

Release files / sakz-0.1.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl

Download URL sakz-0.1.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Size 3.0 MB
Tags Linux glibc 2.17+ ARMv7l Python 3
SHA-256 checksum
How to use checksums
82ab287b08d9f162aa29984b0435d7cab6dc8f7f6e10fb856229807abe5227ca
BLAKE2b-256 checksum
How to use checksums
b42bf157609f9a2e40018f4c361aa40f437e46a27df50928032f8a5c37305f46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.2

Release files / sakz-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL sakz-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 3.0 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
b87aa904034870cc0e75ab7a1fedf86547f9a72d98575cf92f2dbd3d1d94343d
BLAKE2b-256 checksum
How to use checksums
91c62bc0c0a326975bafdb26bf3c096edb0d45498564645588ff529b0372d90c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

7 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