Skip to main content

pd-code-to-diagram

Convert PD codes to routed diagram matrices and render or parse diagrams.

Installation

pip install pd-code-to-diagram

Quick start

Use get_diagram_from_pd_code, diagram_to_image, or diagram_to_pd_code from pd_code_to_diagram.

PD codes are lists of four-entry crossings. Each arc label must occur exactly twice. Functions validate their inputs and do not mutate caller-owned PD-code lists unless explicitly documented.

Development

Use Python 3.10 or newer for Python packages. Build distributions with poetry build. Run the package's tests or examples before publishing. C++ projects require a modern standards-compliant compiler.

License

MIT. See LICENSE.

Download files

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

Source Distribution

pd_code_to_diagram-0.1.9.tar.gz (48.9 kB view details)

Uploaded Source

Built Distribution

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

pd_code_to_diagram-0.1.9-py3-none-any.whl (77.5 kB view details)

Uploaded Python 3

File details

Details for the file pd_code_to_diagram-0.1.9.tar.gz.

File metadata

  • Download URL: pd_code_to_diagram-0.1.9.tar.gz
  • Upload date:
  • Size: 48.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.11.15 Windows/10

File hashes

Hashes for pd_code_to_diagram-0.1.9.tar.gz
Algorithm Hash digest
SHA256 9a702c97f87e08b0825101f9e2f08f53bc0271661ac9505aca1971d72f740599
MD5 353a1b7306cf1f05127c27c3cbeef8b5
BLAKE2b-256 97e874a906820cfc36ba6db84a83e7b93f8b123c777663e0adda9646b05419c4

See more details on using hashes here.

File details

Details for the file pd_code_to_diagram-0.1.9-py3-none-any.whl.

File metadata

File hashes

Hashes for pd_code_to_diagram-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 e858abee44e8e0c20c36349c8d83aad9e34b0ad0fe290e1bf4931ed55094cf79
MD5 c08367162f9d1c50a8da133e5dc2b062
BLAKE2b-256 3527d5105865aaefe0f0409355ecbb1679463c27974190d1bb25f2f124c239a1

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 Sentry Error logging StatusPage Status page