pd-code-components 0.0.1__tar.gz → 0.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pd_code_components-0.0.1 → pd_code_components-0.0.2}/PKG-INFO +14 -1
- pd_code_components-0.0.2/README.md +15 -0
- {pd_code_components-0.0.1 → pd_code_components-0.0.2}/pyproject.toml +1 -1
- pd_code_components-0.0.1/README.md +0 -2
- {pd_code_components-0.0.1 → pd_code_components-0.0.2}/LICENSE +0 -0
- {pd_code_components-0.0.1 → pd_code_components-0.0.2}/pd_code_components/__init__.py +0 -0
- {pd_code_components-0.0.1 → pd_code_components-0.0.2}/pd_code_components/main.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pd-code-components
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.2
|
|
4
4
|
Summary: get all components from a link pd code.
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -19,3 +19,16 @@ Description-Content-Type: text/markdown
|
|
|
19
19
|
# pd_code_components
|
|
20
20
|
计算 pd_code 中的每一个连通分量对应的编号集合
|
|
21
21
|
|
|
22
|
+
## Install
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
pip install pd-code-components
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Usage
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
from pd_code_components import get_components_from_pd_code
|
|
32
|
+
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]]))
|
|
33
|
+
```
|
|
34
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# pd_code_components
|
|
2
|
+
计算 pd_code 中的每一个连通分量对应的编号集合
|
|
3
|
+
|
|
4
|
+
## Install
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
pip install pd-code-components
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
from pd_code_components import get_components_from_pd_code
|
|
14
|
+
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]]))
|
|
15
|
+
```
|
|
File without changes
|
|
File without changes
|
|
File without changes
|