pd-code-reverse-component 0.0.1__tar.gz → 0.1.0__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.
@@ -0,0 +1,44 @@
1
+ Metadata-Version: 2.4
2
+ Name: pd-code-reverse-component
3
+ Version: 0.1.0
4
+ Summary: reverse all arc number in one certain component for a link pd_code.
5
+ License: MIT
6
+ License-File: LICENSE
7
+ Author: GGN_2015
8
+ Author-email: neko@jlulug.org
9
+ Requires-Python: >=3.10
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Requires-Dist: pd-code-pre-nxt (>=0.1.0)
18
+ Requires-Dist: pd-code-sanity (>=0.1.0)
19
+ Description-Content-Type: text/markdown
20
+
21
+ # pd-code-reverse-component
22
+
23
+ Reverse the orientation of one component of a PD code.
24
+
25
+ ## Installation
26
+
27
+ ```bash
28
+ pip install pd-code-reverse-component
29
+ ```
30
+
31
+ ## Quick start
32
+
33
+ `from pd_code_reverse_component import reverse_component`.
34
+
35
+ 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.
36
+
37
+ ## Development
38
+
39
+ 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.
40
+
41
+ ## License
42
+
43
+ MIT. See `LICENSE`.
44
+
@@ -0,0 +1,23 @@
1
+ # pd-code-reverse-component
2
+
3
+ Reverse the orientation of one component of a PD code.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install pd-code-reverse-component
9
+ ```
10
+
11
+ ## Quick start
12
+
13
+ `from pd_code_reverse_component import reverse_component`.
14
+
15
+ 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.
16
+
17
+ ## Development
18
+
19
+ 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.
20
+
21
+ ## License
22
+
23
+ MIT. See `LICENSE`.
@@ -0,0 +1,5 @@
1
+ from .main import reverse_component
2
+
3
+ __all__ = [
4
+ "reverse_component"
5
+ ]
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pd-code-reverse-component"
3
- version = "0.0.1"
3
+ version = "0.1.0"
4
4
  description = "reverse all arc number in one certain component for a link pd_code."
5
5
  authors = [
6
6
  {name = "GGN_2015",email = "neko@jlulug.org"}
@@ -9,8 +9,8 @@ license = {text = "MIT"}
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
11
11
  dependencies = [
12
- "pd_code_sanity",
13
- "pd_code_pre_nxt"
12
+ "pd-code-sanity>=0.1.0",
13
+ "pd-code-pre-nxt>=0.1.0"
14
14
  ]
15
15
 
16
16
 
@@ -1,38 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: pd-code-reverse-component
3
- Version: 0.0.1
4
- Summary: reverse all arc number in one certain component for a link pd_code.
5
- License: MIT
6
- License-File: LICENSE
7
- Author: GGN_2015
8
- Author-email: neko@jlulug.org
9
- Requires-Python: >=3.10
10
- Classifier: License :: OSI Approved :: MIT License
11
- Classifier: Programming Language :: Python :: 3
12
- Classifier: Programming Language :: Python :: 3.10
13
- Classifier: Programming Language :: Python :: 3.11
14
- Classifier: Programming Language :: Python :: 3.12
15
- Classifier: Programming Language :: Python :: 3.13
16
- Classifier: Programming Language :: Python :: 3.14
17
- Requires-Dist: pd_code_pre_nxt
18
- Requires-Dist: pd_code_sanity
19
- Description-Content-Type: text/markdown
20
-
21
- # pd_code_reverse_component
22
- reverse all arc number in one certain component for a link pd_code.
23
-
24
- ## Install
25
-
26
- ```bash
27
- pip install pd-code-reverse-component
28
- ```
29
-
30
- ## Usage
31
-
32
- ```python
33
- import pd_code_reverse_component
34
-
35
- pd_code = [[8,11,9,12],[12,9,13,10],[10,13,11,14],[7,14,8,1],[4,1,5,2],[2,5,3,6],[6,3,7,4]]
36
- print(reverse_component(pd_code, 1)) # reverse the component with arc 1
37
- ```
38
-
@@ -1,17 +0,0 @@
1
- # pd_code_reverse_component
2
- reverse all arc number in one certain component for a link pd_code.
3
-
4
- ## Install
5
-
6
- ```bash
7
- pip install pd-code-reverse-component
8
- ```
9
-
10
- ## Usage
11
-
12
- ```python
13
- import pd_code_reverse_component
14
-
15
- pd_code = [[8,11,9,12],[12,9,13,10],[10,13,11,14],[7,14,8,1],[4,1,5,2],[2,5,3,6],[6,3,7,4]]
16
- print(reverse_component(pd_code, 1)) # reverse the component with arc 1
17
- ```