Няма описание

dependabot[bot] 4cd0975227 build(deps-dev): bump black from 23.7.0 to 23.9.1 (#135) преди 8 месеца
.github 21dba2b9f2 build(deps): bump actions/checkout from 3 to 4 (#133) преди 8 месеца
tests 5099ae1500 drop compatibility with python3.5 преди 2 години
tooncher b39a6b91f7 tooncher.launch: raise `RuntimeError` instead of `Exception` when server sends unexpected response instead of confirming login (fixing pylint's broad-exception-raised warning) преди 1 година
.gitignore 685954acba pipeline / pipenv: explicitly specify python version to workaround pipenv picking highest available преди 3 години
.pylintrc 999596a8be pylint: enable various optional checks/extensions преди 1 година
CHANGELOG.md b4948a5b84 support pyyaml v6 преди 10 месеца
LICENSE.txt 5b192b434a release v0.4.1 преди 4 години
Pipfile 1ab10e594e drop compatibility with python3.7 (reached end of life on 2023-06-27) преди 10 месеца
Pipfile.lock 4cd0975227 build(deps-dev): bump black from 23.7.0 to 23.9.1 (#135) преди 8 месеца
README.md 46222fd196 readme: added command to install from vcs преди 4 години
mypy.ini f366c7e49d pipeline: run mypy преди 3 години
setup.cfg 1e7fc4b920 initial преди 7 години
setup.py b4948a5b84 support pyyaml v6 преди 10 месеца

README.md

tooncher

automates toontown rewritten's login process

Last Release Python Version

Installation

$ pip3 install --user --upgrade tooncher
# or
$ pip3 install --user git+https://github.com/fphammerle/tooncher@master

Optional: Install cpulimit to enable use of parameter --cpu-limit

$ sudo apt-get install cpulimit

Configuration

# default path: $HOME/.tooncher
accounts:
- username: toon
  password: secret
- username: ceo
  password: golf
- username: cfo
  password: train
engine_path: '/opt/Toontown Rewritten/TTREngine'

Usage

$ tooncher [username]

tooncher --help shows all available options.

Examples

$ tooncher toon
$ tooncher ceo
$ tooncher --cpu-limit 70 cfo

Python Interface

import pathlib
import tooncher

tooncher.launch(
    engine_path=pathlib.Path('/somewhere/toontown-rewritten/TTREngine'),
    username='toon',
    password='secret',
)