Metadata-Version: 2.4
Name: PyRubik
Version: 0.1.0.2
Summary: A Python module to make speedcubing projects a piece of cake.
Home-page: https://github.com/Samuel-de-Oliveira/PyCubing/
Author: Samuel de Oliveira
Author-email: samwolfg12@gmail.com
License: MIT
Keywords: cubing rubik rubik's cube solver scramble cube pyrubik
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Education
Classifier: Topic :: Games/Entertainment
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

# PyRubik
PyRubik is python module create to assist the creation of speedcubing
softwares made in Python. For example, if you are creating a speedcuber
timer using Flask, this module may help you.

## How to install
```sh
pip install pyrubik
```

## Usage
The module has so many features. Just take a look:

### Generate official WCA scrambles
> This code generate a scramble for a 2x2x2 cube:

```python
# This is a 2x2.py file
from PyRubik import Scramble

if __name__ == '__main__':
  scramble: list = Scramble.Cube2x2x2() # Create the scramble
  print(f'A 2x2x2 Scramble: {scramble}')   # Show it
```

```sh
# Your output must look similar like this:
A 2x2x2 Scramble: ['R2', "F'", 'R2', 'F', "R'", 'U', 'R2', 'U', "F'"]
```

> This another one generate for 3x3x3 cube, but without the list syntax

```python
# This is a 3x3.py file
from PyRubik import Scramble

if __name__ == '__main__':
  scramble: list = Scramble.Cube3x3x3() # Create the scramble

  # Show it
  for move in scramble:
      print(move, end='  ')
  print()
```

```sh
# Your output must look similar like this
U  L  U2  F'  U'  D'  F2  U'  F  L'  R  F2  B2  L2  R'  F  U'  B  F2  U'  F  B2  L  U
```

### PyRubik docs
You can get the project documentation [right here](https://pyrubik.readthedocs.io/en/latest/commands.html).

---

Made with ❤️ in Brazil 🇧🇷
