Bolt datapack flow control library.
Project description
Crankshaft
Flow control library for the Bolt scripting language.
from crankshaft:api import event
@event
def load():
tellraw @a "Hello, World!"
@event
def player_join():
tellraw @s {"text": "A diamond for you!", "color": "aqua"}
give @s diamond
Documentation
Available over at Crankshaft Documentation
Contributing
Contributions are welcome. Make sure to first open an issue discussing a problem or a new feature before creating a pull request. This project uses poetry.
poetry install
You can run the tests with poetry run pytest -v
.
poetry run pytest -v
License - MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
crankshaft-1.0.0.tar.gz
(9.8 kB
view details)
Built Distribution
File details
Details for the file crankshaft-1.0.0.tar.gz
.
File metadata
- Download URL: crankshaft-1.0.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/42.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.1.0 tqdm/4.66.1 importlib-metadata/7.0.0 keyring/24.3.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ac306d24470ec2b5ea96479051408d3e258630a24354562222991eb9ca25e4d |
|
MD5 | 22d9e8f744d8198df7a6027bb88f5c64 |
|
BLAKE2b-256 | 43f52dc9807e3e798c6c307315fca84bbe94e878766738e2fe8b33a4df414876 |
File details
Details for the file crankshaft-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: crankshaft-1.0.0-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/42.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.1.0 tqdm/4.66.1 importlib-metadata/7.0.0 keyring/24.3.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41749544b4087d6374eb5b632fc2276733c4aa47d79a0233d62eb658c1586d72 |
|
MD5 | 3b658c6d82d7081b6f5978978f56249e |
|
BLAKE2b-256 | 262399c6cfb5a1f01c9ca16b19b26a6d6772e215b31e35a97456fc75f697dac2 |