$npx skillfedfor your agent

magiccube

NxNxN Rubik Cube implementation

With conditionsPyPI MathematicsReleased Apr 2025485.9K downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — magiccube-1.2.0-py3-none-any.whl
v1.2.0 · released 2025-04-27 · Python >=3.9 · 1 runtime deps: numpy

Yes, if you need a fast, permissively licensed Rubik cube library. The low install friction, Production/Stable status, and recent updates make it reliable for simulations and solver development. The aging maintenance signal (474 days since last release) is a minor concern for long-term support, but no known vulnerabilities and active repository history suggest stability. Not necessary if you only need basic cube representation without solving or optimization.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later.
  • Low install friction with a pure-wheel distribution and a single runtime dependency on numpy.
  • The package is marked Production/Stable and has received updates as recently as April 2025, though the last commit was September 2025 and the project shows aging maintenance signals.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause is a permissive license that allows commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license text.

last release 2025-04-27 (474 days) · last repo commit 2025-09-07 · 36 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 485,889 downloads/mo, #6,395 on PyPI

Verify before relying

pip install magiccube

import magiccube
cube = magiccube.Cube(3, "YYYYYYYYYRRRRRRRRRGGGGGGGGGOOOOOOOOOBBBBBBBBBWWWWWWWWW")
cube.rotate("R' L2 U D' F B'2 R' L")
from magiccube import BasicSolver
solver = BasicSolver(cube)
solver.solve()
  • Whether the BasicSolver works reliably for all 3x3x3 configurations or only specific starting states.
  • Performance characteristics and whether the package is suitable for large-scale simulations beyond basic use.
  • Whether the move optimizer handles all edge cases or has known limitations in notation parsing.
Same gist for agents: .md · .json

What it is and what it does

MagicCube is a Python library for creating and manipulating Rubik cubes of any size from 2x2x2 up to 100x100x100. It provides fast rotation operations using numpy, making it suitable for cube simulations and algorithm testing. The library supports standard cube notation (L, R, U, D, F, B moves and their variants) plus advanced extensions like wide rotations and layer-specific moves.

The package includes a BasicSolver that can solve 3x3x3 cubes using the beginner method, and a move optimizer that simplifies move sequences by eliminating redundant rotations, converting triple moves to inverses, and removing unnecessary cube rotations. It's designed for developers building cube solvers, simulations, or educational tools.

Use it for

  • Build a Rubik cube solver or algorithm tester by creating cubes and applying move sequences.
  • Simulate cube scrambles and track state changes for educational or competitive analysis.
  • Optimize move sequences for cube-solving algorithms to reduce the number of rotations needed.
  • Generate and validate cube states in Kociemba order for advanced solving techniques.
  • Create visualizations or games that require fast cube state manipulation and rotation.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need a fast, permissively licensed Rubik cube library.

The low install friction, Production/Stable status, and recent updates make it reliable for simulations and solver development. The aging maintenance signal (474 days since last release) is a minor concern for long-term support, but no known vulnerabilities and active repository history suggest stability. Not necessary if you only need basic cube representation without solving or optimization.

Install

magiccube on PyPI

Before you install

Low install friction with a pure-wheel distribution and a single runtime dependency on numpy. The package is marked Production/Stable and has received updates as recently as April 2025, though the last commit was September 2025 and the project shows aging maintenance signals.

Requires Python 3.9 or later.

License in practice

BSD-3-Clause is a permissive license that allows commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license text.

Quickstart

pip install magiccube

import magiccube
cube = magiccube.Cube(3, "YYYYYYYYYRRRRRRRRRGGGGGGGGGOOOOOOOOOBBBBBBBBBWWWWWWWWW")
cube.rotate("R' L2 U D' F B'2 R' L")
from magiccube import BasicSolver
solver = BasicSolver(cube)
solver.solve()

Verify before relying

  • Whether the BasicSolver works reliably for all 3x3x3 configurations or only specific starting states.
  • Performance characteristics and whether the package is suitable for large-scale simulations beyond basic use.
  • Whether the move optimizer handles all edge cases or has known limitations in notation parsing.

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
numpy
MaintenanceAging 474 days since the last release
Last repo commit
First released
Downloads485,889 / month, #6,395 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableOperating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: magiccube-1.2.0-py3-none-any.whl

Tags

Capabilities
rubik cube solver pythonnxnxn cube implementationcube rotation simulationrubik cube simulatorcube move optimizerrubik cube librarycube state manipulation
Topics
simulationpuzzle-solveralgorithm-development
PyPI keywords
rubikcubesolverRubik CubeNxNxN

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “rubik cube solver python”

  • magiccubeMagicCube implements NxNxN Rubik cubes with fast rotations and…
  • cube_dbtIntegrates dbt models with Cube's semantic layer by parsing dbt…
  • maxcube-apiProvides a Python API to query and control eQ-3/ELV MAX! Cube…

Give your agent the search over MCP, or paste the wish link into any chat.

More Mathematics packages

networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
kiwisolver Worth it
PyPI · Mathematics · released Mar 2026

kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.

Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.

BSD-3-Clausecompiled wheel · 3.10+
205.5Mdownloads / mo
sympy Worth it
PyPI · Scientific/Engineering · released Apr 2025

SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.

BSD-3-Clausepure Python · 3.9+
196.4Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
torch With conditions
PyPI · Software Development · released Jul 2026

PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.

Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND MITcompiled wheel · 3.10+
102.5Mdownloads / mo
onnxruntime Worth it
PyPI · Software Development · released Jul 2026

onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.

Install it if you have ONNX models to run in production or development.

MITcompiled wheel · 3.11+
89.3Mdownloads / mo

See also transforms3d · pyquaternion · xpress · cbcbox · datacube · transformations · nvidia-cusolver · nvidia-cusolver-cu12 · nvidia-cusolver-cu11