wzrdbrain 0.1.0__py3-none-any.whl → 0.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: wzrdbrain
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.1
|
4
4
|
Summary: Basic APIs to generate tricks for wizard skating.
|
5
5
|
Project-URL: Homepage, https://github.com/nazroll/wzrdbrain
|
6
6
|
Project-URL: Documentation, https://github.com/nazroll/wzrdbrain#readme
|
@@ -55,7 +55,7 @@ Description-Content-Type: text/markdown
|
|
55
55
|
|
56
56
|
# wzrdbrain
|
57
57
|
|
58
|
-
|
58
|
+
A simple library to generate random trick combinations for wizard skating.
|
59
59
|
|
60
60
|
## Installation
|
61
61
|
|
@@ -66,42 +66,21 @@ pip install wzrdbrain
|
|
66
66
|
## Usage
|
67
67
|
|
68
68
|
```python
|
69
|
-
from wzrdbrain import generate_trick,
|
69
|
+
from wzrdbrain import generate_trick, generate_combo
|
70
70
|
|
71
|
-
#
|
72
|
-
print(generate_trick())
|
71
|
+
# Generate a single trick as a list of its parts
|
72
|
+
print(generate_trick())
|
73
|
+
# Example output: ['front', 'open', 'lion']
|
73
74
|
|
74
|
-
#
|
75
|
-
print(generate_combo(
|
75
|
+
# Generate a line of multiple tricks as formatted strings
|
76
|
+
print(generate_combo(3))
|
77
|
+
# Example output: ['front parallel', 'fakie toe press', 'forward 360']
|
76
78
|
```
|
77
79
|
|
78
|
-
##
|
80
|
+
## List of wizard skating tricks
|
79
81
|
|
80
|
-
|
81
|
-
# clone your repo
|
82
|
-
python -m venv .venv
|
83
|
-
source .venv/bin/activate # on Windows: .venv\Scripts\activate
|
84
|
-
pip install -e ".[dev]"
|
85
|
-
|
86
|
-
# lint + format
|
87
|
-
ruff check .
|
88
|
-
black .
|
89
|
-
|
90
|
-
# type-check
|
91
|
-
mypy .
|
92
|
-
|
93
|
-
# tests
|
94
|
-
pytest
|
95
|
-
```
|
96
|
-
|
97
|
-
## Release
|
98
|
-
|
99
|
-
1. Update version in `pyproject.toml` and `src/wzrdbrain/__init__.py`.
|
100
|
-
2. Create a Git tag and GitHub Release, e.g. `v0.1.0`.
|
101
|
-
3. The release workflow will build and publish to PyPI via Trusted Publishing.
|
82
|
+
The list of tricks in this library is not comprehensive. Please create an issue and give us your suggestions of new tricks to be added.
|
102
83
|
|
103
|
-
##
|
84
|
+
## Contributing
|
104
85
|
|
105
|
-
|
106
|
-
- Categories: Use `categories()` to see available groups and restrict generation.
|
107
|
-
- Typing: This library ships `py.typed` for type checkers.
|
86
|
+
Contributions are welcome! Please see the [Contributing Guide](CONTRIBUTING.md) for details on how to set up your development environment, run tests, and submit changes.
|
@@ -0,0 +1,6 @@
|
|
1
|
+
wzrdbrain/__init__.py,sha256=trIv6PSyva-qbi3Qjyzu7PAvkZoFT33709p47wHFXFg,196
|
2
|
+
wzrdbrain/wzrdbrain.py,sha256=VeVdgaGD62kRz8qv3vFlpNMKd87X6di4oWXVAJxujP4,2067
|
3
|
+
wzrdbrain-0.1.1.dist-info/METADATA,sha256=RTo1aEX_6mDE00WS3DdOm4oATH8zgTViMubW_VLUpiU,3523
|
4
|
+
wzrdbrain-0.1.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
5
|
+
wzrdbrain-0.1.1.dist-info/licenses/LICENSE,sha256=Hy5x7SjmbSRYLupIQI0bKAlfdZadCRV6Ka3XCXQrbAo,1073
|
6
|
+
wzrdbrain-0.1.1.dist-info/RECORD,,
|
wzrdbrain-0.1.0.dist-info/RECORD
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
wzrdbrain/__init__.py,sha256=trIv6PSyva-qbi3Qjyzu7PAvkZoFT33709p47wHFXFg,196
|
2
|
-
wzrdbrain/wzrdbrain.py,sha256=VeVdgaGD62kRz8qv3vFlpNMKd87X6di4oWXVAJxujP4,2067
|
3
|
-
wzrdbrain-0.1.0.dist-info/METADATA,sha256=nrpSLlJHxEuaVHAe-AfMOaBZG6JNahsZz_NR9HQdAeU,3708
|
4
|
-
wzrdbrain-0.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
5
|
-
wzrdbrain-0.1.0.dist-info/licenses/LICENSE,sha256=Hy5x7SjmbSRYLupIQI0bKAlfdZadCRV6Ka3XCXQrbAo,1073
|
6
|
-
wzrdbrain-0.1.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|