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.
Wish list for next release
-
ui.parse_color To have an optional param alpha. Seems to me you normally would use this when you want access to the alpha setting when you have a css color name eg. 'teal'. Maybe there is a trick I don't know about, but becomes a multi step process because it's a tuple.
Small thing, but every little bit helps.
I also think that ui.parse_color could be repeated in the documentation in different sections. It's out on a island as far as documentation goes. -
Ui.View - a margin property that is of course honoured by the whole ui API. I think this would be a big step forward for ui.Views. I can see could be many implementations of this. In my mind, the bounds would be adjusted to adhere with the margin. In theory at least you would hope that flex could also be applied to the margin. Maybe I am wrong, but I think this could do away with the concept of a container view out of convention is often end named cv.
As soon as views start getting complex, it seems normal practice to create a enclosing view. It's not that it's rocket science, but a lot of extra work involved. If for any uiView you could set a margin and it's margin flex, would be so great.
Personally, in terms of the ui Suite, I would say this would give the biggest bang for the buck so to speak. A lot of lines of code could be saved, over and over
-
running and display output of a script on the today screen itself .. like a multiline row cell per script (eg. custom metrics or feed)
I've experimented a little with that a while ago, but today widgets just don't get enough RAM to be all that useful for scripting.
@omz That would have been nice to have, but am glad you already thought of that.
iphone 6/5s line numbers
Line numbers are already available as an option on iPhone 6 (not on 5s, I find the screen too small for line numbers, I might change my mind though).
Just found - https://forum.omz-software.com/topic/1430/show-lines-number - nice! i assume its coming officially in the beta
speech.is_talking
There is
speech.is_speaking()
– I just noticed that this is undocumented.@omz Cool
As for the modules, these are all popular requests. SciPy is unfortunately very hard to port, so I can't promise anything there. Pandas is more likely to happen (again, no promises!).
@omz Thanks for responding, Pandas would be great!!
-
A Picker UI component (i.e. HTML select list).
-
-
I'd love to see an update to the speech module that gives me access to multiple voices by name.
I'm a French teacher and the voices in iOS are actually not bad for listening practice, and to date I've stuck with two voices: the French male one and the Canadian female one. But in theory I've got the two Siri voices available as well, so that should be two men and two women that I could have in a conversation.I've found a tutorial on switching the voices using Swift (http://www.ikiapps.com/tips/2015/12/30/setting-voice-for-tts-in-ios.html), so I'm going to try and wrap that in myself. But I'm sure I'm not the only one who would be interested (There are 11 different English voices, for instance, which is probably enough for a small game.)
-
-
@omz Improvement suggestion -> iPad UI editor persistent controls panel state across sub views /maybe files
What I mean by the above is that currently the view detail panel to the right of the UI layout area currently does not persist across sub views. For example, If I expand the "Auto-resizing / Flex" panel on one sub view and then switch to another one, it's collapsed again. It's also collapsed again if I switch back to the sub view for which I expanded it. I think it would be useful to have all collapsed/expanded panel states persevere across subviews, and possibly even across pyui files...
Another thing -> in the current 3 beta, the new floating traceback view seems to only sometimes want to list the trace backs... Pythonista 2 seems to have the full traceback for the same scripts. Also, when the correct trace backs are listed, there's no way to jump to the appropriate file on iPad Pro....while the floating view of that file is nice, it would be great if there was also a way to jump to the actual file in full screen editing mode.
-
+1 for a debugger.post_mortem(), and also moving along stack should open the appropriate file ( or long tap to open, etc)
-
Please fix string.maketrans() method. It not working at all. Thanks.
-
@craftmojo See my response in your other thread, this is not a bug in Pythonista.
-
Thanks for fast responses. Now, it worked :)
-
suggestion: adjustable line height for fonts (especially useful for those on smaller devices). Sometimes text size alone isn't enough to optimize for the screen size.
-
@omz one more suggestion regarding line numbers on different device sizes. What if you had line numbers be an optional toggle on all devices, with sane defaults in place. In fact, I'd love to be able to turn it off temporarily on an iPad Pro. And besides that way maybe you'd be recycling code anyways?
-
Yes, it would be nice if all device specific ( as opposed to crrent size specific) settings were togglable, to facilitate cross-app development.
-
In the ui designer, ability to change the font name of the ui.Table object rows.
Also, would be great if for the CUSTOM ATTRIBUTES panel, if this could be done in a pop up window (ui.View) and better still if that view subclassed the editor so that you had a full editor in the ui.View. Not a ui.TextField which is pretty clunky to type into compared to the editor. Not critical, but I think would be a big enhancement -
@omz Suggestion: simple built in sqlite3 viewer. When you go to a SQLite 3 db file in the Pythonista file browser, it would be great if instead of just showing a large icon and open in, it showed the contents. Would be useful as a quick reference while developing...remove friction for just quickly checking a result.
-
@Tizzy , I am doing some things in sqlite3 at the moment. Not trying to be smart, but seems like a unreasonable request. A SQLite browser is a full app. I use SQLed App to open the Sqlite3 databases. It shows up in the share sheet , when you click the "open in..." button from the file browser page. Maybe I misunderstood your request. I am at the moment trying to make some generic classes to give info of the database as well as the data for a given table. But will be nothing like an app intended for this purpose. Anyway, maybe you had something else in mind. Would like to hear about it as I am still trying to work out what to display. Which tables, Pragms, record counts etc... A lot of info
-
@Tizzy , hmmm funny, I just shafted myself. Was not connected to my comment, I was just doing this anyway. Both @JonB and @ccc have warned me in the past about using del in classes 😱 I was calling my SQLite wrapper that contains a del in a ui.tableView. Got the below 😂
I always have to learn the hard way.🤐
Just seemed relevant somehow. And it just happened. Sorry I digress. -
CREATE TABLE IF NOT EXISTS Junk
That command is 100% guaranteed to be a no-op in my Pythonista.
:P