Skip to main content

Crankshaft

GitHub Actions ReaperMC Discord Beet Discord

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

Metadata

Release files for crankshaft 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crankshaft 1.0.0
File Size Uploaded
crankshaft-1.0.0.tar.gz 9.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for crankshaft 1.0.0
File Interpreter ABI Platform
crankshaft-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.8 kB

Release files / crankshaft-1.0.0.tar.gz

Download URL crankshaft-1.0.0.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0ac306d24470ec2b5ea96479051408d3e258630a24354562222991eb9ca25e4d
BLAKE2b-256 checksum
How to use checksums
43f52dc9807e3e798c6c307315fca84bbe94e878766738e2fe8b33a4df414876
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / crankshaft-1.0.0-py3-none-any.whl

Download URL crankshaft-1.0.0-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41749544b4087d6374eb5b632fc2276733c4aa47d79a0233d62eb658c1586d72
BLAKE2b-256 checksum
How to use checksums
262399c6cfb5a1f01c9ca16b19b26a6d6772e215b31e35a97456fc75f697dac2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page