davidw last edited by
I'd to put in a request to add the powerful and popular nltk library to pythonista.
omz last edited by
I've experimented with that a while ago, and it's possible to get nltk to work on iOS. The problem is primarily that it's extremely slow (takes about 30 sec. to import iirc) and requires quite a lot (hundreds of MB) of additional data (corpora etc.) to be useful...
Since it wasn't really a popular feature request (I think one other person asked for it), it didn't seem worth the trouble to integrate it properly, with documentation, a custom download manager for corpora etc., but I might revisit that topic in the future.
Hoagyd last edited by
I'd like to add a request for NLTK as well. Amazing work by the way, only genuinely intuitive app I've seen for coding on iOS
rees247 last edited by
I'd also like to request NLTK.
How difficult would it be to streamline the installation of packages to allow users to add their own?
ccc last edited by
Users need to do a serious evaluation of a pypi package to determine if it will run well on top of Pythonista.
Most package authors expected their software to only be run on full featured computers, not on tablets and phones...
Issues that need to be considered:
How is the package "packaged"? Options: .egg, .wheel, .zip, gz, tar.gz, bz2, (etc.)
Is the package pure python? Are all the dependencies pure python?
Are all the dependencies properly installed? The right version? The most current version? (Not necessarily the same thing!!)
Are the dependencies conflicting with other installed modules? There is no virtualenv for Pythonista!!
Does the package and it's dependencies perform well on a mobile phone (reread Ole's comments about NLTK above)?
Are there assumptions about keyboard, mouse, CPU, FPU, memory size, networking, etc. that can not be satisfied by a mobile phone?
Are there assumptions about UI (Tkinter, PyGame, PyGtk, PySide, PyQT, WxPython, Kivy???)?
If Ole were to give us a pip-like tool, what percentage of Pythonista users would be ready to understand the above complexities before installing packages? What percentage of users would view Pythonista negatively if it failed to install or efficiently run their desired packages? How many of you would suggest to Ole that it was his responsibility to make NLTK work efficiently on your phone despite his clear description above about the import performance of the package and corpus data size.
Personally, I would be much happier to see the community of this Fourm get together and collaborate via GitHub (NOT a Gist!!) to evolve pipista into a more full featured tool. When we use pipista, we all know that we are doing so at our own risk. It is not part of the product so it is not Ole's responsibility to solve all the issues. http://omz-forums.appspot.com/pythonista/post/5876333586415616