Skip to main content

A Python package for easier reuseability of the System Template Regolith filter for Minecraft Bedrock Edition

Project description

A Python package that powers the System Template Regolith Filter and provides a command line tool for creating projects based on the templates defined using the System Template syntax.

Installation

pip install regolith-system-template

Command Line Tool

You can access the commandline tool by running following commoand:

system-template <template-name>

This will create a new system based on the template named <template-name>.

Before using the command line tool, you should set the REGOLITH_SYSTEM_TEMPLATE environment variable to select the path where you can store your systems. The systems should be in subfolders of that directory stored in the same format as the one used by the Regolith filter.

Alternatively you can use --systems-path flag to specify the path in the command.

The --scope-path lets you specify the path to the file that contains the scope for the execution of the template. This is useful if you want to execute a template from a Regolith project. In that case, use this to specify the path to the project’s global Regolith scope.

The --scope variable lets you specify an additional scope in JSON format. This takes place of the scope configuration option in config.json of the Regolith project.

By default the app doesn’t work in non-empty directories. It can be changed using the --allow-non-empty flag.

For more help use the --help flag.

Unlike the Regolith filter, the command line tool doesn’t limit you to exporing only to RP/, BP/ and data/ directories.

MIT License

Copyright (c) 2025 Nusiq

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

regolith_system_template-1.0.0.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

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

regolith_system_template-1.0.0-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

Details for the file regolith_system_template-1.0.0.tar.gz.

File metadata

  • Download URL: regolith_system_template-1.0.0.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for regolith_system_template-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d9ea506f4cd47a904f21d2949ebdcc99a3051c26e7a7f52c96a039dde5e4dd53
MD5 5d191a087b8e3cb389b76e233abf0c99
BLAKE2b-256 b2b942530b48a280ada603b7e87fb114bd95e7a2cecc8ae5af9390ce8c4b2d9f

See more details on using hashes here.

File details

Details for the file regolith_system_template-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for regolith_system_template-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e18966fee8e8ffebfd7bc3d0736f461f37cf261446506e700bd3a77ec9b3c546
MD5 1ac441dcc8bef30ea4e708b1953bbc25
BLAKE2b-256 41b5a615fed84cbd35835e31464b96d423db1fe84c3d210f3ab8c5842fd519ef

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