Нема описа

Fabian Peter Hammerle 46222fd196 readme: added command to install from vcs пре 4 година
tests 9f5f3a6e9f fixed test_start_engine_mac пре 4 година
tooncher d2ec81428d change user agent to workaround blacklisting of "Python-urllib/3.*" пре 4 година
.gitignore 2509eff02f pipenv: add pytest-cov пре 4 година
.pylintrc 967f52b61e pipenv: added pylint пре 4 година
CHANGELOG.md d2ec81428d change user agent to workaround blacklisting of "Python-urllib/3.*" пре 4 година
LICENSE.txt 5b192b434a release v0.4.1 пре 4 година
Pipfile 967f52b61e pipenv: added pylint пре 4 година
Pipfile.lock 967f52b61e pipenv: added pylint пре 4 година
README.md 46222fd196 readme: added command to install from vcs пре 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
# 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',
)