Interaction between Windows and iPhone over usb
I've had good luck with using Pythonista for SSH interactions with other networked computers. I use the paramiko library that's pre-installed.
In cases where I can't use the internet, I use apple's Camera Connection Kit (a small dongle that allows USB devices to be plugged in to the iphone/ipad). It turns out that Apple supports RNDIS networking over USB with no configuration needed. It works great.
Hint: most people don't realize that SSHD hosts accept command lines as part of the initial connection that are executed by a shell and then exit after returning the results. It's almost painless and easy to debug, since every platform works this way...
I haven't used RNDIS for this purpose on windows, so I can't give you any advice on setting it up on Windows, but it's a Microsoft invention - so it can't be that complicated. I use it all the time between my iphone, ipad and raspberry pi boxes. It's very simple and reliable on that platform.
Windows 10 now supports SSH via their own SSHD installation that's an option in their program manager. I use it all the time, but haven't tried the above mentioned SSH "poor man's IPC" this way with windows.
Hope this gives you some ideas...
M
PS: Parmiko also works on almost any other host that supports python. I run the exact same python programs I wrote in Pythonista on my iPad on my Macbook Pro, Rasberry Pis and other computers to access my furnace monitoring system. It even works identically if you run the same programs under Pyto (if that's to your taste).
m
Unable to detect raspberry pi 3 bluetooth in Pythonista 3 application.
http://omz-software.com/pythonista/docs/ios/cb.html Note that Classic Bluetooth is not supported. https://forum.omz-software.com/search/raspberry?in=titlesposts
Unable to detect raspberry pi 3 bluetooth in Pythonista 3 application.
Hi,
I am running a python code in the Pythonista app to see all nearby visible Bluetooth devices and get their UUIDs. But I am unable to see the rpi3 Bluetooth in my Pythonista app.
Pythonista version: 3.2
Also, I tried to use Bluetooth dongle with rpi3 and this too was not visible in Pythonista.
Your help is highly appreciated.
MS SQL Driver?
pyodbc is written in c.
I think some options would be to run a bridge program on your PC, or even something like a raspberry pi, that acts like a sql server, but just passes cursor commands/data to the mssql server.
Working W/ Raspberry Pi - .pyui files & how to run them
Hello everyone,
I am working on a project involving a raspberry pi and a small screen. For now I’m just using HDMI to a monitor for output.
If I create a “app” - more so the UI in Pythonista - what would I need to do to run the .pyui files on my Pi?
I would liked to setup a workflow where I can rapidly edit the UI from my iPad - once I get going I’ll be good I believe.
It’s mostly getting it running initially and any special considerations for running .pyui files from Pythonista
So in saying that is there a specific framework/library I need to load or are there any specific considerations for the transition from inside-iOS-Pythonista to my pi?
Thank you in advance!
Has somebody already used PyDrive to access Google Drive files?
This is a repeat of a follow-up in a different thread but since it address the matter of access and manipulation of Google Drive files I am going to cross-post it here:
Just to follow up on this matter. After struggling with PyDrive in pythonista for a while with resulting errors, I opted to just go ahead and try the Google Drive API.
There is a super simple tutorial in codelabs:
https://codelabs.developers.google.com/codelabs/gsuite-apis-intro/#0
Everything installs nicely and runs well. It even lets you complete the authentication in a separate browser if need be. I did the authentication on my raspberry pi and scped the secrets.jason and since then it works perfectly.
Just in case anyone wants to access and G suite files, you should know that pip in stash running in python3 nicely installs google-api-python-client and oauth2client in the site-packages-3 (which is all you need for Google Drive API).
Installing the scp module via pip (in stash)
Just to follow up on this matter. After struggling with PyDrive in pythonista for a while with resulting errors, I often to just go ahead and try the Google Drive API.
There is a super simple tutorial in codelabs:
https://codelabs.developers.google.com/codelabs/gsuite-apis-intro/#0
Everything installs nicely and runs well.It even lets you complete the authentication in a separate browser if need be. I did the authentication on my raspberry pi and scped the secrets.jason and since then it works perfectly.
Just in case anyone wants to access and G suite files, you should know that pip in stash running in python3 nicely installs google-api-python-client and oauth2client in the site-packages-3 (which is all you need for Google Drive API).
Installing the scp module via pip (in stash)
@bennr01 I am not running 7.2. Running 7.1 and that might be part of my problem. Will update shortly.
Regarding pyasn1, versions 2.1 to 4.2 were released in 2017.
I believe I am looking at the version of pyasn1 correctly. I only did so because in the original guide I was following @JonB specifically installed a version of pyasn1 after PyDrive. I wanted to make sure my version was the same or higher.
I looked in: /site-packages-2/pyasn1/init.py
version = '0.2.1'
Then I looked in: /site-packages-3/pyasn1/init.py
version = '0.1.7'
Not sure why these would be different, or why the version in my python3 would be an earlier version. I am thinking to delete these packages from PyDrive and dependencies, update stash and then reinstall with pip.
Also plan to do a PyDrive on my raspberry pi today and compare the files.
I am still new to this stuff but what to understand better what’s happening under the hood.
ui textfield escape-sequences
I did some further research... obviously the non printable escape sequences are filtert by ios keyboard driver.
When I scan directly into an Raspberry-Shell the escape sequences are displayed but when I opened a shell via ios (for example "shelly") non printable characters are filtert.
So its not a problem of pythonista! Should I delete the threat?
Back and forth BLE: Pythonista and Pi
@tylersuard If at work, you don't have WiFi, you can configure your Raspberry as WiFi HotSpot and connect your iDevice to it...But without Internet, no access to an Internet server like IFTTT.
And almost sure we can't run a Push Notifications local server on the pi 😢