Skip to main content

pd-code-strong-sanity

Validate that a PD code can be realized by the diagram-layout backend.

Installation

pip install pd-code-strong-sanity

Quick start

from pd_code_strong_sanity import sanity; the function returns a boolean.

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_strong_sanity-0.1.0.tar.gz (1.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_strong_sanity-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file pd_code_strong_sanity-0.1.0.tar.gz.

File metadata

  • Download URL: pd_code_strong_sanity-0.1.0.tar.gz
  • Upload date:
  • Size: 1.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_strong_sanity-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3a1b4d121fc23be9fdff9a48b1b789c05337c96bd7b82433c15d24832f4ce48a
MD5 8171b17d7765286caca238405a32eb89
BLAKE2b-256 4f85fd9ee0320f1873a1ba693ead24c313e68db3a430b5fb182f676555d4fe5b

See more details on using hashes here.

File details

Details for the file pd_code_strong_sanity-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pd_code_strong_sanity-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59b773fc3e2637c9403d1a148680e984178c12ce5e26baede4178b12b76a9ba1
MD5 88e43dea5dbc9eab5222bf740c3c98ff
BLAKE2b-256 62c89a816ba2a0f4d06baffc0823480c779679457231edd1f8cea9ad3c637734

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