Skip to main content

Python bindings for the triskel library.

Getting started

Requires Python 3.12+ (the wheels target the stable ABI, so a single wheel works on every later Python version). The package ships with auto-generated type stubs.

$ pip install pytriskel
from pytriskel.pytriskel import *

builder = make_layout_builder()

# Build the graph
n1 = builder.make_node("Hello")
n2 = builder.make_node("World")
builder.make_edge(n1, n2)

# Measure node size using font size
png_renderer = make_png_renderer()
builder.measure_nodes(png_renderer)

# Export an image
layout = builder.build()
layout.save(png_renderer, "out.png")

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytriskel-0.5.1.tar.gz (633.1 kB view details)

Uploaded Source

Built Distributions

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

pytriskel-0.5.1-cp312-abi3-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.12+Windows x86-64

pytriskel-0.5.1-cp312-abi3-manylinux_2_28_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ x86-64

pytriskel-0.5.1-cp312-abi3-manylinux_2_28_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ ARM64

pytriskel-0.5.1-cp312-abi3-macosx_15_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12+macOS 15.0+ x86-64

pytriskel-0.5.1-cp312-abi3-macosx_15_0_arm64.whl (1.5 MB view details)

Uploaded CPython 3.12+macOS 15.0+ ARM64

File details

Details for the file pytriskel-0.5.1.tar.gz.

File metadata

  • Download URL: pytriskel-0.5.1.tar.gz
  • Upload date:
  • Size: 633.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pytriskel-0.5.1.tar.gz
Algorithm Hash digest
SHA256 9ffa1469bf832d707de6fdc9ecf979d7026c11a18408dffba82e40d863c54340
MD5 b285945007bf89f3971849087c6849eb
BLAKE2b-256 3cfdb46501b83604427e8186a7d0e4972d31eaec6e752a266ac77f3dc6ad2142

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytriskel-0.5.1.tar.gz:

Publisher: wheels.yml on triskellib/triskel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pytriskel-0.5.1-cp312-abi3-win_amd64.whl.

File metadata

  • Download URL: pytriskel-0.5.1-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.12+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pytriskel-0.5.1-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9058fc3a102270b991946a37b02659db0bba522216bb677aea8072dbe5c63f2e
MD5 a9303f5139bbf5b053c26a35295043cc
BLAKE2b-256 0b45641ae7d28b5282127ba3f653cd10b650ca8473d3043bb400d41e4cff7688

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytriskel-0.5.1-cp312-abi3-win_amd64.whl:

Publisher: wheels.yml on triskellib/triskel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pytriskel-0.5.1-cp312-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.5.1-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8427f5cb425b5a7f9fbd98b5142c216db8e329b24872e0d414d31a9cfd727991
MD5 6c02a6b7d744121768cdbc5e981e59db
BLAKE2b-256 bd2a3591a1865477bdb2c77d004ede87136cdd7c3301ad6cb6f87b1fb221c9cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytriskel-0.5.1-cp312-abi3-manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on triskellib/triskel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pytriskel-0.5.1-cp312-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pytriskel-0.5.1-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 068f621bb7483d327151a1f5c6a0c09edfa85121ea8322a78d35562502c68616
MD5 07849b1e1ea352c786d6125aab78d2da
BLAKE2b-256 21cee468a0efe72c5c4099ab0bb399706987ba0e55a5d25d1777df695b26ae32

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytriskel-0.5.1-cp312-abi3-manylinux_2_28_aarch64.whl:

Publisher: wheels.yml on triskellib/triskel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pytriskel-0.5.1-cp312-abi3-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.5.1-cp312-abi3-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 7df50c183eceda38a5411e18d0b7991f11dbd0901c3dbfc55cde490b56f1a890
MD5 138b24c22ea82bf8f4b28274a2c40d78
BLAKE2b-256 eb0871862240abc8bbfb9b423ee6aec53a5075ae88c8e9c097d2bafd3aef571d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytriskel-0.5.1-cp312-abi3-macosx_15_0_x86_64.whl:

Publisher: wheels.yml on triskellib/triskel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pytriskel-0.5.1-cp312-abi3-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pytriskel-0.5.1-cp312-abi3-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ddabacfd8b8e51621375761a35fa7ecccef32f50798044829cbf8b0f19a0c2f0
MD5 6be87f91185a4327b6d2c2b2ce0d7e18
BLAKE2b-256 f3ed349f6fa02cef91277df3ae116f246148d9bb2d6c084b947b2afc208fd197

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytriskel-0.5.1-cp312-abi3-macosx_15_0_arm64.whl:

Publisher: wheels.yml on triskellib/triskel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.5.1 This release

6 files

0.5.0

10 files

0.4.1

10 files

0.4.0

10 files

0.3.2

10 files

0.3.1

10 files

0.2.1

8 files

0.2.0

10 files

0.1.6

10 files

0.1.5

10 files

0.1.4

10 files

0.1.3

10 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