Без опису

Fabian Peter Hammerle 47400a4add setup.py: use readme as long description 4 роки тому
tests 9789ac2889 cli: fail if select username not in config file or ambiguous 4 роки тому
tooncher e8f594db8b pass all env vars to engine 4 роки тому
.gitignore 2509eff02f pipenv: add pytest-cov 4 роки тому
.pylintrc 5860e57415 pylint: disable bad-continuation & missing-docstring check 4 роки тому
CHANGELOG.md 47400a4add setup.py: use readme as long description 4 роки тому
LICENSE.txt 5b192b434a release v0.4.1 4 роки тому
Pipfile 2509eff02f pipenv: add pytest-cov 4 роки тому
Pipfile.lock 2509eff02f pipenv: add pytest-cov 4 роки тому
README.md 7b0a7a3623 readme: added last release & python version badge 4 роки тому
setup.cfg 1e7fc4b920 initial 7 роки тому
setup.py 47400a4add setup.py: use readme as long description 4 роки тому

README.md

tooncher

automates toontown rewritten's login process

Last Release Python Version

Installation

$ pip3 install --user --upgrade tooncher

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',
)