Skip to main content

Verified 3x3 Rubik's Cube solver with visualisation.

Project description

Rubikoslav

PyPI Wiki

Rubikoslav solves 3×3 Rubik's Cubes through a Python API, a CLI, and an animated browser visualiser, all backed by a C++20 cube engine. It only returns solutions of 20 moves or fewer in the half-turn metric, and the engine replays every route before accepting it.

Install the package

Install it from PyPI:

pip install rubikoslav

Use it in Python

from rubikoslav import Rubikoslav

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

if result.success:
    print(result.moves)

Run the visualiser

uv run rubikoslav

The visualiser sends the current position to Python. C++ checks the state and replays the route before the browser animates anything. R2 counts as one move, just like R and R'.

Or use the hosted version at rubikoslav.vercel.app.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rubikoslav-1.0.3.tar.gz (68.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

rubikoslav-1.0.3-cp314-cp314-win_amd64.whl (342.2 kB view details)

Uploaded CPython 3.14Windows x86-64

rubikoslav-1.0.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (168.9 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

rubikoslav-1.0.3-cp314-cp314-macosx_11_0_arm64.whl (142.9 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

rubikoslav-1.0.3-cp313-cp313-win_amd64.whl (332.2 kB view details)

Uploaded CPython 3.13Windows x86-64

rubikoslav-1.0.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (168.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

rubikoslav-1.0.3-cp313-cp313-macosx_11_0_arm64.whl (142.7 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

rubikoslav-1.0.3-cp312-cp312-win_amd64.whl (332.2 kB view details)

Uploaded CPython 3.12Windows x86-64

rubikoslav-1.0.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (168.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

rubikoslav-1.0.3-cp312-cp312-macosx_11_0_arm64.whl (142.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

rubikoslav-1.0.3-cp311-cp311-win_amd64.whl (331.0 kB view details)

Uploaded CPython 3.11Windows x86-64

rubikoslav-1.0.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (167.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

rubikoslav-1.0.3-cp311-cp311-macosx_11_0_arm64.whl (142.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

rubikoslav-1.0.3-cp310-cp310-win_amd64.whl (329.8 kB view details)

Uploaded CPython 3.10Windows x86-64

rubikoslav-1.0.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (166.7 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

rubikoslav-1.0.3-cp310-cp310-macosx_11_0_arm64.whl (140.4 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file rubikoslav-1.0.3.tar.gz.

File metadata

  • Download URL: rubikoslav-1.0.3.tar.gz
  • Upload date:
  • Size: 68.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for rubikoslav-1.0.3.tar.gz
Algorithm Hash digest
SHA256 0ab357dad671b7ac2ffb4abfd621106ee6faea05d020b592d3768ac7cebf3eee
MD5 6214a17809472b4044293abb41224352
BLAKE2b-256 4035d3fd005cefd3df5890b10e0754c9bc3107e096b0b06b531d83413e9c33e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.3.tar.gz:

Publisher: release.yml on unnobatroo/rubikoslav

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rubikoslav-1.0.3-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: rubikoslav-1.0.3-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 342.2 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for rubikoslav-1.0.3-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 aca164e4ab7dacd484396ca6b994350cf2311af505536f35880a4b0b3f3bc4f0
MD5 e499561d273b1577401a66bc692b3022
BLAKE2b-256 5f06d626eb1fd843ad36889fab7e9f3fa166e2310726b6de9244409fda5b7111

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.3-cp314-cp314-win_amd64.whl:

Publisher: release.yml on unnobatroo/rubikoslav

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rubikoslav-1.0.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rubikoslav-1.0.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a65c4c7e1a759c357e8fe51c743c0d325321371cfef7b1717b0837a718dc4775
MD5 2f2b070d038365161065008eca40fcc6
BLAKE2b-256 3d5901576ec963be09c5c4958f7bb604d1816dba353a5af88ac0a0fcda0eb67d

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on unnobatroo/rubikoslav

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rubikoslav-1.0.3-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rubikoslav-1.0.3-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3a440a8e88782f03f43e6aeb561818077e775c3bc5a0da4c5ec6624babf387b6
MD5 36c4b06124988ef3e23f41516d453702
BLAKE2b-256 81eb9e5f69d2e4e9c72e873efe33b820d353c85a58b01cac23f4a17cfdaec3ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.3-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: release.yml on unnobatroo/rubikoslav

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rubikoslav-1.0.3-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: rubikoslav-1.0.3-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 332.2 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for rubikoslav-1.0.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 6efc2aad33f20f6cfbb1f4e41db0956f32a8a8ea0dc9915071a08ad72146373e
MD5 fe3fdba829be39cd1c9ee5e7dfbe057b
BLAKE2b-256 10daedef0f7a8b7aa2aa3929bbe62958a5f8996db399dad26796e033fbddafaf

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.3-cp313-cp313-win_amd64.whl:

Publisher: release.yml on unnobatroo/rubikoslav

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rubikoslav-1.0.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rubikoslav-1.0.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b21ac78996952aaf0a5f19c8b813a2a12f36f9271be7900439640f62a0c630f6
MD5 01eb4021b7449d66cd9560b0485b53c8
BLAKE2b-256 55926a0830c91dc137ce75eca26567eb04c2dedc4bf175d654a369ce03d9c8d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on unnobatroo/rubikoslav

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rubikoslav-1.0.3-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rubikoslav-1.0.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c6025f33dc79ba753eab70bc610cf0fa9f8a94702030435508008e68a8fa76b3
MD5 30961d8a6b494c0c0bcdb1fc793c3271
BLAKE2b-256 bcd0a6a12d210dc7399b923a71b4a21ecdb340679098856c75b33ae91f7271f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.3-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: release.yml on unnobatroo/rubikoslav

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rubikoslav-1.0.3-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: rubikoslav-1.0.3-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 332.2 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for rubikoslav-1.0.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9933e3565e37e1213042049d3280b8d022ce8d8f61b50726fc7d31848454a7db
MD5 9478f570b014d2dc4a0aaad026890b6d
BLAKE2b-256 f0ea843880e376706bb4d7b66af85255e5259312d2d96091617cf97bd41ffb77

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.3-cp312-cp312-win_amd64.whl:

Publisher: release.yml on unnobatroo/rubikoslav

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rubikoslav-1.0.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rubikoslav-1.0.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6376381f051bf61f0b123f3dc2d1297e6f743c3205a0f1ffd226e6399eecb668
MD5 2ea3a51189177ae0c0071b405a8c12e8
BLAKE2b-256 1970e6380ad4b3cd8139c92a5aad92574768e169c993c57f5f3bd07817c0a9b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on unnobatroo/rubikoslav

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rubikoslav-1.0.3-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rubikoslav-1.0.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e6c99430383a5d235301bf76df9098e6d00b4b929e521b72b4ad296ef943e52e
MD5 7248c32c141d0063dfacb709d22a38df
BLAKE2b-256 977c1c9787f5affe8a577f3fd4770704eee9d894c75061771acad2accd6e2d48

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.3-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: release.yml on unnobatroo/rubikoslav

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rubikoslav-1.0.3-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: rubikoslav-1.0.3-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 331.0 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for rubikoslav-1.0.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5a84c789e15bead9f3d644757f34ac16a244d26deba8cf70f9aef24ce6f0cc97
MD5 072f66f1917fc1b8a855b46500403fd9
BLAKE2b-256 49aaf77667e1a4cde62ee7f253ab39dd2e9e6aa6d70617f829b5ef98a3a35a50

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.3-cp311-cp311-win_amd64.whl:

Publisher: release.yml on unnobatroo/rubikoslav

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rubikoslav-1.0.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rubikoslav-1.0.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7c96f1859c06a652c13f48d5442c858fe9be8eccfb209f9dd34e794e9b487bb4
MD5 f59750bab2ec9948b74961340760fc14
BLAKE2b-256 261945061be96adc418b34b32415418388557b3633e88c916cdd730d186890db

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on unnobatroo/rubikoslav

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rubikoslav-1.0.3-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rubikoslav-1.0.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cad5ce7d52e3412730a46dbe24351e348c8cc6a9a1bbb1c1284a9ab0a5c393e3
MD5 36ffcad1ed3094134a68fde2fa144b90
BLAKE2b-256 2f1ab271a3568cd25c6453f678685beee72d46d6023b234ea4162178d9076f29

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.3-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: release.yml on unnobatroo/rubikoslav

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rubikoslav-1.0.3-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: rubikoslav-1.0.3-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 329.8 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for rubikoslav-1.0.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c1d0ab33c4c4f15dfa175215d308de74dcf84e2488d32c1aedf6e7ae2e6237af
MD5 3f693bc6cf62db5866e1148cfc298839
BLAKE2b-256 d9c067c044a233e408714d8fd792c2c30474f88e37c644fa33740560abe2cc20

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.3-cp310-cp310-win_amd64.whl:

Publisher: release.yml on unnobatroo/rubikoslav

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rubikoslav-1.0.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rubikoslav-1.0.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c8bb6277ddda6d167f2e5cfc4ac0327f9ad7292de4cb7a43cd7966b0c04bb198
MD5 0d10a4012617eb484315ac9d676dfd2f
BLAKE2b-256 bb30088d0236c6e7913ed8b2bb375b653f8a06ced8c5f76e3d8736b85a39f013

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on unnobatroo/rubikoslav

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rubikoslav-1.0.3-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rubikoslav-1.0.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 605a516ab55fb2e094eccb9c8081d056f997f84f488191f2f50dd5add76f970e
MD5 fdf02ab9c8bcbc2501f88ae39d0d05db
BLAKE2b-256 9e2ae8736771c61cb6dada453a2c71491a5038be0718225bd9b6c12c219e6084

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.3-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: release.yml on unnobatroo/rubikoslav

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page