omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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.


    Feature Requests

    Pythonista
    37
    76
    73124
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LAM251
      LAM251 last edited by

      OpenCV (Open Source Computer Vision) has an iOS version. OpenCV also has Python bindings. This would not only provide image and video processing, but the core module provides some basic array and matrix operations that could be useful elsewhere. Just a thought...

      1 Reply Last reply Reply Quote 0
      • achorrath233
        achorrath233 last edited by

        I'd like to be able to add my own code templates. I imagine it extending the list of options you see when you press + to create a new file (Scene with Layers, Basic Scene, Empty) much like you can extend the Actions menu.

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User last edited by

          Custom modules anyone?

          1 Reply Last reply Reply Quote 0
          • ccc
            ccc last edited by

            Creating your own modules "just works" in Pythonista. Or were you looking for something else??

            To see a module in action, check out: bashedcrab's Hydrogen GUI Framework for Pythonista...
            Hydrogen.py is a module -- running it does nothing
            HydrogenDemo.py is a script/app/program -- running it imports Hydrogen to create a GUI that the user can play with.

            http://omz-forums.appspot.com/pythonista/post/5003825878401024

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User last edited by

              Now, how am I suppost to add this to the python library, or using another method, to be able to import this example module?

              1 Reply Last reply Reply Quote 0
              • ccc
                ccc last edited by

                The first line of code in HydrogenDemo.py is:

                from Hydrogen import *
                

                Which imports all the code of Hydrogen.py into HydrogenDemo.py.

                1 Reply Last reply Reply Quote 0
                • tomasorti110
                  tomasorti110 last edited by

                  I support mspriggs opinion to have OpenGL support...
                  Although I think it can be real challenge, since it seems the ES bindings may not be very mature.

                  http://raspberrypi.stackexchange.com/questions/4852/how-to-use-opengl-es-through-python

                  https://github.com/peterderivaz/pyopengles

                  http://pyopengl.sourceforge.net/

                  IMHO, I think this might boost Pythonista popularity, even more.

                  1 Reply Last reply Reply Quote 0
                  • jysue162
                    jysue162 last edited by

                    I propose adding playing several sequential sounds (like piano notes) as an "animation". If you play several notes in a row doing:

                    notes = 'C3', 'D3', 'E3', 'C3'
                    for note in notes:
                    sound.play_effect('Piano_' + note)
                    time.sleep(0.5)

                    even though sound.play_effect is asynchronous and returns immediately, because the notes are played in a for loop, draw doesn't get called until the sounds are all done. The "to_value" in animate would be a sequence of sounds (not just piano notes). In draw (or perhaps "play"), you would do the same "layer.update(dt)" and "layer.draw" (or "layer.play").

                    This could be implemented using only Python (make a queue of sounds to play, check if a sound is done, and if so, play the next one), but having this as a built-in "animation" would be nice.

                    Another nice thing would be being able to add your own sounds to the sound library.

                    1 Reply Last reply Reply Quote 0
                    • bashedcrab
                      bashedcrab last edited by

                      Hi Ole,
                      I'd appreciate the option for partial screen rendering in the scene module. So I can start with the previous frame buffer, and only update/change the areas I need rather than having to redraw the entire scene.

                      I've started on a branch for Hydrogen that implements a "dirty-region" algorithm to only redraw the areas of screen that need it. However I end up with a black screen and only the newly redrawn areas indicating I'm getting a completely new framebuffer, and I can't see a way to preserve the previously drawn scene.

                      1 Reply Last reply Reply Quote 0
                      • dsaravel
                        dsaravel last edited by

                        Hi there

                        Pyhtonista is great! I love it!

                        The only 2 things that are not working, even though they have been mentioned before, are:

                        • tab size in iOS7 not working at all
                        • auto complete for single and double quotes for when you have an external keyboard. It just doesn't work properly.

                        Thanks

                        1 Reply Last reply Reply Quote 0
                        • ccc
                          ccc last edited by

                          UPDATE: The tabs issue was fixed quite elegantly with the soft tabs feature of Pythonista v1.4.

                          Instead of tabs, you could use 4 spaces. Python PEP 8 states that spaces are Python's preferred indentation method instead of tabs. Bulk conversion tabs to 4 spaces is a simple process in Pythonista.

                          1 Reply Last reply Reply Quote 0
                          • omz
                            omz last edited by

                            @ccc @dsaravel The tab size issue on iOS 7 will be resolved with the next update. It'll also bring an option to indent with spaces instead of tabs btw.

                            1 Reply Last reply Reply Quote 0
                            • ccc
                              ccc last edited by

                              I have just been playing with the new Pages app from Apple... Me and my brother were editing the same document and instantly seeing each other's changes dispite being thousands of miles apart. It would be a cool feature for Pythonista to allow two coders to jointly edit a single script -- seeing each other's changes in real time. It would be a great way to pair up an experienced developer with a neophyte. Also cool for code reviews.

                              1 Reply Last reply Reply Quote 0
                              • ccc
                                ccc last edited by

                                Python v2.7.6 has now been released: http://www.python.org/download/releases/2.7.6

                                Hopefully it will form the core of the next release of Pythonista.

                                1 Reply Last reply Reply Quote 0
                                • Johncohn
                                  Johncohn last edited by

                                  Id love a way to use bluetooth low power from pythonista. It would be a great way to do internet of things !
                                  -jc

                                  1 Reply Last reply Reply Quote 0
                                  • KainokiKaede
                                    KainokiKaede last edited by

                                    I would like to vote +1 to the feature mentioned by @Sebastian.

                                    I want to create "Now Playing" string, but currently there is no way to obtain the music title from Pythonista. It would be pretty nice to have the feature.

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Powered by NodeBB Forums | Contributors