I was wondering if it's possible to install non-pure-python modules like cryptography in Pythonista. (actually i dont know if it's pure-python or not... but when i tried to install it with Stash(pip), it failed when installing cffi..)
So has anyone tried to install modules like this? Or is it possible to use the Xcode Template to do this?
Forum Archive
Has anyone tried to install modules like cryptography?
szy1996
Oct 04, 2017 - 11:23
ccc
Oct 04, 2017 - 11:41
- https://github.com/omz/Pythonista-Issues/issues/49
- https://www.google.com/search?q=site%3A%2F%2Fforum.omz-software.com+cryptography
szy1996
Oct 04, 2017 - 13:19
Thanks for the reply, using kivy-ios seems like a good way.
JonB
Oct 04, 2017 - 17:38
Not sure if you read all of the thread, but no, you cannot use kivy, or cryptography, or any non pure pscksge (there are some which have non pure parts that are non essential, in which case you can usually install manually if pip fails)
On the question of cryptography specifically, therr are some alternatives.
pycrypto comes with pythonista, and ecsda can be installed with pip. You can also install jwt.
oauthlib uses jwt, which you can apparantly force to use pycrypto / ecsda instead of cryptography.
also, you might be interested in https://github.com/tomato42/tlslite-ng for