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.2.tar.gz (70.6 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.2-cp314-cp314-win_amd64.whl (344.9 kB view details)

Uploaded CPython 3.14Windows x86-64

rubikoslav-1.0.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (171.6 kB view details)

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

rubikoslav-1.0.2-cp314-cp314-macosx_11_0_arm64.whl (145.6 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

rubikoslav-1.0.2-cp313-cp313-win_amd64.whl (334.9 kB view details)

Uploaded CPython 3.13Windows x86-64

rubikoslav-1.0.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (171.6 kB view details)

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

rubikoslav-1.0.2-cp313-cp313-macosx_11_0_arm64.whl (145.4 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

rubikoslav-1.0.2-cp312-cp312-win_amd64.whl (334.9 kB view details)

Uploaded CPython 3.12Windows x86-64

rubikoslav-1.0.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (171.5 kB view details)

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

rubikoslav-1.0.2-cp312-cp312-macosx_11_0_arm64.whl (145.4 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

rubikoslav-1.0.2-cp311-cp311-win_amd64.whl (333.7 kB view details)

Uploaded CPython 3.11Windows x86-64

rubikoslav-1.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (170.5 kB view details)

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

rubikoslav-1.0.2-cp311-cp311-macosx_11_0_arm64.whl (144.7 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

rubikoslav-1.0.2-cp310-cp310-win_amd64.whl (332.5 kB view details)

Uploaded CPython 3.10Windows x86-64

rubikoslav-1.0.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (169.3 kB view details)

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

rubikoslav-1.0.2-cp310-cp310-macosx_11_0_arm64.whl (143.1 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: rubikoslav-1.0.2.tar.gz
  • Upload date:
  • Size: 70.6 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.2.tar.gz
Algorithm Hash digest
SHA256 d34969ff25b4951891ec053aba49b638da931ad48371c531856196115b3e307f
MD5 eee90e578a39036fadfbd70d4f546d76
BLAKE2b-256 4d6ee9bf8419a629c66f07401d072b9140eb8d5428daf00586ca25f34da8f1cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.2.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.2-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: rubikoslav-1.0.2-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 344.9 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.2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 218f5eb2d0222cad1a4807928db79239440100d7104c7b0315d1ce7f214aa27a
MD5 17d8bef5f9e94e08f860a51388c1b570
BLAKE2b-256 f9b11546de15c37d6983aeb788f5ec0b1f251c721e1f7b5498185040df5ed8c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.2-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.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rubikoslav-1.0.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a1aa4850dff8cb0489fbc2fda8715db2d9a41966d1995b315a55a6630b087fa7
MD5 32ef8ab059310112d6f8fa8718ae0f9b
BLAKE2b-256 f4121d9e5b91c42a62779a4961f66a30a90729557080b9daeb1deaef709ac8e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.2-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.2-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rubikoslav-1.0.2-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b0be98d57d2498c6b89189300c1287c7ff18f3ebd38a9efb6ee87f43efddf271
MD5 d7163cc45bed31c924d762143748aff0
BLAKE2b-256 ca7f93173d7d1bd845947a14bfd45291edc8871a239ac2d41788e11468873e39

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.2-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.2-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: rubikoslav-1.0.2-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 334.9 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.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 078d54e18176e50147d265f2024a31f4aa5d1e5efcfdf1762ea59fe5bd9517eb
MD5 9ef2ec3d100071841a01c8cd8129693a
BLAKE2b-256 81522edfdee58c53886f571c7924a0ed4fc20a535bba93f3a1dd4e5ec2bab3cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.2-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.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rubikoslav-1.0.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3871c0f25f8fe491482fba6269348ee22a9506bba1d3a6cf4d8e3c34e4001ffd
MD5 adfcfa83f258a42b70f906d4623eff4a
BLAKE2b-256 b43dd1d5bc4153b41817b23bd99f06227a4b006db893b6fa6458f9536506d7cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.2-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.2-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rubikoslav-1.0.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 83bc725436cd570994fc6bc8fe2aad8388351150152d6ba5dc32ff9c43aa89be
MD5 34378f724240ed0b6bcbe30a57996c12
BLAKE2b-256 87887196ca036329ea9990f1318dfd29b455310873bcd555d96e2cf0d38ecd9c

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.2-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.2-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: rubikoslav-1.0.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 334.9 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.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 fa9a9374ebb3a08cbfc2f1b1e49f0440e5c8784d9e972140a13f625c53e37f96
MD5 1a1bc40447377ca27efeb4185acabc50
BLAKE2b-256 f9bf126ac70fa58e2b12cf5f624192ca279adf03cb21ec5923a1f050e4196476

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.2-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.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rubikoslav-1.0.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2875ef74b95194f07cca817fa0cb69ba60b1f5068c1cc391174463135036e6ee
MD5 07e39baf9f19d66baa1cad1b896019ac
BLAKE2b-256 200687cf9daed21538b0093068fa091903b756e35e5f9ec949554302f906450d

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.2-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.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rubikoslav-1.0.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bef5d046ab48c5bc3035889e16ef96989b03a96e56fa5ce93e36a0690d485e30
MD5 769491b88d0c030603dd2a3ee6d6c3d2
BLAKE2b-256 c235f8c4da625ef201d4b857d9a18060a1731dff680cc42b03334ed3617c6d90

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.2-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.2-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: rubikoslav-1.0.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 333.7 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.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 19dc8831156943b9e76f0b245bde75c0e2efdc9b22d52d84676beaf94c82c3dc
MD5 544b8c719f8860c1d85c1705362870f7
BLAKE2b-256 cce17da1d3a65045585cd58b29256aa8283628d8be8e7abcead9878ef83c1b24

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.2-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.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rubikoslav-1.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bfd7bb762f19b4fe70f0c1a503a639918eece89e75f742ed20805fe4cca5607e
MD5 705a58e6f647174e1f89a3383fded5fb
BLAKE2b-256 33c4140aae3111d974e26a7cc40efa87eb949de1e1737c5bca5971324a59b714

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.2-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.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rubikoslav-1.0.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 91dd6bccd49961ec33849f5ebd537869e6f23e330cb8fc1baebae33bc8c1afdc
MD5 662d11fd323ff96f784c19697d525a20
BLAKE2b-256 b1de92909a06486032a4f05fdae5ce3110d810cf2d005dee611117a3bea433af

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.2-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.2-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: rubikoslav-1.0.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 332.5 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.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7c8088c5a33ab5e93a92076a060d5f95ff0cb4b4714f7db53914ab427d4ff9c1
MD5 3ba02343ee9a987e66a777607f82d609
BLAKE2b-256 7943d1defd4ab6a128104a4401fce6420364e8cd5f5ad898e389efccc6c36c9d

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.2-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.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rubikoslav-1.0.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 eb72b1215b0cea29e3a6ac5e7909a3efca07ae75f899d97c3d26f9f543ea7ba9
MD5 b2a9b7b443f391d5f04d166997d5bd18
BLAKE2b-256 689c93f749e9a5d4ddbad469751e29c414147632bf4875d8a785c4c9eff172e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.2-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.2-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rubikoslav-1.0.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f7685d21194ade9bd3397fa8212d4da31a434bc40664ed36ad3441947c49d3e0
MD5 b21d1e8b515268eda19f71f8e1048080
BLAKE2b-256 cda84808416a6febad5b6b247ff359e94be760603afdff9ae664a1171ea0012a

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubikoslav-1.0.2-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