omz:software Forums

Pythonista

If you want to participate in the discussion, you have to sign up or log in.

Categories: General, Share Code, Questions RSS (All Posts)

All Discussions

Cube with Shader

https://gist.github.com/96faf148a678808aa79b Demo of a spining cube that is shaded based off of a light source Comes with a triangle function which allows you to draw shaded in triangles using pythonistas line draw function Code is free to use/reuse

Started by SamyBencherif (in General)


New Xcode Template (beta)

I've made a new Xcode template for turning Pythonista scripts into apps. It's based on the current beta of v. 1.6, so it's work-in-progress... Some notes: 64-bit devices (iPhone 5s/6, iPad Air...) are supported now, but the 64-bit simulator isn't, so if...

Started by omz (in General) — 16 replies, latest 11 hours ago


Code Signing .py Files latest Xcode template

I am trying to upload a project to iTunes Connect (just setup a developer account and testing creating apps with the template). I'm using the latest template for the beta. I am running into the following error when uploading: ERROR ITMS-90035: "Invalid...

Started by andymitchhank (in Questions) — 3 replies, latest 12 hours ago


CoreMotion data such as pressure and pedometer with 1.6 beta and ctypes?

There is probably a way to read out the pressure sensor and the pedometer of the iPhone 6 using 1.6 beta's ctypes module. However, I understand too little of the API to get this from CMAltitudeData and CMPedometerData. Sample code for learning how such (or...

Started by DrNo (in Questions)


Beta Status Update

Unfortunately, I've recently been unable to provide a new beta version of Pythonista 1.6. This is partly my own fault, and partly due to unexpected difficulties with TestFlight. First off, I've been working on two different branches of Pythonista for quit...

Started by omz (in General) — 114 replies, latest 18 hours ago


Imageview clicks/touch

Would I be right in saying the easiest way to get an imageivew to respond to clicks is just to put a button on top of the imageview and use the buttons action? I have been trying to find a simple way to get an imageview to respond to a tap/click, with no s...

Started by Phuket2 (in Questions) — 4 replies, latest 1 day ago


Feature request: more external keyboard support

Hey there! Long time user, first time posting. I use pythonista a lot, and recently I got an external keyboard. It makes the coding much faster, and it's great for the most part. That said, there are some hot keys that would be really cool, and somewhat st...

Started by HenryDark (in General) — 2 replies, latest 2 days ago


Pinch-to-zoom in the UI module

Are there any plans to implement this? I'm writing a mapping utility for a science fiction game and this would be a very valuable feature.

Started by simonh (in General) — 1 reply 2 days ago


RSS Reader

Hey everyone, I decided to have some fun with my Saturday afternoon and whipped up a pretty simple RSS reader for use in Pythonista. You can add feeds (can't remove them yet), view the latest items, and click through to view article content. @kishner on ...

Started by dlo (in Share Code) — 4 replies, latest 2 days ago


Way for your code to tell if Pythonista is not the foreground app?

Specifically: I've been writing small test servers in Pythonista and connect to them using Safari or some other client app on the same device. I've noticed that network performance of the server is impacted pretty heavily if it tries to print anything to...

Started by pacco (in General) — 9 replies, latest 3 days ago


Drawing in subview

Hello, I have a simple view with a button and a subview where I want to draw. I want that the drawing happens when I press the button. I set up the following code # coding: utf-8 import ui class DrawView (ui.View): def __init__(self): self.pa...

Started by mcarrara3 (in General) — 1 reply 3 days ago


mitmproxy possible? (Pythonista 1.6 beta)

Is there any reason why mitmproxy can't work with pythonista? I was able to download/"install" it using githubget.py (got the github dowloader somewhere in the forums)...it creates the mitmproxy-master folder in the root directory of pythonista. Should th...

Started by Tizzy (in General) — 5 replies, latest 3 days ago


Re-adding the open in option

It could be possible to re add the open in menu. The only thing to make it so it passes the app review is to make it so that it can't accept anything that is in plain text or compiled python. Zip files are probably permissible because in nature they are no...

Started by scj643 (in General) — 1 reply 3 days ago


Pythonista 1.6 Beta

So, with Apple's new TestFlight, I can finally have a lot more beta testers, and won't have to worry about device limits so much. If you'd like to play with the next version of Pythonista before it hits the App Store, please send me an email with your App...

Started by omz (in General) — 189 replies, latest 4 days ago


Sound visualizer

First post! I'm having a hard time making an audio visuializer. I didn't know that they don't have the bpy module. I'm kinda stumped.

Started by Joeyd987.py (in General) — 1 reply 5 days ago


Pythonista - Vertical scrolling

Please may I reach out again?, this time for help on scrolling. I have created a PYUI which looks like a spreadsheet created of rows of separate text fields, and action buttons which act upon the text fields in their row. I might need to have more rows th...

Started by AlanEdwards (in Questions) — 4 replies, latest 5 days ago


Pythonista, UI, and Xcode

I've seen several forum posts and reviews that claim you can export Pythonista code to Xcode and create standalone iPad/iPhone apps (by using http://omz-software.com/pythonista/download/PythonistaProjectTemplate.zip, I guess?). Would an app that uses the U...

Started by tmm (in Questions) — 2 replies, latest 5 days ago


PyJVM

As it's pure Python I thought it would be interesting to try PyJVM in Pythonista. It's installed, the test suite runs fine as well as a simple HelloWorld Java class compiled and copied into the package. bytecode.ArraysTest OK bytecode.CalcsTest OK l...

Started by tony (in General) — 8 replies, latest 5 days ago


A constantly updating PYUI

Hi again, On the second phase of my personal project I hope to be able to create a sequence clock, my example is a PYUI with two items - a field for a constantly running digital clock, and a start button. Eventually the screen will have different events a...

Started by AlanEdwards (in Questions) — 15 replies, latest 6 days ago


youtube-dl

I ported youtube-dl to Pythonista - see the repo here. Please post all issues/bugs/ideas etc. there. (I plan on updating it weekly from master.)

Started by hyshai (in Share Code) — 21 replies, latest 26 Apr