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.
No update?
-
@ltddev, that would be the idea. Since both Pythonista and Pyto can see the same code in iCloud, there is no need to even pass all executable code over the url.
Would be even better if the pyto site-packages could be exposed to Pythonista...
-
RIP pythonista?
-
- Yes, in Pyto
- Why not
- Yes, but not fully available on the Pythonista side, only the result of Pyto could be sent
-
@mikael said:
Would be even better if the pyto site-packages could be exposed to Pythonista...
I think it was possible with the last (disappeared) beta
-
@cvp, thanks for clarifying. Then this is a nice way to own both apps and extend the longer term value of Pythonista by using each app for the way it excels(right now ( in my opinion, Pyto beats out Pythonista for the latest Python builds and the extensive 3rd party library support right out of the box and that it is open source, which at the very least means that there is an active community discussing and implementing new features, fixes and documentation. Pythonista currently beats out Pytro for its elaborate UI building capabilities, its documentation, an active community of users that have already produced great tooling (like the entire STASH ecosystem) and ways to extend Pythonista perhaps in ways never even imagined by its creator. I think Pythonista's Object C bridge and its support for calling native code (objc_utils) is easier and richer to use than Pyto's, although Pythonista''s is proprietary (OMZ created and owns)``while Pyto uses opensource 3rd party so it is more extensible. Even if OMZ never releases a single update for Pythonista, I think its value stretches into the future (provided that future IOS versions don't completely break the app which is very unlikely given there might not be any further development to Pythonista,
Thus it would appear to me that each app currently does some things better than the other does so we need not have to choose one or the other but can actually use both to build some really useful utilities and extensions that can extend IOS apps because the url scheme support provides some measure of inter-app support.
-
lalala pythonista is falling down falling down falling down~~
-
@cvp said:
@mikael said:
Would be even better if the pyto site-packages could be exposed to Pythonista...
I think it was possible with the last (disappeared) beta
@cvp, could you please elaborate? Do you refer to a beta of Pyto? It does not seem to expose site-packages today (in the same way that Working Copy exposes the repositories).
To clarify, I do not expect we could run pandas in Pythonista, but was thinking that it would be nice to get code completion going in some way.
-
@mikael Sorry, I was referring to Pythonista but I did a mistake, really sorry.
It is sure we could share an iCloud Drive file in an user directory, like
'/private/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/MyFolder/MyFile.txt'
-
Still waiting on pythonista beta release to app store. the lack of shared directory access (resolves in the beta) greatly diminishes the value of the app. @omz please release it to the app store.
-
@cvp, I guess the biggest obstacle for a smooth ”Pythonista UI/Pyto pandas” experience is that Pyto needs to pop in front while it’s executing?
-
@mikael yes, that's why a split view of Pythonista and Pyto both running could be the solution
-
The solution suggested between pythonista and pyto is ugly, awful and stupid. If omz stopped updating pythonista, we should abandon it, too. Just let is dead. I’m trying pyto now. Thank god I have pycharm so I don’t have to view or write code with pyto.
-
@timtim said:
The solution suggested between pythonista and pyto is ... stupid
Thanks a lot
-
@timtim On the other hand, I consider stupid and useless the constant ranting against Pythonista, his active community and against some very active/skilled people here. Those who propose solutions or try to study them and make them available to others not only do something worthy of note but keep alive the interest and freedom to dream of many users, it is the most important thing for me.
Take a tour in this forum (since six years ago) and you will see that there are many posts where people have written very interesting thing and what thay have written, driven by their passion for something, have allowed other people to start dreaming or simply to be more productive with Pythonista.
-
@Matteo do not worry. Sometimes I feel like @lpl is back ...
-
@Matteo The forum is alive but how about the author of Pythonista? Do you think the forum can stay alive even the application is dead? I don't think so.
-
- And even if omz push Pythonista to App Store this time, how about the next version? We still have to wait for 2 years? After 2 years, I think Python 4.0 will be released, while we are still using Python 3.6.1. Guys, I really don't understand why are you so optimistic about all these things. Yeah, of course we can use it now and of course you can still use Windows XP and Python 2, just don't try to force all of the users to keep waiting Pythonista 3.3.
- We already waited for 2 years, and you just keep waiting and begging omz to update? Did he show up? He just said, oh, I'm coming.And you just wait like a dog waiting for food. But what did he do? From early 2019 to the end of 2019.
- Maybe you think it is normal for an application like this, but not for me and my friends.
- And don't tell me about Pyto. Imaging that you installed Python 3.6.1 2 years ago and python.org didn't release any updates about python any more, and after waiting for 2 years, you are told that python.org will close in 2 days. What would you think? Just smile and then try other tools?
- I don't know why are you so optimistic. Maybe you are using WIndows XP, iOS 5.0 and Python2?
-
Hello Ole,
I am back on the app store version again. Why not just release the last beta to the app store? It was pretty stable. Come on don't be shy and just push the button !;-)
-
Please release the beta version of Pythonista now in its current state, because the beta is much more stable than the app store version.
Since ios13 is released the external files function for folders is broken. I think this is a must for all developers here, which are using Working Copy.
-
I know, it is stupid, but, please, let me have fun.
I launch a Pyto script and a Pythonista script, sharing a local file in
Files App/On my Ipad/Pythonista_to_Pyto/pythonista_to_pyto.txt.
Both apps run together in MultiView MultiTasking, only to show that both apps could dialog...
but, I agree, if too ugly, don't watch this videoPythonista script
import ui from math import pi,cos,sin class MyClass(ui.View): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.iv = ui.View() self.r = ui.get_screen_size()[0]/2 self.iv.frame = (0,6,self.r*2,self.r*2) self.iv.corner_radius = self.r self.iv.background_color = 'gray' self.add_subview(self.iv) self.c = ui.View() self.ri = self.r / 10 self.c.frame = (0,0,self.ri*2,self.ri*2) self.c.corner_radius = self.ri self.c.background_color = 'red' self.iv.add_subview(self.c) self.path = '/private/var/mobile/Containers/Shared/AppGroup/E778DE4A-FE79-42E6-9200-353821BFF879/File Provider Storage/Pythonista_to_Pyto/pythonista_to_pyto.txt' self.update_interval = 0.02 self.ang = 0 def update(self): self.ang += 1 a = self.ang*pi/180 self.c.x = self.r + (self.r-self.ri)*cos(a) - self.ri self.c.y = self.r + (self.r-self.ri)*sin(a) - self.ri r = str(self.c.x)+','+str(self.c.y) with open(self.path,mode='wt') as fil: fil.write(r) def layout(self): w = self.bounds.size[0] self.iv.x = w - 2*self.r if __name__ == '__main__': mc = MyClass(bg_color='white', name='Pythonista') mc.present('fullscreen')
Pyto script
import pyto_ui as ui from math import pi,cos,sin from UIKit import UIScreen from time import sleep import threading class my_thread(threading.Thread): def __init__(self,view): threading.Thread.__init__(self) self.view = view def run(self): path = '/private/var/mobile/Containers/Shared/AppGroup/E778DE4A-FE79-42E6-9200-353821BFF879/File Provider Storage/Pythonista_to_Pyto/pythonista_to_pyto.txt' ang = 0 while True: #sleep(0.01) with open(path,mode='rt') as fil: r = fil.read() try: xy = r.split(',') self.view.c.x = float(xy[0]) self.view.c.y = float(xy[1]) except Exception as e: if str(e) == "could not convert string to float: ''": continue print(str(e)) break class MyClass(ui.View): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.background_color = ui.COLOR_WHITE self.title = 'Pyto' self.iv = ui.View() self.r = UIScreen.mainScreen.bounds.size.width/2 self.iv.frame = (0,0,self.r*2,self.r*2) self.iv.corner_radius = self.r self.iv.background_color = ui.COLOR_GRAY self.add_subview(self.iv) self.c = ui.View() self.ri = self.r / 10 self.c.frame = (0,0,self.ri*2,self.ri*2) self.c.corner_radius = self.ri self.c.background_color = ui.COLOR_RED self.add_subview(self.c) server_thread = my_thread(self) server_thread.start() if __name__ == '__main__': mc = MyClass() ui.show_view(mc,ui.PRESENTATION_MODE_FULLSCREEN)