-
Notifications
You must be signed in to change notification settings - Fork 0
10 install
bazbt3 edited this page Nov 18, 2017
·
2 revisions
Incomplete, potentially misleading instructions follow. This is very much a work in progress.
- A pnut.io account; no developer account is required for single-user apps,
- Python. I made this using the iOS Pythonista app,
-
StaSh
, a bash-like shell for Pythonista, to give access topip
, which allows installation of… - @33MHz & @thrrgilag's
PNUTpy
library. (FYI: It's compatible with Python 2 and 3.)
(Assuming you're running Pythonista, {p} = a Pythonista-specific instruction.)
- You will need a pnut.io account, and to visit your developer account page.
- Create an app at the page, which will create 2 unique codes, then authorise it which will create a token.
-
Create a new
PigPen
directory wherever directory you intend to run the app from. -
Copy the
PigPen.py
,secrettoken.txt
file from here and save it there. -
Overwrite the contents of
secrettoken.txt
with the token, ensuring to remove any trailing linefeeds before saving it. - {p} Install
StaSh
following the instructions as it runs and from the link above. - {p} I think
Stash
must be executed at this stage to install a script and extension folder; read the instructions. - {p} Kill then reopen Pythonista to properly install
Stash
, if you didn't read the instructions. -
Follow PNUTpy's installation instructions, and
$ pip install pnutpy
. - {p} For the hell of it, kill then re-open Pythonista.
Run the PigPen.py script
; it's as simple as that!
(I have not included instructions for making the file executable by file permissions of shebangs, it's beyond the remit of this page; Pythonista doesn't require it.)
To find out how to start posting, reading, starring, etc., and read about some current limitations, please read the Usage document.