Skip to main content

pd-code-sanity

Validate the structural invariants of planar-diagram codes.

Installation

pip install pd-code-sanity

Quick start

from pd_code_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_sanity-0.1.0.tar.gz (2.1 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_sanity-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pd_code_sanity-0.1.0.tar.gz
  • Upload date:
  • Size: 2.1 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_sanity-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e471f2985dbd7bf44c3494c201c909757d6079f3d3ac88a9d4f497037209cee7
MD5 5a96978cd75fcbf1aafbc25786b7320c
BLAKE2b-256 ca9cd9b82dae6b030c7c96dbc24fc5ed0babe42102987908328ba46199d8b835

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pd_code_sanity-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.11.15 Windows/10

File hashes

Hashes for pd_code_sanity-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a16a4ae7cf1a0a3339ba43ac591cbda2cd9ed1b4ec3d94fb89605f5d722d622
MD5 c9d18ae25f35eb415474a047e8dd581e
BLAKE2b-256 8391352d2b0fd58a832bc566286202f89b170e261f6ac855cb0c32bc4b25c979

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