Metadata-Version: 2.1
Name: mtpkg
Version: 0.1.1
Summary: Command-line Minetest package manager
Home-page: https://git.sr.ht/~twrightsman/mtpkg
Author: Travis Wrightsman
Author-email: travis@wrightsman.org
License: AGPLv3+
Project-URL: Bug Tracker, https://todo.sr.ht/~twrightsman/mtpkg
Keywords: utilities,games
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: requests (<3,>=2)
Requires-Dist: click (<8,>=7)
Requires-Dist: tqdm (<5,>=4)

# mtpkg

`mtpkg` is a command-line package manager for [Minetest](https://minetest.net).

It can:

- Install the latest compatible releases for a given set of ContentDB packages
  - Recursively install dependencies for requested packages given a base game
  - Enable the installed mods on an existing world
- Update installed ContentDB packages to their latest compatible releases

## Getting Started

```
$ python3 -m venv mtpkg-venv
$ source mtpkg-venv/bin/activate
(mtpkg-venv) $ pip install mtpkg
(mtpkg-venv) $ mtpkg -h
(mtpkg-venv) $ mtpkg -u ~/.minetest install --game Minetest/minetest_game TenPlus1/mobs
```

## Frequently Asked Questions (FAQs)

### Why is it so slow for large numbers of packages?

`mtpkg` tries to be polite by rate-limiting requests to the ContentDB, which
makes looking up a large number of packages take a long time. Even more so if
their dependencies need to be recursively queried.



