Skip to main content

pd-code-rotate

Rotate every PD crossing while preserving component orientation.

Installation

pip install pd-code-rotate

Quick start

from pd_code_rotate import rotate.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pd_code_rotate-0.1.0.tar.gz
  • Upload date:
  • Size: 2.2 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_rotate-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b2f89efceaf2ce57d5d78fd7e131778d9fde66de40ff0179606d1b97208c5f50
MD5 b00ab61532e3730904dd51660461c115
BLAKE2b-256 4b78582af22c9c3c62a41ebf64feef9f367305d022c6c741955b10d254820cae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pd_code_rotate-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_rotate-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b0fb30d2d77a630433617e58e312a9cfadaeb89e9388eb3e1dc4704d4ad2588
MD5 b2e8fa8b096f540495e34bf0d8321ffe
BLAKE2b-256 9f82e4e8a92e31c92aed66cfcd666586516b8ed75832e92db5793238a88e2d1b

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