# Crankshaft
[![GitHub Actions](https://github.com/reapermc/crankshaft/workflows/CI/badge.svg)](https://github.com/reapermc/crankshaft/actions)
[![ReaperMC Discord](https://img.shields.io/discord/1145490732161974294?color=7289DA&label=ReaperMC&logo=discord&logoColor=fff)](https://discord.gg/PwdeKpUtRr)
[![Beet Discord](https://img.shields.io/discord/900530660677156924?color=7289DA&label=Beet&logo=discord&logoColor=fff)](https://discord.gg/98MdSGMm8j)
> Flow control library for the Bolt scripting language.
```py
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](https://reapermc.github.io/crankshaft/docs)
## 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](https://python-poetry.org).
```bash
poetry install
```
You can run the tests with `poetry run pytest -v`.
```bash
poetry run pytest -v
```
---
License - [MIT](https://github.com/reapermc/crankshaft/blob/main/LICENSE)
Raw data
{
"_id": null,
"home_page": "https://github.com/reapermc/crankshaft",
"name": "crankshaft",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.12,<4.0",
"maintainer_email": "",
"keywords": "beet,mecha,bolt,python,minecraft,datapack,minecraft-commands,mcfunction,crankshaft,library,reapermc,flow-control,event,event-handler",
"author": "ArcticYeti",
"author_email": "arcticyeti1@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/43/f5/2dc9807e3e798c6c307315fca84bbe94e878766738e2fe8b33a4df414876/crankshaft-1.0.0.tar.gz",
"platform": null,
"description": "# Crankshaft\n\n[![GitHub Actions](https://github.com/reapermc/crankshaft/workflows/CI/badge.svg)](https://github.com/reapermc/crankshaft/actions)\n[![ReaperMC Discord](https://img.shields.io/discord/1145490732161974294?color=7289DA&label=ReaperMC&logo=discord&logoColor=fff)](https://discord.gg/PwdeKpUtRr)\n[![Beet Discord](https://img.shields.io/discord/900530660677156924?color=7289DA&label=Beet&logo=discord&logoColor=fff)](https://discord.gg/98MdSGMm8j)\n\n> Flow control library for the Bolt scripting language.\n\n```py\nfrom crankshaft:api import event\n\n@event\ndef load():\n tellraw @a \"Hello, World!\"\n\n@event\ndef player_join():\n tellraw @s {\"text\": \"A diamond for you!\", \"color\": \"aqua\"}\n give @s diamond\n```\n\n## Documentation\n\nAvailable over at [Crankshaft Documentation](https://reapermc.github.io/crankshaft/docs)\n\n## Contributing\n\nContributions 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](https://python-poetry.org).\n\n```bash\npoetry install\n```\n\nYou can run the tests with `poetry run pytest -v`.\n\n```bash\npoetry run pytest -v\n```\n\n---\n\nLicense - [MIT](https://github.com/reapermc/crankshaft/blob/main/LICENSE)\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Bolt datapack flow control library.",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/reapermc/crankshaft"
},
"split_keywords": [
"beet",
"mecha",
"bolt",
"python",
"minecraft",
"datapack",
"minecraft-commands",
"mcfunction",
"crankshaft",
"library",
"reapermc",
"flow-control",
"event",
"event-handler"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "262399c6cfb5a1f01c9ca16b19b26a6d6772e215b31e35a97456fc75f697dac2",
"md5": "3b658c6d82d7081b6f5978978f56249e",
"sha256": "41749544b4087d6374eb5b632fc2276733c4aa47d79a0233d62eb658c1586d72"
},
"downloads": -1,
"filename": "crankshaft-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3b658c6d82d7081b6f5978978f56249e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.12,<4.0",
"size": 12995,
"upload_time": "2024-01-22T16:11:26",
"upload_time_iso_8601": "2024-01-22T16:11:26.822900Z",
"url": "https://files.pythonhosted.org/packages/26/23/99c6cfb5a1f01c9ca16b19b26a6d6772e215b31e35a97456fc75f697dac2/crankshaft-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "43f52dc9807e3e798c6c307315fca84bbe94e878766738e2fe8b33a4df414876",
"md5": "22d9e8f744d8198df7a6027bb88f5c64",
"sha256": "0ac306d24470ec2b5ea96479051408d3e258630a24354562222991eb9ca25e4d"
},
"downloads": -1,
"filename": "crankshaft-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "22d9e8f744d8198df7a6027bb88f5c64",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.12,<4.0",
"size": 9829,
"upload_time": "2024-01-22T16:11:28",
"upload_time_iso_8601": "2024-01-22T16:11:28.025239Z",
"url": "https://files.pythonhosted.org/packages/43/f5/2dc9807e3e798c6c307315fca84bbe94e878766738e2fe8b33a4df414876/crankshaft-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-22 16:11:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "reapermc",
"github_project": "crankshaft",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "crankshaft"
}