Skip to main content

com-link-gen-10

Enumerate textual representations of composite links built from prime knots and links with at most ten crossings.

Installation

pip install com-link-gen-10

Usage example

from com_link_gen_10 import com_link_gen

representations = com_link_gen(total_crs=5, max_component_cnt=2)
print(len(representations))  # 33
print(representations[0])

Algorithm

Prime names are sorted by crossing number, knot/link class, alternating class, table index, and mirror flag. A depth-first multiset enumeration permits repeated prime factors and keeps every non-empty solution whose crossing sum is within the bound. For each solution, component counts are loaded from its PD codes. The group-combination algorithm then enumerates connected edge sets with exactly factor_count - 1 joins, producing one deterministic link-representation document per valid tree.

Input conventions

A PD code is represented as a list of four-entry crossings. Arc labels normally occur exactly twice. Public functions validate inputs and return new values rather than mutating caller-owned data unless their API explicitly says otherwise.

External software

No external software is required. This package is implemented entirely in Python and reads data installed with the prime-link catalogue.

Development

Run examples and package checks before release. Python packages require Python 3.10 or newer. Build PyPI artifacts with:

poetry check
poetry build

License

MIT. See LICENSE.

Metadata

Release files for com-link-gen-10 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for com-link-gen-10 0.2.1
File Size Uploaded Provenance Actions
com_link_gen_10-0.2.1.tar.gz 3.7 kB Without provenance Details for com_link_gen_10-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for com-link-gen-10 0.2.1
File Interpreter ABI Platform Actions
com_link_gen_10-0.2.1-py3-none-any.whl Python 3 none any Details for com_link_gen_10-0.2.1-py3-none-any.whl

Total release size: 8.6 kB

Security for com-link-gen-10 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page