More human than human
Python powered
TOML configured
|
6 日 前 | |
---|---|---|
_example | 3 ヶ月 前 | |
.gitignore | 4 ヶ月 前 | |
LICENSE | 4 ヶ月 前 | |
README.md | 3 ヶ月 前 | |
requirements.txt | 4 ヶ月 前 | |
run.bat | 6 日 前 | |
run.sh | 6 日 前 | |
tyrell.py | 6 日 前 |
More human than human
I'll assume you have Python 3, and Python's
venv
(Python Virtual Environment module)
This requires a Python virtual environment to have the needed python modules
python3 -m venv env
Now we need to activate that, so we can install the needed python modules
. env/bin/activate
.\env\Scripts\activate
And now to install the requirements.txt
(Our list of needed python modules)
pip install -r requirements.txt
You may get a notice to upgrade
pip
, but this is safe to ignore (So long as it has no errors installing any of the modules)
That's it, now you're ready to run one of the provided run
scripts
I've provided run.sh
and run.bat
, mostly for convenience
These eventually come down to doing 2 things:
tyrell.py
Under Linux, sudo
is required for the "keyboard" module, which is needed for hooking keyboard events (oddly enough I use "pyautogui" to send keyevents (keyup, keydown, press (down then up)))
As such, I've provided a run.sh
, to be used like below (for ease of use, this will activate the python virtual environment, then calls python to run tyrell.py
)
sudo ./run.sh
Under Windows, I've simply provided a run.bat
for ease of use
This simply activates the python virtual environment, then calls python to run
tyrell.py
(all for you in a Windows Batch file/script)
.\run.bat