Metadata-Version: 2.4
Name: pd-code-strong-sanity
Version: 0.1.0
Summary: Check if a pd_code represents a valid knot/link (with mandatory guarantee of an existing planar layout scheme)
License: MIT
License-File: LICENSE
Author: GGN_2015
Author-email: neko@jlulug.org
Requires-Python: >=3.10
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: pd-code-to-diagram (>=0.1.9)
Description-Content-Type: text/markdown

# pd-code-strong-sanity

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

## Installation

```bash
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`.

