Skip to main content

CFG visualization library

Project description

Python bindings for the triskel library.

Getting started

$ 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")

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

pytriskel-0.4.0-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl (3.9 MB view details)

Uploaded PyPymanylinux: glibc 2.34+ x86-64

pytriskel-0.4.0-pp310-pypy310_pp73-manylinux_2_34_x86_64.whl (3.9 MB view details)

Uploaded PyPymanylinux: glibc 2.34+ x86-64

pytriskel-0.4.0-cp313-cp313t-manylinux_2_34_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.34+ x86-64

pytriskel-0.4.0-cp313-cp313-manylinux_2_34_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

pytriskel-0.4.0-cp312-cp312-manylinux_2_34_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

pytriskel-0.4.0-cp311-cp311-manylinux_2_34_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

pytriskel-0.4.0-cp310-cp310-manylinux_2_34_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

pytriskel-0.4.0-cp39-cp39-manylinux_2_34_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.34+ x86-64

pytriskel-0.4.0-cp38-cp38-manylinux_2_34_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.34+ x86-64

pytriskel-0.4.0-cp37-cp37m-manylinux_2_34_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.34+ x86-64

File details

Details for the file pytriskel-0.4.0-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.4.0-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 b35f60daa70318bb3bca9e906082e8f5e7606dcc04bb63d4b59f91767cfbc339
MD5 8d5fc6352f503d3959c7ea1a6543e5fa
BLAKE2b-256 367a93d9c39cc13d38395fa6ab5ac7b740657063a7c9bc2ea646a2b2c0b73b91

See more details on using hashes here.

File details

Details for the file pytriskel-0.4.0-pp310-pypy310_pp73-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.4.0-pp310-pypy310_pp73-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 0f1f10a11117bfb08e42cdb5d088fc30280bca0545e2277d216097243ba4f91b
MD5 ceb5700b636c878cb787a92e4d8ff720
BLAKE2b-256 81b729713883c0828290533d92fd84587574c9668d5732b7d2c75aaaed1f98c1

See more details on using hashes here.

File details

Details for the file pytriskel-0.4.0-cp313-cp313t-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.4.0-cp313-cp313t-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 b47bd27859c7f65362a14158987887b2a16f8a0d2abcd26e1e2886342ee04d80
MD5 268eb28ac9d60c32d47bbd3ade324996
BLAKE2b-256 183e139828853880cca1390d031d06a35bb1c3e59c14f3638fc3d1d8a52b4bc8

See more details on using hashes here.

File details

Details for the file pytriskel-0.4.0-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.4.0-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 2bad1b6aebd01e348856a85b08b96cfb8947c261091837a592c5dfa89dabcb18
MD5 acf38cad638aec6903fad87e7bf573cb
BLAKE2b-256 869675949932d11dac4eaa3322ee6d751c8099f1c739932ba7f07d032e441649

See more details on using hashes here.

File details

Details for the file pytriskel-0.4.0-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.4.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 4772911bc7c5f86084b1ea51e6d6bb3171d84a92d4d35faa9ebd7ee278311347
MD5 db0457b358fc3b9a620219eb2c745a8b
BLAKE2b-256 d491de692a05d494234055d81aa7fe90d92886d5ea6b3f6e500a145309894372

See more details on using hashes here.

File details

Details for the file pytriskel-0.4.0-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.4.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 6ed8509294e93d920e636921404eef5725cb38a30b0143e5a89965cc62b9c301
MD5 82a185ce40b681ba50f59830a21ca8a6
BLAKE2b-256 9ac8f7040cd94229cc530600b4345d291e466befecf14ef0266cba46cdc18ba8

See more details on using hashes here.

File details

Details for the file pytriskel-0.4.0-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.4.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ac22e37a957aad23d73391e0203b1901524a648f7878221984a335e7c15bf5c7
MD5 ee40d9db2034d3f2250da53753c8d00c
BLAKE2b-256 439cbae343b956a122aa5403c088e6eeedf41737ee457f5dab1224b48cdf30fc

See more details on using hashes here.

File details

Details for the file pytriskel-0.4.0-cp39-cp39-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.4.0-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 e1cec8248e348fceb435048c1b627b15220675553c85eb3c04fc9b5395a9c348
MD5 6eb72f95962c58cf69916e7bb87dc07c
BLAKE2b-256 338fe4fb7dbeefb15bedac7a19d6cdf87928dfee4d12c1b6e4070800f10549d8

See more details on using hashes here.

File details

Details for the file pytriskel-0.4.0-cp38-cp38-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.4.0-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c38cdbf023ac662ddba5bf48429d8ae318fa1e4a031d3173545fde9b758a5f58
MD5 574dd813964ef0b7e966f087ba856122
BLAKE2b-256 5c2ee33047eb4334ce8b2a5b57fab9c9eebde64956232430e8631c31d55516fd

See more details on using hashes here.

File details

Details for the file pytriskel-0.4.0-cp37-cp37m-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.4.0-cp37-cp37m-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 a3e352858af061576588802d7de377f3d90ca2366639c4be900e7e3edafa1251
MD5 8e3c1f55dba442d61dfea16c6ab3a2d9
BLAKE2b-256 8e7f81bc444f00ffa44ba7e057e5d75618b92d3320871fcc930cd65e603df419

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