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

Uploaded PyPymanylinux: glibc 2.34+ x86-64

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

Uploaded PyPymanylinux: glibc 2.34+ x86-64

pytriskel-0.3.1-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.1-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.1-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.1-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.1-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.1-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.1-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.1-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.1-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.3.1-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 4f94a6769bf0dd97711285e79a306c102563db01bfc1b51b6a5de0ee4bc93677
MD5 bd3a369af311d39b6806bc84a5503fcd
BLAKE2b-256 41daebb5ec0cfc40c1850293a3abf05b752f50254e017de3663d836ee92b5755

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytriskel-0.3.1-pp310-pypy310_pp73-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 dd16f02959280f28cf0e63bf5d94a22bfecffdd13e07053651886026dd1139d0
MD5 3d52a2f57b4fadb141ed6b67ae2ee375
BLAKE2b-256 28aedea48e0ce9e0adf70d5101a33f3c4e6be725d22b9505aad56bc8582467f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytriskel-0.3.1-cp313-cp313t-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 3b79081378cef3ad7444cd58d70119a0323ec3856cdba53c4dcbc6c21b3fe647
MD5 93d9d771b7384267cbf39ad108a4334f
BLAKE2b-256 931af25e2f4877915c7928fbeee2651a10bb4cf485ad47571da6f662555525d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytriskel-0.3.1-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ce3af7114b2f1588281ad04004c73747adb902e4ee0109a0265bfee94a9cf0b9
MD5 e96ce499ca051640706d881673e47e2b
BLAKE2b-256 e1cf2ba5d03aa43a8ecf8d4e30f2d7779d4ef558e7b803818dbf8e26a794574b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytriskel-0.3.1-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 345b77701dcd2d7d21a4b6ac1c5d9c5a7bf000e42377821c8c55d14ce29b698d
MD5 a1a32281acf3a2db050510ccfe408f97
BLAKE2b-256 bfffd2eee7f5b3e0b908ed2e4696816d6cf606813bcc3f8462f04f2d000f00b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytriskel-0.3.1-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 45dc84214725633ed89a2451e38cf9a4d9da3fdd4eeca9790c0649f5b25efdc4
MD5 9f71f122f70e5e73ab6429994faf0360
BLAKE2b-256 9127af99bb71b9b5a67c002d63f5c02e942ad797a335bc6ca919e3c9b63266d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytriskel-0.3.1-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 5b8017e2e73758de2b8fd1484a9cef5bfc1dbb4ba4cbcf86fd972a01b54f2210
MD5 ef25110af1574476836fddf192be33e6
BLAKE2b-256 333aae070f6b2d899915c99d0a626ff17ee51e0bd4e1e33636a39c45cfc7de20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytriskel-0.3.1-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 972c8c65e0858d2b597b9863581dc8ada6933cac2f3677988b051da257ffffe5
MD5 52422086c1cc5a7596cf7b34a6acf9bc
BLAKE2b-256 3eb4a39491f00b089cdef740e9d3b4f22188deaa8a1e773bd3481ec1783633f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytriskel-0.3.1-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 a3ef84bcae263323f2a7dc74ffe1cc80a57eaf23a01eb0daa5bb2c522362ba6f
MD5 92efa8383bfe897b21387010440239e1
BLAKE2b-256 f54d08ef0e99096f56f2057469824d57d55d0be9760f35924c6ce942e9aac692

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytriskel-0.3.1-cp37-cp37m-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 34a300db6e844fa3712985ab62c2339c7d384a8a46150d09cb6a79e33ef19373
MD5 ecc3c42324e8c0fa05bd0b46e00a6007
BLAKE2b-256 5c296f3038be09ab4e6c01d351c16347bf2b8f98050ba48b34e487800ad0b2b6

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