{"id":13732940,"url":"https://github.com/mcbeet/beet","last_synced_at":"2026-01-17T07:20:04.762Z","repository":{"id":37057915,"uuid":"290820613","full_name":"mcbeet/beet","owner":"mcbeet","description":"The Minecraft pack development kit.","archived":false,"fork":false,"pushed_at":"2025-01-21T20:18:10.000Z","size":4691,"stargazers_count":185,"open_issues_count":18,"forks_count":18,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-03T19:11:25.457Z","etag":null,"topics":["beet","datapack","mcfunction","minecraft","resourcepack"],"latest_commit_sha":null,"homepage":"https://mcbeet.dev","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mcbeet.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["vberlier"]}},"created_at":"2020-08-27T16:03:33.000Z","updated_at":"2025-03-30T08:33:22.000Z","dependencies_parsed_at":"2023-10-01T16:50:06.966Z","dependency_job_id":"2dc84078-bec7-41d2-a591-c89ef165e090","html_url":"https://github.com/mcbeet/beet","commit_stats":{"total_commits":1058,"total_committers":13,"mean_commits":81.38461538461539,"dds":0.3903591682419659,"last_synced_commit":"01c7723170e37c1a6f5cafa4b5af64a61873a0b9"},"previous_names":[],"tags_count":258,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcbeet%2Fbeet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcbeet%2Fbeet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcbeet%2Fbeet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcbeet%2Fbeet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcbeet","download_url":"https://codeload.github.com/mcbeet/beet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248489309,"owners_count":21112545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beet","datapack","mcfunction","minecraft","resourcepack"],"created_at":"2024-08-03T03:00:35.739Z","updated_at":"2026-01-17T07:20:04.720Z","avatar_url":"https://github.com/mcbeet.png","language":"Python","funding_links":["https://github.com/sponsors/vberlier"],"categories":["Softwares","Official","Python","Uncategorized"],"sub_categories":["Implementation","Uncategorized"],"readme":"\u003cimg align=\"right\" src=\"https://raw.githubusercontent.com/mcbeet/beet/main/logo.png?sanitize=true\" alt=\"logo\" width=\"76\"\u003e\n\n# Beet\n\n[![GitHub Actions](https://github.com/mcbeet/beet/workflows/CI/badge.svg)](https://github.com/mcbeet/beet/actions)\n[![PyPI](https://img.shields.io/pypi/v/beet.svg)](https://pypi.org/project/beet/)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/beet.svg)](https://pypi.org/project/beet/)\n[![Discord](https://img.shields.io/discord/900530660677156924?color=7289DA\u0026label=discord\u0026logo=discord\u0026logoColor=fff)](https://discord.gg/98MdSGMm8j)\n\n\u003e The Minecraft pack development kit.\n\n## Introduction\n\nMinecraft [resource packs](https://minecraft.wiki/w/Resource_pack) and [data packs](https://minecraft.wiki/w/Data_pack) work well as _distribution_ formats but can be pretty limiting as _authoring_ formats. You can quickly end up having to manage hundreds of files, some of which might be buried within the bundled output of various generators.\n\nThe `beet` project is a development kit that tries to unify data pack and resource pack tooling into a single pipeline. The community is always coming up with pre-processors, frameworks, and generators of all kinds to make the developer experience more ergonomic. With `beet` you can seamlessly integrate all these tools in your project.\n\n### Screencasts\n\n- **Quick start** [https://youtu.be/JGrJTOhG3pY](https://youtu.be/JGrJTOhG3pY)\n- **Command-line** [https://youtu.be/fQ9up0ELPNE](https://youtu.be/fQ9up0ELPNE)\n- **Library overview** [https://youtu.be/LDvV4_l-PSc](https://youtu.be/LDvV4_l-PSc)\n- **Plugins basics** [https://youtu.be/XTzKmvHqd1g](https://youtu.be/XTzKmvHqd1g)\n- **Pipeline configuration** [https://youtu.be/QsnQncGxAAs](https://youtu.be/QsnQncGxAAs)\n\n### Library\n\n```python\nfrom beet import ResourcePack, Texture\n\n# Open a zipped resource pack and add a custom stone texture\nwith ResourcePack(path=\"stone.zip\") as assets:\n    assets[\"minecraft:block/stone\"] = Texture(source_path=\"custom.png\")\n```\n\nThe `beet` library provides carefully crafted primitives for working with Minecraft resource packs and data packs.\n\n- Create, read, edit and merge resource packs and data packs\n- Handle zipped and unzipped packs\n- Fast and lazy by default, files are transparently loaded when needed\n- Statically typed API enabling rich intellisense and autocompletion\n- First-class [`pytest`](https://github.com/pytest-dev/pytest/) integration with detailed assertion explanations\n\n### Toolchain\n\n```python\nfrom beet import Context, Function\n\ndef greet(ctx: Context):\n    \"\"\"Plugin that adds a function for greeting the player.\"\"\"\n    ctx.data[\"greet:hello\"] = Function([\"say hello\"], tags=[\"minecraft:load\"])\n```\n\nThe `beet` toolchain is designed to support a wide range of use-cases. The most basic pipeline will let you create configurable resource packs and data packs, but plugins make it easy to implement arbitrarily advanced workflows and tools like linters, asset generators and function pre-processors.\n\n- Compose plugins that can inspect and edit the generated resource pack and data pack\n- Configure powerful build systems for development and creating releases\n- First-class template integration approachable without prior Python knowledge\n- Link the generated resource pack and data pack to Minecraft\n- Automatically rebuild the project on file changes with watch mode\n- Batteries-included package that comes with a few handy plugins out of the box\n- Rich ecosystem, extensible CLI, and powerful generator and worker API\n\n## Installation\n\nWe recommend `uv` (https://github.com/astral-sh/uv#installation). With `uv` installed, you can try `beet` by running `uvx beet`. You can also install `beet` as a global tool on your machine.\n\n```console\n$ uv tool install beet\n```\n\n\u003e If you see the message `warning: ... is not on your PATH`, you'll need to add the specified directory to your global path to invoke `beet` directly instead of using `uvx beet`.\n\nYou can make sure that `beet` was successfully installed by trying to use the toolchain from the command-line.\n\n```console\n$ beet --help\nUsage: beet [OPTIONS] COMMAND [ARGS]...\n\n  The beet toolchain.\n\nOptions:\n  -p, --project PATH  Select project.\n  -s, --set OPTION    Set config option.\n  -l, --log LEVEL     Configure output verbosity.\n  -v, --version       Show the version and exit.\n  -h, --help          Show this message and exit.\n\nCommands:\n  build  Build the current project.\n  cache  Inspect or clear the cache.\n  link   Link the generated resource pack and data pack to Minecraft.\n  watch  Watch the project directory and build on file changes.\n```\n\n## Contributing\n\nContributions are welcome. Make sure to first open an issue discussing the problem or the new feature before creating a pull request. The project uses [`uv`](https://github.com/astral-sh/uv).\n\n```console\n$ uv sync\n```\n\nYou can run the tests with `uv run pytest`. We use [`pytest-minecraft`](https://github.com/vberlier/pytest-minecraft) to run tests against actual Minecraft releases.\n\n```console\n$ uv run pytest\n$ uv run pytest --minecraft-latest\n```\n\nWe also use [`pytest-insta`](https://github.com/vberlier/pytest-insta) for snapshot testing. Data pack and resource pack snapshots make it easy to monitor and review changes.\n\n```console\n$ uv run pytest --insta review\n```\n\nThe code is formatted and checked with [`ruff`](https://github.com/astral-sh/ruff).\n\n```console\n$ uv run ruff format\n$ uv run ruff check\n```\n\n---\n\nLicense - [MIT](https://github.com/mcbeet/beet/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcbeet%2Fbeet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcbeet%2Fbeet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcbeet%2Fbeet/lists"}