bolt-0.9.1
0.9.1
0.9.0
0.8.2
0.8.1
0.8.0
0.7.2
0.7.1
0.7.0
0.6.0
0.5.1
0.5.0
0.4.2
0.4.1
0.4.0
0.33.2
0.33.1
0.33.0
0.32.0
0.31.0
0.30.1
0.30.0
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.29.0
0.28.0
0.27.0
0.26.0
0.25.0
0.24.1
0.24.0
0.23.0
0.22.0
0.21.1
0.21.0
0.20.1
0.20.0
0.2.1
0.2.0
0.19.3
0.19.2
0.19.1
0.19.0
0.18.1
0.18.0
0.17.7
0.17.6
0.17.5
0.17.4
0.17.3
0.17.2
0.17.1
0.17.0
0.16.0
0.15.0
0.14.0
0.13.0
0.12.2
0.12.1
0.12.0
0.11.0
0.10.0
0.9.1
0.9.0
0.8.2
0.8.1
0.8.0
0.7.2
0.7.1
0.7.0
0.6.0
0.5.1
0.5.0
0.4.2
0.4.1
0.4.0
0.33.2
0.33.1
0.33.0
0.32.0
0.31.0
0.30.1
0.30.0
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.29.0
0.28.0
0.27.0
0.26.0
0.25.0
0.24.1
0.24.0
0.23.0
0.22.0
0.21.1
0.21.0
0.20.1
0.20.0
0.2.1
0.2.0
0.19.3
0.19.2
0.19.1
0.19.0
0.18.1
0.18.0
0.17.7
0.17.6
0.17.5
0.17.4
0.17.3
0.17.2
0.17.1
0.17.0
0.16.0
0.15.0
0.14.0
0.13.0
0.12.2
0.12.1
0.12.0
0.11.0
0.10.0
توضیحات
Supercharge Minecraft commands with Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | bolt-0.9.1 |
| نام | bolt |
| نسخه کتابخانه | 0.9.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Valentin Berlier |
| ایمیل نویسنده | berlier.v@gmail.com |
| آدرس صفحه اصلی | https://github.com/mcbeet/bolt |
| آدرس اینترنتی | https://pypi.org/project/bolt/ |
| مجوز | MIT |
# Bolt
[](https://github.com/mcbeet/bolt/actions)
[](https://pypi.org/project/bolt/)
[](https://pypi.org/project/bolt/)
[](https://github.com/ambv/black)
[](https://discord.gg/98MdSGMm8j)
> Supercharge Minecraft commands with Python.
```python
infinite_invisibility = {
Id: 14,
Duration: 999999,
Amplifier: 1,
ShowParticles: false,
}
def summon_chicken_army(n):
for i in range(n):
summon chicken ~i ~ ~ {
Tags: [f"quack{i}"],
IsChickenJockey: true,
Passengers: [{
id: zombie,
IsBaby: true,
ActiveEffects: [infinite_invisibility]
}]
}
say Go forth, my minions!
summon_chicken_army(16)
```
## Installation
The package can be installed with `pip`.
```bash
$ pip install bolt
```
## Contributing
Contributions are welcome. Make sure to first open an issue discussing the problem or the new feature before creating a pull request. The project uses [`poetry`](https://python-poetry.org/).
```bash
$ poetry install
```
You can run the tests with `poetry run pytest`.
```bash
$ poetry run pytest
```
The project must type-check with [`pyright`](https://github.com/microsoft/pyright). If you're using VSCode the [`pylance`](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance) extension should report diagnostics automatically. You can also install the type-checker locally with `npm install` and run it from the command-line.
```bash
$ npm run watch
$ npm run check
```
The code follows the [`black`](https://github.com/psf/black) code style. Import statements are sorted with [`isort`](https://pycqa.github.io/isort/).
```bash
$ poetry run isort bolt tests
$ poetry run black bolt tests
$ poetry run black --check bolt tests
```
---
License - [MIT](https://github.com/mcbeet/bolt/blob/main/LICENSE)
نیازمندی
| مقدار | نام |
|---|---|
| >=0.86.0 | beet |
| >=0.69.0 | mecha |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10,<4.0 | Python |
نحوه نصب
نصب پکیج whl bolt-0.9.1:
pip install bolt-0.9.1.whl
نصب پکیج tar.gz bolt-0.9.1:
pip install bolt-0.9.1.tar.gz