module pyaesni on pypy
Hi, is there a way to install the pyaesni module on pypy or is it incompatible? best regards Nicola Di Bona
It's probably easiest to try it and see. But it appears to have assembly language in it, so likely not. But don't despair: There are probably many AES implementations for Python. On Mon, Jun 27, 2022 at 1:32 PM Nicola Di Bona < python.nicoladibona@gmail.com> wrote:
Hi, is there a way to install the pyaesni module on pypy or is it incompatible? best regards Nicola Di Bona _______________________________________________ pypy-dev mailing list -- pypy-dev@python.org To unsubscribe send an email to pypy-dev-leave@python.org https://mail.python.org/mailman3/lists/pypy-dev.python.org/ Member address: drsalists@gmail.com
Hi, On Fri, 1 Jul 2022 at 01:32, Dan Stromberg <drsalists@gmail.com> wrote:
It's probably easiest to try it and see.
But it appears to have assembly language in it, so likely not.
Using assembly language doesn't make it less likely to work, as long as the interactions with the CPython C API are written in the usual C style. Armin Rigo
Thanks for your answers and your time. I tried, but it doesn't install (with Pip), I am attaching the error screen. The pyaesni module is the absolute fastest for aes encryption, it is over 5x faster than Cripto.Cipher. If it ran correctly in Pypy, even at the same speed as Python, I could save thousands of disk writes for passing variables from Pypy to Python. Unfortunately I have no idea how to adapt it, I was hoping it could be solved somehow. best regards Nicola Di Bona Il ven 1 lug 2022, 09:30 Armin Rigo <armin.rigo@gmail.com> ha scritto:
Hi,
On Fri, 1 Jul 2022 at 01:32, Dan Stromberg <drsalists@gmail.com> wrote:
It's probably easiest to try it and see.
But it appears to have assembly language in it, so likely not.
Using assembly language doesn't make it less likely to work, as long as the interactions with the CPython C API are written in the usual C style.
Armin Rigo
You might try pyca/cryptography (pip install cryptography) -- we test on PyPy and I'd expect it to be performant. Alex On Fri, Jul 1, 2022 at 11:35 AM Nicola Di Bona <python.nicoladibona@gmail.com> wrote:
Thanks for your answers and your time. I tried, but it doesn't install (with Pip), I am attaching the error screen. The pyaesni module is the absolute fastest for aes encryption, it is over 5x faster than Cripto.Cipher. If it ran correctly in Pypy, even at the same speed as Python, I could save thousands of disk writes for passing variables from Pypy to Python. Unfortunately I have no idea how to adapt it, I was hoping it could be solved somehow. best regards
Nicola Di Bona
Il ven 1 lug 2022, 09:30 Armin Rigo <armin.rigo@gmail.com> ha scritto:
Hi,
On Fri, 1 Jul 2022 at 01:32, Dan Stromberg <drsalists@gmail.com> wrote:
It's probably easiest to try it and see.
But it appears to have assembly language in it, so likely not.
Using assembly language doesn't make it less likely to work, as long as the interactions with the CPython C API are written in the usual C style.
Armin Rigo
_______________________________________________ pypy-dev mailing list -- pypy-dev@python.org To unsubscribe send an email to pypy-dev-leave@python.org https://mail.python.org/mailman3/lists/pypy-dev.python.org/ Member address: alex.gaynor@gmail.com
-- All that is necessary for evil to succeed is for good people to do nothing.
Note that the error that the screenshot shows is likely a problem with pyaesni itself, or the way it is packaged. I get a different error, but it's also about building the extension. And I even get the same error on CPython, so that points to it being not a problem with pypy itself. Cheers, CF On 01.07.22 17:35, Nicola Di Bona wrote:
Thanks for your answers and your time. I tried, but it doesn't install (with Pip), I am attaching the error screen. The pyaesni module is the absolute fastest for aes encryption, it is over 5x faster than Cripto.Cipher. If it ran correctly in Pypy, even at the same speed as Python, I could save thousands of disk writes for passing variables from Pypy to Python. Unfortunately I have no idea how to adapt it, I was hoping it could be solved somehow. best regards
Nicola Di Bona
Il ven 1 lug 2022, 09:30 Armin Rigo <armin.rigo@gmail.com <mailto:armin.rigo@gmail.com>> ha scritto:
Hi,
On Fri, 1 Jul 2022 at 01:32, Dan Stromberg <drsalists@gmail.com <mailto:drsalists@gmail.com>> wrote: > It's probably easiest to try it and see. > > But it appears to have assembly language in it, so likely not.
Using assembly language doesn't make it less likely to work, as long as the interactions with the CPython C API are written in the usual C style.
Armin Rigo
_______________________________________________ pypy-dev mailing list -- pypy-dev@python.org To unsubscribe send an email to pypy-dev-leave@python.org https://mail.python.org/mailman3/lists/pypy-dev.python.org/ Member address: cfbolz@gmx.de
Nicola,
I tried, but it doesn't install (with Pip), I am attaching the error screen.
haven't tried the whole thing, but to get past that particular error: pypy -m pip install cmake Beyond that, if the package requires cmake, it's going to build something native, so it's going to need MSVC. So, make sure that you execute the install in an environment/command prompt with MSVC setup. Best regards, Wim -- WLavrijsen@lbl.gov -- +1 (510) 486 6411 -- www.lavrijsen.net
participants (6)
-
Alex Gaynor
-
Armin Rigo
-
Carl Friedrich Bolz-Tereick
-
Dan Stromberg
-
Nicola Di Bona
-
wlavrijsen@lbl.gov