pd-code-delete-nugatory 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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pd-code-delete-nugatory
3
- Version: 0.0.1
3
+ Version: 0.1.0
4
4
  Summary: delete all nugatory crossing from a pd_code (link or knot).
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -0,0 +1,5 @@
1
+ from .main import erase_all_nugatory
2
+
3
+ __all__ = [
4
+ "erase_all_nugatory"
5
+ ]
@@ -156,5 +156,5 @@ def erase_all_nugatory(pd_code:list[list]):
156
156
  return pd_code
157
157
 
158
158
  if __name__ == "__main__":
159
- 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]]
159
+ pd_code = [[2, 9, 3, 10], [4, 7, 1, 8], [6, 11, 7, 12], [8, 3, 5, 4], [9, 2, 10, 1], [12, 5, 11, 6]]
160
160
  print(erase_all_nugatory(pd_code))
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pd-code-delete-nugatory"
3
- version = "0.0.1"
3
+ version = "0.1.0"
4
4
  description = "delete all nugatory crossing from a pd_code (link or knot)."
5
5
  authors = [
6
6
  {name = "GGN_2015",email = "neko@jlulug.org"}