Skip to main content

No project description provided

Project description

mod-manager

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install mod-manager

License

mod-manager is distributed under the terms of the MIT license.

About

mod-manager is a command line utility meant to help in downloading, searching, and version controlling mods from thunderstore.io

mod-manager works by using click context in order to pass around flags and values to the underlying commands. For this reason, most of the options that are necessary will need to be given to the main tmm command

It has 3 main utilities that get installed as a python binary under tmm

  1. tmm download
    • tmm download takes no arguments in and of itself, but uses all the flags of the main top command. Heres an example command for downloading 'BepInExPack'
    > tmm -p BepInExPack download
    
  2. tmm redownload
    • tmm redownload takes one argument, the json file which was output by the tmm download. tmm download creates a 'versions.json' that has all the settings and values from when the package_index was downloaded
    > tmm redownload /path/to/versions.json
    
  3. tmm search
    • tmm search takes any amount of arguments for searching using the package_index that thunderstore provides. To show the actual output from the commands, you can use the --no-suppress flag to see what the script would grab for that specific variable, and --only-latest to only see the latest if you do choose to not suppress the output
    • The output looks like this searchoutput

Full list of arguments

  1. tmm
    1. -c, --community, the commumity to use, defaults to 'lethal-company'
    2. -q, --quiet, will suppress outputs when retrieving the package index
    3. -p, --package, will include this package name in the search to grab from the package index and download, can use this multiple times ie: -p BepInEx -p BiggerLobby
    4. -i, --ignore-dependencies, similar to -p but this will exclude dependencies for that mod when it is found. ie: -i BiggerLobby
    5. -f, --file, use a file separated by new lines instead of using -p to look up for packages. If you want to mimic the capability of --ignore-dependencies, you can append ;ignore-dependencies to the end of the string and it will add it to the list
    BepInEx
    BiggerLobby;ignore-dependencies; Will ignore dependencies for BiggerLobby
    
    1. -s, --no-save, does NOT save the mod versions found to a versions.json file
    2. -o, --output-directory, the directory in which to create the output folder, defaults to current directory
  2. download N/A
  3. redownload
    1. json_file, the json file versions.json that was made from using the download command
  4. search
    1. -l, --only-latest, only show the latest version when outputing with --no-suppression
    2. --show-all, show all variants of the found mod and continue without looking further into the mod
    3. -n, --no-suppress, Output the json package data found from the thunderstore api
    4. packages, the list of mod names to search for with the thunderstore api

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

mod_manager-1.1.0.tar.gz (33.4 kB view details)

Uploaded Source

Built Distribution

mod_manager-1.1.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file mod_manager-1.1.0.tar.gz.

File metadata

  • Download URL: mod_manager-1.1.0.tar.gz
  • Upload date:
  • Size: 33.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for mod_manager-1.1.0.tar.gz
Algorithm Hash digest
SHA256 5eed4a4c5bb4c8d6790f35e35618aa617fb01fca1d63ce77ae4d5c1b8b26b172
MD5 ff0603382fdcffc7fcdd65db1c2953d5
BLAKE2b-256 2ef0fb0a6bb53d7536c7ec00eabebd3cb64c30d825d4de9bc72c778d46b05969

See more details on using hashes here.

File details

Details for the file mod_manager-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: mod_manager-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for mod_manager-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae541b8cb43cc7451ae466b163800854cf2f219641f4d448e8685f4d22e3c54c
MD5 deea77d9affd25304e32dc1611c91228
BLAKE2b-256 2eed17b3b939bf31ac225dcfa08c9928c675e6ba0bf8f4b5a9b713f8e02d1c0e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page