Skip to main content

get all components from a link pd code.

Project description

pd_code_components

计算 pd_code 中的每一个连通分量对应的编号集合

Install

pip install pd-code-components

Usage

from pd_code_components import get_components_from_pd_code
print(get_components_from_pd_code([[6, 1, 7, 2], [10, 4, 11, 3], [12, 8, 13, 7], [18, 16, 19, 15], [16, 9, 17, 10], [8, 17, 9, 18], [20, 14, 5, 13], [14, 20, 15, 19], [2, 5, 3, 6], [4, 12, 1, 11]]))

Project details


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_components-0.0.2.tar.gz (2.4 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_components-0.0.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file pd_code_components-0.0.2.tar.gz.

File metadata

  • Download URL: pd_code_components-0.0.2.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.13.12 Windows/11

File hashes

Hashes for pd_code_components-0.0.2.tar.gz
Algorithm Hash digest
SHA256 cfb110e4750731eb2e4970fa2ff94becaebbbcd785a68c3bad9d1b878aaed577
MD5 13b95efb8c76d4cd87c960cc22485a99
BLAKE2b-256 d4d14b0eda6cf8019f88bdb100eb5370760ee936bb538034ca06f254bcb4a301

See more details on using hashes here.

File details

Details for the file pd_code_components-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pd_code_components-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3793f8c5a644bfb08c6d553eda5bb518ce84409256975b009c066d7fb241d02a
MD5 5c6b3384e20831ad313965065cb387b7
BLAKE2b-256 f3edbbb4486826ba7292255b8c12e9c08a8677ec77d12d689ec41897d5e36d9f

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 Pingdom Monitoring Sentry Error logging StatusPage Status page