Giter VIP home page Giter VIP logo

Comments (5)

AntonKueltz avatar AntonKueltz commented on August 19, 2024 2

I just pushed some changes for python3 compatibility, I tested them in a virtualenv using python3.4 and they cleared the test suite. Haven't benchmarked performance but I see no reason it would be much different from the python2 performance. Let me know if you're still having trouble ($ pip install fastecdsa==1.2.1 should do the trick).

from fastecdsa.

AntonKueltz avatar AntonKueltz commented on August 19, 2024

Hi there, a couple things I can think of off the top of my head. First is that I haven't written the C extension modules to work with Python3 so there might well be issues using the module with v3.5.2 (it does work against all versions of Python2 I've tested). I think the installation issue may be in regard to where clang looks for header files, I'll have to look at that a little further. I do plan to make this package Python3 compatible but at the moment the only version that is stable / tested is on Python2, sorry about that.

from fastecdsa.

amcgregor avatar amcgregor commented on August 19, 2024

No worries, I was suspecting it was something like that. For when you do get to Python 3 compatibility, I'd highly, highly recommend using the cffi package, as it's extremely portable across runtimes.

from fastecdsa.

amcgregor avatar amcgregor commented on August 19, 2024

Great success! Thank you for the extremely prompt turnaround on this!

Tested on Python 3.5.2 in a venv on macOS Sierra via:

# This is more robust than the uglier version passed to PIP.
export LDFLAGS="-L$(brew --prefix gmp)/lib" CFLAGS="-I$(brew --prefix gmp)/include"
pip install 'fastecdsa==1.2.1'
python -c "from fastecdsa import curve, ecdsa, keys"

The exception that was raised is no longer. Thanks again!

from fastecdsa.

AntonKueltz avatar AntonKueltz commented on August 19, 2024

Happy to hear that did the trick for you! :)

[for historical reference issue fixed in 3c2162c]

from fastecdsa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.