Skip to main content

pd-code-connected-sum

Join two oriented PD-code components and canonically renumber the result.

Installation

pip install pd-code-connected-sum

Quick start

from pd_code_connected_sum import connected_sum then connected_sum(a, b, a_label, b_label).

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_connected_sum-0.1.0.tar.gz (3.0 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_connected_sum-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pd_code_connected_sum-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 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_connected_sum-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5bf4831956061d402e8091d73494b77bfe1baba705b9e5fc049ad230216a15ce
MD5 414276acfd54bdcd617cfc7b55dce255
BLAKE2b-256 e2d77c6cb9278a12257641c139f581b6f887ad78b063887eef786ca331e6e018

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pd_code_connected_sum-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0dbd222a96bee663fa704bfb9590647d5f207d641ca9b436372a640373fb49ed
MD5 0d57c004f64afdf56352b34333c28ecc
BLAKE2b-256 58b8eb190e90d6bdf587a9b4715184edab71935d89ad1c6b1602b81d9fbb39ae

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