omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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.


    Has anyone tried to install modules like cryptography?

    Pythonista
    3
    4
    3006
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • szy1996
      szy1996 last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • ccc
        ccc last edited by ccc

        • https://github.com/omz/Pythonista-Issues/issues/49
        • https://www.google.com/search?q=site%3A%2F%2Fforum.omz-software.com+cryptography
        1 Reply Last reply Reply Quote 0
        • szy1996
          szy1996 last edited by

          Thanks for the reply, using kivy-ios seems like a good way.

          1 Reply Last reply Reply Quote 0
          • JonB
            JonB last edited by

            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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB Forums | Contributors