Skip to main content

A simple library to generate trick combinations for wizard skating.

Project description

wzrdbrain

wzrdbrain is the engine behind applications that generate random trick combinations for wizard skating. It helps skaters discover new and creative sequences of moves.

If you're a wizard skater, the best way to use this project is through the Rocker'd Magic Moves app!

The app is powered by this library and works on your phone, even offline.

Logic makes magic.

Contributing

We welcome contributions! wzrdbrain is an open-source project, and we encourage the community to help in many ways.

Want to add a new trick?

This is the most common way for skaters to contribute! If you know a trick that's missing from the generator, you can add it to our list.

To get started, please read our contributing guide which will walk you through the process.

Other ways to contribute

  • Report bugs and suggest features
  • Improve documentation
  • Submit code improvements for the Python or JavaScript libraries

For developers

This library is available in both Python and JavaScript.

Python usage

Install the package from PyPI:

pip install wzrdbrain

Use generate_combo to get a list of trick dictionaries.

from wzrdbrain import generate_combo

# Generate a combo of 3 tricks and get their names
combo = generate_combo(3)
trick_names = [trick['name'] for trick in combo]
print(trick_names)
# Example output: ['front open gazelle', 'fakie 360', 'back open lion']

JavaScript usage

You can use the ES6 module directly from the JSDelivr CDN.

import { generateCombo } from 'https://cdn.jsdelivr.net/gh/nazroll/wzrdbrain/src/wzrdbrain/wzrdbrain.min.js';

// Generate a combo of 3 tricks and get their names
const combo = generateCombo(3);
const trickNames = combo.map(trick => trick.name);
console.log(trickNames);

For more examples, see the usage documentation.

Credits

Many thanks to the wizard skating community for their valuable feedback and support. Special thanks to:

License

This project is licensed under the Apache-2.0 Open Source Software License. See the LICENSE file for details.

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

wzrdbrain-0.2.1.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wzrdbrain-0.2.1-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file wzrdbrain-0.2.1.tar.gz.

File metadata

  • Download URL: wzrdbrain-0.2.1.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wzrdbrain-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5053b2a7c9662f38d4bbeed86d8a5348a728ffd24dd1639db85f57cab0454a84
MD5 5fbde33538b4426ba963d31c8fe5354a
BLAKE2b-256 b2ba8c82e7d4cc8c31be61ec8cc359000ebb65c849a8a9d1d99b9c8c86296c87

See more details on using hashes here.

Provenance

The following attestation bundles were made for wzrdbrain-0.2.1.tar.gz:

Publisher: release.yml on nazroll/wzrdbrain

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wzrdbrain-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: wzrdbrain-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wzrdbrain-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 92fd30d19c05c335fcec05c7d4066cc16e5bbeb3bb3125628d117713f3424d7c
MD5 b7b4a0ab8ddbc8b1915c0c976e85c0da
BLAKE2b-256 90b2f1d8cab54f28fb095b25140b2a8a2520a7051bffe0dee5ab77813614d84b

See more details on using hashes here.

Provenance

The following attestation bundles were made for wzrdbrain-0.2.1-py3-none-any.whl:

Publisher: release.yml on nazroll/wzrdbrain

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