Forum Archive

Packages that people have gotten to work

ihf

A Pythonista-specific code repository would be great but in the meantime I wonder if people would be willing to say which packages they have working under Pythonista and which have been determined to be unusable (at least to date with v1.4). Looking back over this forum, NumPy and SciPy are mentioned several times and may be included in the imminent release of v1.5. Some others that I or others have inquired about are:

  1. NLTK

  2. Pandas

  3. NetworkX

  4. Twisted

Perhaps anyone who has successfully or unsuccessfully worked on other significant packages could relate their experience?

Rothrock42

I'm new to the python world. Is there an easy way to tell what other modules/packages a given module requires? Or is it just up to each to developer to document it or not?

dgelessus

@Rothrock42, you can look at a module's import statements. Most default modules are colored in purple by Pythonista, but some aren't. By simply running the module you can find out easily if all required modules are installed, if not the error message will tell you which one is missing.

@omz, it looks like xdrlib is not actually included in the app despite being documented in the Pythonista docs. It can still easily be installed by placing xdrlib.py from the Python Mercurial in the root Pythonista directory, so I suppose it's not a compatibility issue.

ihf

I tried installing Twisted but didn't get too far. It appears to require zope.interface, which I also added but it still complains. Perhaps I should install it on OSX and then move the files.

briarfox

I would love to have twisted.

Kenbo01

Not sure you'd call it significant, but pyparsing works.

JonB

Sympy worked

ccc

Pyparsing is built in... Just import pyparsing.

ltddev

I have got CodernityDB to work in Pythonista (http://labs.codernity.com/codernitydb/)

briarfox

I'll add SQLAlchemy to the list. Also bottle v0.13 (Pythonista has 0.12 I believe) Fixes the basic auth issue.

Kenbo01

xlwt seems to work.

http://www.python-excel.org/

Presumably xlrd does as well, but I haven't checked yet.

nlecaude

phue, my Philips Hue control library works great with pythonista:
https://github.com/studioimaginaire/phue

SpotlightKid

I successfully used the following packages to convert Markdown to PDF with Pythonista:

* included in Pythonista

I haven't tested these packages apart from this application, but they import with no errors.

(See also this thread.)

ccc

Html5lib v0.999 (current) is also included in Pythonista.

karthikmaiya

i got NLTK working

SpotlightKid

@ccc ok, good to know. Didn't see that in the documentation. I'll remove it from my bundle.