Aucune description

dependabot[bot] 4907f7e847 build(deps-dev): bump black from 23.11.0 to 23.12.0 (#149) il y a 5 mois
.github b85ee3358d build(deps): bump actions/setup-python from 4 to 5 (#148) il y a 5 mois
tests 5099ae1500 drop compatibility with python3.5 il y a 2 ans
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) il y a 1 an
.gitignore 685954acba pipeline / pipenv: explicitly specify python version to workaround pipenv picking highest available il y a 3 ans
.pylintrc 999596a8be pylint: enable various optional checks/extensions il y a 1 an
CHANGELOG.md b4948a5b84 support pyyaml v6 il y a 10 mois
LICENSE.txt 5b192b434a release v0.4.1 il y a 4 ans
Pipfile 48b53cdcb9 relock env with pipenv v2023.10.3 on python v3.11.2 (to remove sanitized-package entry, see commit below); remove pylint-import-requirements from pipeline (see commit below) il y a 7 mois
Pipfile.lock 4907f7e847 build(deps-dev): bump black from 23.11.0 to 23.12.0 (#149) il y a 5 mois
README.md 46222fd196 readme: added command to install from vcs il y a 4 ans
mypy.ini f366c7e49d pipeline: run mypy il y a 3 ans
setup.cfg 1e7fc4b920 initial il y a 7 ans
setup.py b4948a5b84 support pyyaml v6 il y a 10 mois

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