cube-python 0.5.0__tar.gz → 0.5.1__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.
- {cube_python-0.5.0 → cube_python-0.5.1}/PKG-INFO +3 -3
- {cube_python-0.5.0 → cube_python-0.5.1}/README.md +1 -0
- {cube_python-0.5.0 → cube_python-0.5.1}/cube_python.egg-info/PKG-INFO +3 -3
- {cube_python-0.5.0 → cube_python-0.5.1}/cxx/cube_amalg.min.cpp +903 -482
- {cube_python-0.5.0 → cube_python-0.5.1}/pycube/__init__.py +21 -0
- {cube_python-0.5.0 → cube_python-0.5.1}/pycube/_ffi.py +3 -0
- {cube_python-0.5.0 → cube_python-0.5.1}/pyproject.toml +3 -3
- {cube_python-0.5.0 → cube_python-0.5.1}/setup.py +7 -2
- {cube_python-0.5.0 → cube_python-0.5.1}/test/test.2.py +2 -0
- {cube_python-0.5.0 → cube_python-0.5.1}/LICENSE +0 -0
- {cube_python-0.5.0 → cube_python-0.5.1}/cube_python.egg-info/SOURCES.txt +0 -0
- {cube_python-0.5.0 → cube_python-0.5.1}/cube_python.egg-info/dependency_links.txt +0 -0
- {cube_python-0.5.0 → cube_python-0.5.1}/cube_python.egg-info/top_level.txt +0 -0
- {cube_python-0.5.0 → cube_python-0.5.1}/pycube/_exceptions.py +0 -0
- {cube_python-0.5.0 → cube_python-0.5.1}/setup.cfg +0 -0
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cube-python
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.1
|
|
4
4
|
Summary: Python binding for Cube C++ library
|
|
5
5
|
Author-email: coshz <fsinhx@gmail.com>
|
|
6
|
-
License: MIT
|
|
6
|
+
License-Expression: MIT
|
|
7
7
|
Project-URL: Documentation, https://github.com/coshz/cube/tree/HEAD/bindings/python#readme
|
|
8
8
|
Project-URL: Source, https://github.com/coshz/cube
|
|
9
9
|
Project-URL: Bug Tracker, https://github.com/coshz/cube/issues
|
|
10
10
|
Keywords: game,rubiks-cube,bindings
|
|
11
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
12
11
|
Classifier: Programming Language :: Python :: 3
|
|
13
12
|
Classifier: Programming Language :: C++
|
|
14
13
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
@@ -71,6 +70,7 @@ from pycube import SolveError, CUBE_ID, PermFormat
|
|
|
71
70
|
|
|
72
71
|
| Function | Description |
|
|
73
72
|
| :--- | :--- |
|
|
73
|
+
| `cube_init(use_symmetry=True,table_dir="")` | use symmetric pruning tables and customized table directory. |
|
|
74
74
|
| `solve(src,tgt=CUBE_ID,good=22)` | Solve cube state `src`; stops as soon as a solution <= `good` moves is found. Returns solution string or raises `SolveError`. |
|
|
75
75
|
| `facecube(maneuver,cube=CUBE_ID)` | Applies move sequence (e.g., `"U F U' L2"`) to a cube state and returns the new state. |
|
|
76
76
|
| `solvable(cube)` | Returns `True` if the 54-character state string is physically solvable. |
|
|
@@ -52,6 +52,7 @@ from pycube import SolveError, CUBE_ID, PermFormat
|
|
|
52
52
|
|
|
53
53
|
| Function | Description |
|
|
54
54
|
| :--- | :--- |
|
|
55
|
+
| `cube_init(use_symmetry=True,table_dir="")` | use symmetric pruning tables and customized table directory. |
|
|
55
56
|
| `solve(src,tgt=CUBE_ID,good=22)` | Solve cube state `src`; stops as soon as a solution <= `good` moves is found. Returns solution string or raises `SolveError`. |
|
|
56
57
|
| `facecube(maneuver,cube=CUBE_ID)` | Applies move sequence (e.g., `"U F U' L2"`) to a cube state and returns the new state. |
|
|
57
58
|
| `solvable(cube)` | Returns `True` if the 54-character state string is physically solvable. |
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cube-python
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.1
|
|
4
4
|
Summary: Python binding for Cube C++ library
|
|
5
5
|
Author-email: coshz <fsinhx@gmail.com>
|
|
6
|
-
License: MIT
|
|
6
|
+
License-Expression: MIT
|
|
7
7
|
Project-URL: Documentation, https://github.com/coshz/cube/tree/HEAD/bindings/python#readme
|
|
8
8
|
Project-URL: Source, https://github.com/coshz/cube
|
|
9
9
|
Project-URL: Bug Tracker, https://github.com/coshz/cube/issues
|
|
10
10
|
Keywords: game,rubiks-cube,bindings
|
|
11
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
12
11
|
Classifier: Programming Language :: Python :: 3
|
|
13
12
|
Classifier: Programming Language :: C++
|
|
14
13
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
@@ -71,6 +70,7 @@ from pycube import SolveError, CUBE_ID, PermFormat
|
|
|
71
70
|
|
|
72
71
|
| Function | Description |
|
|
73
72
|
| :--- | :--- |
|
|
73
|
+
| `cube_init(use_symmetry=True,table_dir="")` | use symmetric pruning tables and customized table directory. |
|
|
74
74
|
| `solve(src,tgt=CUBE_ID,good=22)` | Solve cube state `src`; stops as soon as a solution <= `good` moves is found. Returns solution string or raises `SolveError`. |
|
|
75
75
|
| `facecube(maneuver,cube=CUBE_ID)` | Applies move sequence (e.g., `"U F U' L2"`) to a cube state and returns the new state. |
|
|
76
76
|
| `solvable(cube)` | Returns `True` if the 54-character state string is physically solvable. |
|