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.3.2-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl (3.8 MB view details)

Uploaded PyPymanylinux: glibc 2.34+ x86-64

pytriskel-0.3.2-pp310-pypy310_pp73-manylinux_2_34_x86_64.whl (3.8 MB view details)

Uploaded PyPymanylinux: glibc 2.34+ x86-64

pytriskel-0.3.2-cp313-cp313t-manylinux_2_34_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.34+ x86-64

pytriskel-0.3.2-cp313-cp313-manylinux_2_34_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

pytriskel-0.3.2-cp312-cp312-manylinux_2_34_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

pytriskel-0.3.2-cp311-cp311-manylinux_2_34_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

pytriskel-0.3.2-cp310-cp310-manylinux_2_34_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

pytriskel-0.3.2-cp39-cp39-manylinux_2_34_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.34+ x86-64

pytriskel-0.3.2-cp38-cp38-manylinux_2_34_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.34+ x86-64

pytriskel-0.3.2-cp37-cp37m-manylinux_2_34_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.34+ x86-64

File details

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

File metadata

File hashes

Hashes for pytriskel-0.3.2-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 4dd3a69263aceb6edc531db304e798a041ad818018c1b2f73f1f72b8e4dd2a18
MD5 69ba0d73d932a9975919cea1003fce4a
BLAKE2b-256 8bf59069941f37398268e4fff20882f57e968fa233a45af561c7f35a2c972adf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytriskel-0.3.2-pp310-pypy310_pp73-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f0cda239ce9acb309e3e2c02d802a83dfd32efbba324d4733210d66392fc572d
MD5 62aef304ea368ad290c6ad6f3f009fed
BLAKE2b-256 80dbae0ca04b8d517285ab6cf384bf16c3e729a280034f29a305ca6d70b8dda0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytriskel-0.3.2-cp313-cp313t-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ef25e746efbb8c6f0c9d65b9325175725cb7357c42169d7e2fff8ad6d3ca1d53
MD5 6ca9e299bc1c64cb835902aa715d6a6b
BLAKE2b-256 93c1e101882607917a028c9253f620ea77bb825becde9957d91d6c14a2c326da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytriskel-0.3.2-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 651ff9657a8234f07e5222ab4a48ff804edf264d172294f2135f62d5a703ee85
MD5 f05e4673c6242444b7e1a707c3f816a3
BLAKE2b-256 aedcf39444011c9a8064f1c4a4a3443979a4a41decbd8ad1587271b18455db99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytriskel-0.3.2-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 191efdc8ed8f49fbd426b406d524bf18b792cfc68ef95092025fae4cf3fd8c8b
MD5 a5574695dc36254a9b0c67924ff96c7c
BLAKE2b-256 501d67c79bba3e951a0384bd680ae9f25a381d1665dad0ea88d83b742362952e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytriskel-0.3.2-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 bf83958d5b80bf48cb504b8180a1650e18045b7578b3bd3d9f283290885ee13c
MD5 3410a8b8757f5432864744378dbe435c
BLAKE2b-256 da14915e40e91a4fecca146be802c887bbb8709457d93147938bf7f05b931cba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytriskel-0.3.2-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 42d9aa0e3cf8a8cd31b2e41c274249e76e005d42bbeb56d7801c651f7d8b0ce6
MD5 b5f97969dcfd4fefa7f8cd3b622930e8
BLAKE2b-256 e8e4421cd385f21be6220017b01be95723940106ef3b50eac9eda21d962508b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytriskel-0.3.2-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 47debbef21956721b80fc76af142d188ea751ce568b0fac965a5b857511add03
MD5 304caa8922e3bd6f0e5593c8e8ea1098
BLAKE2b-256 760ff07149897ce2c510b346c2242d7fcf66d115b674888de520f03103983548

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytriskel-0.3.2-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 d9753791d73dccdf671fe4b77f82e549d58e37ae57ae19556e32f29e615cddfc
MD5 b8a44fb6b5353b75f7644a7c0a2372c3
BLAKE2b-256 275aaa31d923fdf4648b6fdea0d89cce7b285c1f9366b39f2b2f77c7458f8c56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytriskel-0.3.2-cp37-cp37m-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 7fa92563a93c4c82fa5c1dc68e1ae947ead95e96a45c2c9def6438d55bf4914a
MD5 3c32cf6547b57de9fee21903cf294d02
BLAKE2b-256 86107a0c31f85a035efa8f99558f3358394c7edbb3befbfebeb5205fb7c5413e

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