No project description provided
Project description
MultiMC advanced exporter
Since MultiMC export features are very limited, I created a script that solves this problem, with this script you can export MultiMC pack to any popular format (e.g. curseforge, modrinth, packwiz)
Features
- Support convertions to:
- CurseForge
- Modrinth
- packwiz
- Detects downloadable resourcepacks and shaders
- Supports github parsing¹
- Loose modrinth search
- User friendly toml config
- Multiple output formats at once
Github rate limits
Github have limited requests per hour to 60, that means that if you have more than 60 mods, the rest will be excluded from github search.
To solve this, you can authorize in application.
You need to create personal key here (with no permissions), and pass it as argument to script along with your username, example:
mmc-export -i modpack -f format --github_auth username:token
I recommend you to store tokens in enviroment variables for security reasons.
How to Use
mmc-export [-h] [-c CONFIG] -i INPUT -f FORMAT [-o OUTPUT]
Example:
mmc-export -i modpack.zip -c config.toml -f curseforge modrinth -o converted_modpacks
Explanation:
-h --help: prints help
-i --input: specifies input file (mostly zip file)
-c --config: specifies config file, used for fill the gaps like description or files not in modrinth on curseforge example can be found in this repository.
-f --format: soecifies formats to convert, must be separated by spaces.
-o --output: specifies output directory, where converted zip files will be stored. By default current working directory will be used.
Avaliable formats: - CurseForge, Modrinth, packwiz, Intermediate
(case sensetive)
intermediate
must be used only for debuging, can contain sensetive information like user name.
How to Install
From PyPI
pip install mmc-export
Credits
murmurhash2 - Murmur Hash 2 libray - https://pypi.org/project/murmurhash2
aiohttp - Async web interface - https://github.com/aio-libs/aiohttp
tomli - Fast pure python toml parser - https://github.com/hukkin/tomli
pytoml - The only one toml writer that can handle weird packwiz files - https://github.com/avakar/pytoml
tenacity - Awesome, ease-in-use retrying library - https://github.com/jd/tenacity
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
Built Distribution
Hashes for mmc_export-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd9798a5ba87cd9b33449b5424158afadc26892cccf69d53b0e8e5a57de95148 |
|
MD5 | c70cd3b49748c05d20fd4b09a849fd5f |
|
BLAKE2b-256 | db8f38b0da2bc8ecef1901f7a6bb24bf746678771481dfc580cc73a22322c204 |