Skip to content

Rubikoslav

Rubikoslav is a reusable 3×3 Rubik's Cube solver with a Python API, a C++20 cube engine, a command-line interface, and an interactive browser visualizer.

Every returned route is replayed through the native engine before it is accepted.

Install

Install the published package from PyPI:

pip install rubikoslav

Solve a scramble

from rubikoslav import Rubikoslav

result = Rubikoslav().solve_scramble("R U F2")

if result.success:
    print(result.moves)
else:
    raise RuntimeError(result.error)

The first solve generates or loads the optimal search tables in the local cache. Later runs reuse them.