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.
app sharing functionality
-
Hey all,
I am going to ask a silly question- but so don't know, so i'm asking!
Can apps on the iOS echo system share functionality?
ie - Lately I wanted to improve my skills, so i am attempting to use ctypes to implement the full libz.dylib, compression.dylib, and maybe a few others.
Why? "meh", or "so others can use a progress bar extracting zip files". Yes, I know it's useless.
Okay - then I got thinking- all this exists for iOS, but since I can't build custom modules for Pythonista- I guess I am wondering if I can develop native apps that can provide functionality to the Pythonista community?
FYI: I may still do the whole ctypes thing for fun..
Any thoughts would be grand!
-
You can build modules for pythonista users. Distribute via gist or GitHub.
-
Has anyone published anything Pythonista-specific on PyPi (pip)?
-
I was thinking more of a C++ module.
From what I know you can build frameworks using Swift or Objective C, but i'm not sure how all that would work with Pythonista- ie downloading the binaries and attempting to use them via ctypes in Pythonista.
Make sense?
-
Meant to add this:
Ideally I would build a framework in Objective C, set the class to PUBLIC (if it lets me), build/sign using my credentials, then attempting to load it via Pythonista from the local filesystem.
I am most certainly sure it won't work, but I'd like to try :)
ie - we can load .dylib's from /use/lib, as well as Frameowrks, if it's a signed binary, downloaded and extracted into the Pythonista space- might it work?
-
Yep - https://pypi.org/project/pythonista-api-client/
Seeing as Pythonista has an embedded CPython interpreter, no reason why not, it will still likely work on CPython apps, except for internal requirements.
-
@reticulated, thanks.
A follow-up question: has anyone published something to PyPi from Pythonista?
-
@mikael said:
@reticulated, thanks.
A follow-up question: has anyone published something to PyPi from Pythonista?
Im not sure - but it's definitely possible, it's just an API call.
Packaging the app should also work.
I don't have anything worth distributing else I'd do it for a POC.
-
@mikael I tried to do it with setuptools twine from my iPhone, but never managed to make it work. I had to resort to a Mac.