I sometimes prefer working on larger Pythonista projects in my desktop IDE. However, imports of Pythonista iOS APIs look broken, autocomplete can't work, and static checking is useless. To solve these problems, I've started working a set of typed Python interface stubs. Please check it out and let me know problems and suggestions!
https://github.com/hbmartin/pythonista-stubs
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Best posts made by hmartin
-
Typed Python interface stubs for editing Pythonista code on the desktop
-
RE: Typed Python interface stubs for editing Pythonista code on the desktop
After some discussion with the author, pygenstub now supports generic module interface generation. (Unlike the more well known
stubgen
, no C compilation required.)This means that in StaSh we can run something like
python3 pygenstub.py -p appex -o out --generic
to get a stub forappex
. It needs cleanup (like replacing all theAny
s and removing private things) but it's a great running start. -
Script for extracting podcast information from Overcast
I've been slightly annoyed that there's no way to save podcasts that I like in Overcast. Pythonista to the rescue 😀OvercastParser takes an overcast URL and returns the iTunes id, audio stream url, Overcast ID, and episode title. Check it out here: https://github.com/hbmartin/overcast_parser