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.
Will pandas and scipy be available on Pythonista in the near future ??
-
@Matteo Linux can only load native libraries from the regular filesystem. That doesn't necessarily mean "on a real physical hard disk", it could also be on a network share or RAM disk mounted somewhere in the file system. However if the system doesn't even let you create temp files, it probably won't let you mount remote filesystems either.
On a regular Linux system that you have full access to, that wouldn't be a problem though. You can mount a network share under
/mnt/myshare
or whatever, add/mnt/myshare/pythonlibs
tosys.path
, and then you can import any module in that folder. I don't know Linux very well, so I don't know what commands exactly are used to mount remote filesystems. I also don't know if there are ways to mount a Dropbox or a Git repo as a filesystem. -
Hi @JonB , I have not my own sagecell provided by my online pc, because of lack of ram and cpu resources of my pc.
I use only the main SageMathCell mainteined by Andrey. But it (seems to me) doesn't allow user to install any external own python library: user can use only built-in libraries like these ones.
So I ask here if we can by-pass this limit by using a set of python scripts or a python library to import in ram (no hard disk) a remote python library compiled in linux stored in any cloud service, in order to use it not with Pythonista but with the remote python interpreter provided by SageCellMath (Pythonista would be a "remote controler" for the SageMathCell).
Hi @dgelessus, ok, I don't know Linux very much, I've tried some times ago to create a virtual machine with linux on my windows pc by using Virtual Box, but it was too slow.
After this long discussion (thanks both dgelessus and JonB!) I'd like if, in a near future, python could allow user to import any working python library (pure and not-pure) stored only in web (cloud or https), without downloading and saving it in the local filesystem. The web would become in this way a read-only big memory resource for own local python env and if user wants to change/modify the imported library, then he/she could do it by downloading the library, changing it and finally reloading the modified library in his/her own cloud account in order to use it with own local python env.
About sys.path python function, now I know that it can be used only for paths in filesystem (hard disk) and not for paths in the cloud (in a read-only mode).
Thanks both again for explanation,
Regards -
If you want a full shell, you likely need to pay, such as with Amazon aws, or any number of of full shell accounts. Anders is hosting and paying for the service he provides free, hence the limits on size,etc.
From what I can tell,though, Sagecell is running in it's own VM, complete with access to ’subprocess’ and urllib, you may have be able to do what you want,within the limits of that 64k which might be the limiter.
You might checkout numpy.f2py, which supports interfacing with Fortran libraries.
-
Actually, check out cocalc, which is just what you need... You get private projects with persistent storage, ability to compile code,etc.
-
@Matteo
Actually, check out cocalc, which is just what you need... You get private projects with persistent storage, ability to compile code,etc. -
@JonB Hi yes, if I will be able to create my own cocalc account and a way to interact with it using Pythonista or any online python environment it would be very useful.
With a cocalc account user could install any library supported by anaconda (I suppose).For now I will try to create a temporary folder with SageMath, starting from the following piece of code
import os import tempfile directory_name = tempfile.mkdtemp() print(directory_name) sys.path.append(directory_name)
in order to save inside it, during any math session, some not-built-in libraries I have in my dropbox.
Inside 'directory_name' I will download some external libraries from dropbox and I will test if I will be able to import these libraries with the common 'import ....'. If sagemathcell can edit sys.path and user can add any temp folder in it, maybe the remote python interpreter would import the libs.Thank you
Regards -
This thread seems like it has become the definitive thread for all things pandas/scipy so I’ll just post this here.
Some of you may be interested in the following app:
I’ve played with it a little and you can in fact use scipy and pandas on it. Those are preinstalled. If you upgrade for $5 you can plot as well. Which is nice.
The problem, and for me it’s a pretty big problem, is that your code is sent to a server and compiled remotely (with a max running time of 30s). There are of course many reasons not to do that. But for just learning to work with scipy or pandas or for just playing with generic ideas, I thought perhaps someone could find it interesting. It is buggy but I’ve been successful getting a few basic things to work.
I corresponded a bit with the developer and he is quite responsive. He also said he is thinking of having the code run locally in the future, but there is certainly no reason to expect that to be successful - I would think he will likely hit the same problems as omz.
Anyway for real tasks, I’m still hoping for at least pandas on pythonista one day if there’s no hope for scipy (I would gladly pay $20 more than I have already paid for those - just saying). But I thought someone may find this interesting since it is a relatively new app.
-
Hi, since cocalc was mentioned, I thought it would be worthwhile to suggest Juno (https://juno.sh), which runs on iPad. It’s basically a Jupyter notebook client running in an iOS app, and you have a choice of different back-ends: Azure Notebooks, Cocalc, or an AWS backend. I’m using the AWS backend for maximum flexibility.
-
I sure wish I knew pandas won't be supported, before I paid $10.
Sincerely,
Scott -
@scotttmiller I would be happy to pay you the $10 back if you create a working version of Pandas in an iOS app and publish it to the AppStore for $10. Please let me know.
-
In a recent post I tried to see if @omz could share something about what he was working on (no reply). I realize that telling us is a mixed bag for him but perhaps he could say if Scipy and Pandas, which are often requested, are never happening, imminent, or still a possibility.
-
I can assure those of you interested that Juno is easily worth the $10. Honestly, I’d be happy with my purchase even if I spent $20 or $30. It would be great to be able to use pandas and scipy directly on iOS, but Juno serves most of my purposes just fine. You can use cocalc or azure, or what I usually do is just run both a selenium server and a jupyter server on my laptop on the same network and just run it via Juno. And then I can do anything I want in either Python or R (or many other languages) from my iPad or phone. It’s true you can do that just via safari or other browser too, but I find it unworkable, especially on the phone. The app does make the experience pretty good.
-
Me too, pandas plz.
-
Is there a way to volunteer to port pandas to work with pythonista? I don't think it'd take me that long. I could put up a fork on GitHub and then the work to link it into your app and resubmit to the store would be minimal.
-
@froody It would be a good exercise in any case to see how difficult the port would be. Go for it.
-
Selenium is the most widely used web automation tool. It has been used to perform an automated test on Windows, Linux, and Unix system. It supports most of the browsers like Internet Explorer, Google Chrome, Safari, Mozilla Firefox, Opera etc.
On the other hand, Live Online Training recording takes place for Selenium with Python Video Tutorials at a scheduled event or time. The Instructor plays an important role throughout the learning process.
-
Pandas is included on this app. It has also newer versions of NumPy and Matplotlib. Pythonista has old versions of NumPy and Matplotlib.
-
@dgelessus
Then how come one can use Pandas on Juno?