File tree Expand file tree Collapse file tree 5 files changed +9
-4
lines changed Expand file tree Collapse file tree 5 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,8 @@ This is a loose collection of example scripts for pyghthouse.
44
55Run any script by entering ` python <filename> ` .
66
7+ Some scripts have additional dependencies; you can install them by running ` pip install -r requirements.txt ` from the
8+ repository root directory.
9+
710If you set up config.py with your username and API token, you won't have to enter them every time you run a script.
811Be aware that API tokens are only valid for a few days.
Original file line number Diff line number Diff line change 11from pyghthouse import Pyghthouse
2- from pyghthouse .utils . _color import from_hsv
2+ from pyghthouse .utils import from_hsv
33from config import UNAME , TOKEN
44import numpy as np
55
Original file line number Diff line number Diff line change 11from pyghthouse import Pyghthouse
2- from pyghthouse .utils . _color import from_hsv
2+ from pyghthouse .utils import from_hsv
33from config import UNAME , TOKEN
44
55
Original file line number Diff line number Diff line change 33import numpy as np
44from PIL import Image , ImageDraw
55
6- from pyghthouse .utils . _color import from_hsv
6+ from pyghthouse .utils import from_hsv
77from pyghthouse import Pyghthouse
88
99from config import UNAME , TOKEN
Original file line number Diff line number Diff line change 11setuptools ~= 58.0.4
22numpy ~= 1.21.2
33websocket-client ~= 1.2.1
4- msgpack ~= 1.0.2
4+ msgpack ~= 1.0.2
5+ Pillow ~= 8.4.0
6+ pyghthouse >= 0.2.0
You can’t perform that action at this time.
0 commit comments