Skip to main content

Verified 3x3 Rubik's Cube solver with visualisation.

Project description

Rubikoslav

PyPI Wiki

Rubikoslav is a reusable 3×3 Rubik's Cube solver. It combines a C++20 cube engine, a Python API and CLI, and an animated browser visualiser. Every returned solution is limited to 20 moves in the half-turn metric and replayed through the cube engine before it is accepted.

Install the package

Install the published package 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 the Python solver; C++ validates the state and replays the returned route before the browser animates it. 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.1.tar.gz (70.3 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.1-cp314-cp314-win_amd64.whl (344.7 kB view details)

Uploaded CPython 3.14Windows x86-64

rubikoslav-1.0.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (171.4 kB view details)

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

rubikoslav-1.0.1-cp314-cp314-macosx_11_0_arm64.whl (145.4 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

rubikoslav-1.0.1-cp313-cp313-win_amd64.whl (334.7 kB view details)

Uploaded CPython 3.13Windows x86-64

rubikoslav-1.0.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (171.3 kB view details)

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

rubikoslav-1.0.1-cp313-cp313-macosx_11_0_arm64.whl (145.2 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

rubikoslav-1.0.1-cp312-cp312-win_amd64.whl (334.7 kB view details)

Uploaded CPython 3.12Windows x86-64

rubikoslav-1.0.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (171.2 kB view details)

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

rubikoslav-1.0.1-cp312-cp312-macosx_11_0_arm64.whl (145.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

rubikoslav-1.0.1-cp311-cp311-win_amd64.whl (333.5 kB view details)

Uploaded CPython 3.11Windows x86-64

rubikoslav-1.0.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (170.2 kB view details)

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

rubikoslav-1.0.1-cp311-cp311-macosx_11_0_arm64.whl (144.4 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

rubikoslav-1.0.1-cp310-cp310-win_amd64.whl (332.2 kB view details)

Uploaded CPython 3.10Windows x86-64

rubikoslav-1.0.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (169.1 kB view details)

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

rubikoslav-1.0.1-cp310-cp310-macosx_11_0_arm64.whl (142.8 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for rubikoslav-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b93af975fc11a78ab7d5dfa3f3295ba1e8167c9c3dc4d1fea6bc31a75897d7e9
MD5 2f7160bfa11d28351c0978beec5dec6a
BLAKE2b-256 0d2aefe972c5cb94bb1113e5f32debabdd32cb2279a0c4c7eb61231515a8dc1d

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for rubikoslav-1.0.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 631243b6d71f390898e153bc0e1a8430b2c276dbe09e257a008b388b2a1ac69e
MD5 2283e447690d959d3006953ea94b3539
BLAKE2b-256 75db4c2a0ffda5d93e8c17fbde755c797dd35abeb9a177aaa5ee249670b76f4a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rubikoslav-1.0.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 df05ea3b5b1e24b3affd105db1253d3fff1210cd406085e25e949ed386ded83b
MD5 0a3dd2a8a6b360e39af4c3a4c6fbf0d0
BLAKE2b-256 3e70b32e83f06330e6aaa75b8b98a8c403a4d1439e5576a6f1f19d791265f230

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rubikoslav-1.0.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2490b7018e754516a5eb9eec7291be513d0ca28d82c41a35802387de80e350f0
MD5 24b91f32369e4df19ac57ebb088e997c
BLAKE2b-256 1545e4da1bff55fbc5d7fac03916703911716930ed59ce1563b2e92e3f765680

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for rubikoslav-1.0.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e1af3976957f423b96ed9693db911ac36b20da9edd9390a555ee26dc0102cb66
MD5 83289bd169c300da3c5c7c2b342a64ec
BLAKE2b-256 5c4ab2f3d6b2ca6df437964a4fe7edd6b724bda78cd13e280d3aa907414f6d49

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rubikoslav-1.0.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 02c308773ea77a81e90dcd6204ea3bda0c23fe95f217271a5fe2dcb52f22cd25
MD5 0dcf079fc7b0adcf18ffe9f40aa8d4e2
BLAKE2b-256 e0494e9019a34bbd243c31e83ecdbb38d39ff7d7d36badaba92a8e32dfa49cfd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rubikoslav-1.0.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 23faac42ca866a27ead9dadfa54e1a8860f48dc0fd76ad798b68fb25b62c823d
MD5 e0dd799329b0bb0eb262d062fefe7516
BLAKE2b-256 450e46c7a98456d01cf5d7ec895f1093066876ac37c9c2cc96b512d30ec42bef

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for rubikoslav-1.0.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b74ed07b3900473561668d5c3d7202eea4c1109e98e2a150392ef588a5edbf39
MD5 b2bb0859feccf0ab57c50b8ede47ba31
BLAKE2b-256 745a6479dc9694789dd2af58b9f93cdc57a064ae5977f1f8682e98bad4ca05be

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rubikoslav-1.0.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 abb71410e9e515473110f315e7262e4e1e660bc042958e2f2bbfed563025310b
MD5 2c3774a17c2e62ded7cd6ac9bd55a917
BLAKE2b-256 f64328ab8e0e98c2cbf14cd6a3911ac187a4bf286342fd9d55c101db8f5af82d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rubikoslav-1.0.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1806b59289a2d6bb5600d29d7bd1e6b6487d641cf45864f72dbaee7169b4a861
MD5 69142ee14245b035c3f0503341afb6ac
BLAKE2b-256 60eb2ce437ce4b632be3fc7946df84e15a474adbc864a1da8286ff450d050b61

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for rubikoslav-1.0.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2add333b5961e1eb90dfe10aa1d724e1bc5a856adb531f9523fcf9aae8b98053
MD5 b473cde3f29ace8e3a786829dd4276de
BLAKE2b-256 410f0470793a9d8d2eaaf1e0c430dcadbb737e9f9f7eab1af4a3d3a3254e8cf4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rubikoslav-1.0.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 70277f556188504c325523e2774bc77d38e63f45a097f123a9870b7cca07106d
MD5 4e511fc36dab018dae9ba3127da79123
BLAKE2b-256 b77e65f00042dde565720e23668c8511790232ba8c98e0a8a033f0d523475a43

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rubikoslav-1.0.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 23f5f031c9dd1c4b90a429a653102252ca9f6f741bb2df70e531a4fa9473dd31
MD5 f7d07fcf5cb38ac91ac1c02ed3a5ca38
BLAKE2b-256 6f466ed617583880fc38146c359b3e690f8035f045826ec6480bcf477963758b

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for rubikoslav-1.0.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c64a249d7d45647d4d6148650b28f52fc902c28293767fa9aa6c92dfaddad62c
MD5 73103f41d8cbc87568807e5441bdf149
BLAKE2b-256 bcf476706cd6ba413a3c026da2d92d5724ba5d7afd0721e744e9995dc45e5a15

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rubikoslav-1.0.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c5c37b0a16696f17151cb655402a15e962fc830a5532750f675ef2e781f6acb9
MD5 1b4ca3e0dfe48fee865fdc38bf5253b3
BLAKE2b-256 f375c41bdb483bbaa62c81b9de31bff2d775d506806ef526d0b89de6b7ec6f19

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rubikoslav-1.0.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 579892fd111e0e00680876d8185454b8216686f6ac33791518acd7f7d5e9941d
MD5 b24659271d91c61a23e78b4cbd4da189
BLAKE2b-256 a08e12d28f958582aa478e8c97d8ce4a0912249c3dadcc804c66c2c238c69044

See more details on using hashes here.

Provenance

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