{"id":18136264,"url":"https://github.com/purarue/cube-scramble-cli","last_synced_at":"2025-04-19T16:29:42.128Z","repository":{"id":94610034,"uuid":"171097610","full_name":"purarue/cube-scramble-cli","owner":"purarue","description":"A CLI for pyTwistyScrambler, to generate random states for twisty puzzles.","archived":false,"fork":false,"pushed_at":"2024-10-24T22:54:58.000Z","size":5574,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T21:44:43.751Z","etag":null,"topics":["cli","rubiks","rubiks-cube","rubiks-cube-scrambler","speedcubing"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/cube-scramble-cli/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/purarue.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-17T08:13:48.000Z","updated_at":"2024-10-24T22:55:01.000Z","dependencies_parsed_at":"2024-10-26T11:37:50.810Z","dependency_job_id":"e3dfe1dd-27f6-4d8a-a573-eb9b04e4dd34","html_url":"https://github.com/purarue/cube-scramble-cli","commit_stats":null,"previous_names":["purarue/cube-scramble-cli","seanbreckenridge/cube-scramble-cli"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purarue%2Fcube-scramble-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purarue%2Fcube-scramble-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purarue%2Fcube-scramble-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purarue%2Fcube-scramble-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/purarue","download_url":"https://codeload.github.com/purarue/cube-scramble-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249738797,"owners_count":21318503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","rubiks","rubiks-cube","rubiks-cube-scrambler","speedcubing"],"created_at":"2024-11-01T14:41:32.719Z","updated_at":"2025-04-19T16:29:42.090Z","avatar_url":"https://github.com/purarue.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cube-scramble-cli\n\n[![PyPi version](https://img.shields.io/pypi/v/cube_scramble_cli.svg)](https://pypi.python.org/pypi/cube_scramble_cli) [![Python 3.7|3.8|3.9|3.10](https://img.shields.io/pypi/pyversions/cube_scramble_cli.svg)](https://pypi.python.org/pypi/cube_scramble_cli) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\nA CLI for [pyTwistyScrambler](https://github.com/euphwes/pyTwistyScrambler), to generate random states for Rubik's cubes/twisty puzzles.\n\n\u003cimg src=\"https://raw.githubusercontent.com/purarue/cube-scramble-cli/master/.github/demo.gif\" alt=\"cube-scramble-cli demo gif\"\u003e\n\n#### Installation\n\nRequires python3.7+\n\n`$ pip3 install cube-scramble-cli`\n\n#### Run\n\n```\nUsage: cube-scramble-cli [OPTIONS] [ARGS]...\n\n  A command line based stopwatch and twisty puzzle scramble generator\n\nOptions:\n  -s, --print-symbols   Print a list of supported scrambles\n  -H, --hide-stopwatch  When using stopwatch, don't display time while solving\n  --help                Show this message and exit.\n```\n\nSupported Symbols:\n\n```\n3x3 WCA Scramble                           3x3\n2x2 WCA Scramble                           2x2\n4x4 WCA Scramble                           4x4\n5x5 WCA Scramble                           5x5\n6x6 WCA Scramble                           6x6\n7x7 WCA Scramble                           7x7\nPyraminx Scramble                          PYRAMINX\nMegaminx Scramble                          MEGAMINX\nSquare-1 Scramble                          SQUARE ONE\nSkewb Scramble                             SKEWB\nClock scramble                             CLOCK\nLast Layer Scramble                        LAST LAYER\nFirst 2 Layers Scramble                    FIRST 2 LAYERS\n\u003cMU\u003e-Last Six Edges Scramble               LAST SIX EDGES\n\u003cRU\u003e-gen Scramble                          RU SCRAMBLE\nLast Slot and Last Layer Scramble          LAST SLOT AND LAST LAYER\n[Stopwatch]                                STOPWATCH\n[Print Help]                               HELP\n[Quit]                                     QUIT\n```\n\nYou can press `tab` to scroll through the symbols at the prompt, and arrow keys scroll through history (stored at `~/.scramble_history.txt`. You can change this location by setting the `SCRAMBLE_HISTORY` environment variable to a different path.)\n\nAfter selecting a scramble, you may repeatedly press `return`/`enter` to generate another scramble of the same type, or enter a number to generate that many scrambles of the selected type; e.g. `3x3 3`\n\nUse Ctrl+C or Ctrl+D, or type `QUIT` to quit\n\nThe `STOPWATCH` command will start a stopwatch that stops when any key is pressed. You can use the `-H` flag when starting `cube-scramble-cli` to hide the timer while solving.\n\nIf you provide 'user input' as command line arguments, its prints the results and exits without entering interactive mode:\n\n```\n$ cube-scramble-cli 3x3 3\nR' B2 L2 F2 D2 B2 R U2 R' F2 R' U' R B' R2 U2 F' L D R2\nU2 B2 L2 F2 U L2 D' F2 D' U B R B U' R' U B D L'\nD' R' U F2 L' U2 L F' U' D B2 U L2 B2 D' L2 B2 U' F2 R\n```\n\nThis is also accessible through `python3 -m cube_scramble_cli`\n\n## License\n\nSince this uses [pyTwistyScrambler](https://github.com/euphwes/pyTwistyScrambler) internally, which in turn uses [cstimer](https://github.com/cs0x7f/cstimer) (which is GPL-3.0 licensed), this is GPL'd, so required to be liscened under that as well.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurarue%2Fcube-scramble-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpurarue%2Fcube-scramble-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurarue%2Fcube-scramble-cli/lists"}