Skip to main content

Supercharge Minecraft commands with Python

Project description

Bolt

GitHub Actions PyPI PyPI - Python Version Code style: black Discord

Supercharge Minecraft commands with 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.

$ 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.

$ poetry install

You can run the tests with poetry run pytest.

$ poetry run pytest

The project must type-check with pyright. If you're using VSCode the pylance extension should report diagnostics automatically. You can also install the type-checker locally with npm install and run it from the command-line.

$ npm run watch
$ npm run check

The code follows the black code style. Import statements are sorted with isort.

$ poetry run isort bolt tests
$ poetry run black bolt tests
$ poetry run black --check bolt tests

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

bolt-0.49.2.tar.gz (53.6 kB view details)

Uploaded Source

Built Distribution

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

bolt-0.49.2-py3-none-any.whl (59.4 kB view details)

Uploaded Python 3

File details

Details for the file bolt-0.49.2.tar.gz.

File metadata

  • Download URL: bolt-0.49.2.tar.gz
  • Upload date:
  • Size: 53.6 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.0.6 tqdm/4.66.1 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.18

File hashes

Hashes for bolt-0.49.2.tar.gz
Algorithm Hash digest
SHA256 3f957178aeeecdeaa1bb5e61345692a282e79ab929bf5db01cb459336e566180
MD5 8168078b6f1be67d5734de694f99f8ae
BLAKE2b-256 2038afaf49e657d52f90b139aeb54f087b4e09749fa46d60043f6796916da2a8

See more details on using hashes here.

File details

Details for the file bolt-0.49.2-py3-none-any.whl.

File metadata

  • Download URL: bolt-0.49.2-py3-none-any.whl
  • Upload date:
  • Size: 59.4 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.0.6 tqdm/4.66.1 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.18

File hashes

Hashes for bolt-0.49.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8f831a4fa9de127d7c6c4e973dd024da7231ec5ede74037db88578b93825891c
MD5 fe77b9a60a0c7f874881aa9d7f7cd87d
BLAKE2b-256 fc6d54081d432e9c22163d994a82388c2c03f5568a24348697ce3db82215b45d

See more details on using hashes here.

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