Skip to main content

passagemath: Elliptic curve method for integer factorization using GMP-ECM

Project description

passagemath is open source mathematical software in Python, released under the GNU General Public Licence GPLv2+.

It is a fork of SageMath, which has been developed 2005-2025 under the motto “Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, and MATLAB”.

The passagemath fork uses the motto “Creating a Free Passage Between the Scientific Python Ecosystem and Mathematical Software Communities.” It was created in October 2024 with the following goals:

Full documentation is available online.

passagemath attempts to support and provides binary wheels suitable for all major Linux distributions and recent versions of macOS.

Binary wheels for native Windows (x86_64) are are available for a subset of the passagemath distributions. Use of the full functionality of passagemath on Windows currently requires the use of Windows Subsystem for Linux (WSL) or virtualization.

The supported Python versions in the passagemath 10.6.x series are 3.10.x-3.13.x.

About this pip-installable distribution package

This pip-installable package passagemath-libecm provides interfaces to GMP-ECM, the implementation of the Elliptic Curve Method for integer factorization.

What is included

Examples

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-libecm[test]" ipython

In [1]: from sage.libs.libecm import ecmfactor

In [2]: N = 11 * 43570062353753446053455610056679740005056966111842089407838902783209959981593077811330507328327968191581

In [3]: ecmfactor(N, 100, verbose=True)
Performing one curve with B1=100
Found factor in step 1: 11
Out[3]: (True, 11, ...)

In [4]: ecmfactor(N//11, 100, verbose=True)
Performing one curve with B1=100
Found no factor.
Out[4]: (False, None)

Available as extras, from other distributions

pip install passagemath-libecm[pari] additionally makes PARI available (for primality testing)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

passagemath_libecm-10.6.24.tar.gz (15.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

passagemath_libecm-10.6.24-cp313-cp313-musllinux_1_2_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

passagemath_libecm-10.6.24-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_libecm-10.6.24-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_libecm-10.6.24-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_libecm-10.6.24-cp313-cp313-macosx_14_0_arm64.whl (625.5 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_libecm-10.6.24-cp313-cp313-macosx_13_0_x86_64.whl (719.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_libecm-10.6.24-cp312-cp312-musllinux_1_2_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

passagemath_libecm-10.6.24-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_libecm-10.6.24-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_libecm-10.6.24-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_libecm-10.6.24-cp312-cp312-macosx_14_0_arm64.whl (626.3 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_libecm-10.6.24-cp312-cp312-macosx_13_0_x86_64.whl (720.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

passagemath_libecm-10.6.24-cp311-cp311-musllinux_1_2_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

passagemath_libecm-10.6.24-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_libecm-10.6.24-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_libecm-10.6.24-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_libecm-10.6.24-cp311-cp311-macosx_14_0_arm64.whl (626.1 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_libecm-10.6.24-cp311-cp311-macosx_13_0_x86_64.whl (720.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_libecm-10.6.24-cp310-cp310-musllinux_1_2_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

passagemath_libecm-10.6.24-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_libecm-10.6.24-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_libecm-10.6.24-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_libecm-10.6.24-cp310-cp310-macosx_14_0_arm64.whl (626.2 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_libecm-10.6.24-cp310-cp310-macosx_13_0_x86_64.whl (720.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

Details for the file passagemath_libecm-10.6.24.tar.gz.

File metadata

  • Download URL: passagemath_libecm-10.6.24.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for passagemath_libecm-10.6.24.tar.gz
Algorithm Hash digest
SHA256 ef9111d430f10567b5adcc39cc80ef4f209d4d25c2ac2ead71d79499ee24dc6b
MD5 52a1a7f6452d7e626705696e36deefe1
BLAKE2b-256 c4e2e63f12bbfcaeaa14c11572261745bfd102cb8ec9bdb452e5bce9cd088665

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d351ddd672bde00f4d416a4c834c90967a011af0996fd29dcc2bdf2ddac2be12
MD5 15a41e7b6ce04ed219ba43378d030cd8
BLAKE2b-256 9efb1180760c3eca8e1d20cddaf4fb17c34bd8852938bd1d485ccb767bebde14

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c29a541cd8d24130dbc53dff2d6ceb250496b7f96a20300724a8ae213e819132
MD5 e6517ea420f230b83db8c09583ed35b1
BLAKE2b-256 e584cba4f7e2bf527149d1f72a39a9ac4cc4db103b54dd2486fe1b9f3fd618de

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c16ba89668db3d6a6d85f3eeb1fa841696f461844e4b2bd308a534fd875132f8
MD5 86a989307e3a06abe21a443bd36b309e
BLAKE2b-256 9b6725324307dff35b9b0ef6eb26e6a9babb598b93553ebf714e5c2b725ebc75

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f70904149ae343a6c5af7c1b4de1da3c90b4da70f7eed64cc683513d75ccbd47
MD5 1b1e2da457e3dfdcd39ea1def107828a
BLAKE2b-256 c7cec4208583b8688718d66a9144ef336861e8da4c3a6afda5794573b66f6f28

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 084f6b0e86a70dc10e5164676843668acdfbdd488ebfadf5a8c78331e7781387
MD5 7cbabdf921adbdc1bbf9b6663c8317e7
BLAKE2b-256 196867ab638e1fd0034e3fc88c0309d5fad784446666be48432f034e7d822f82

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a1dfa6817039a8daf8362760b78463c9a3c1e8556956411d3b07afe3b700b87a
MD5 6b9a6acaa8bc90591f97afc2e322d4f3
BLAKE2b-256 d24662e9ac3072423acef4e93424839143e6ad8db8385040eca1fdea8cea601f

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 707a402de62fe22d88bcbaba17f44f67f369a0347976a8aa2a214eebff4d1c5e
MD5 d7f0ca4aaa119c8fd320c4a2273e5338
BLAKE2b-256 37c15a5be66422594a8de8503dab7655d15faf2f2797ca546aa2b526575c9b3f

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f591d549a35f9ad3b9412244e34d8cf7d60a4bba2ce072ce816107480441e244
MD5 68cf07bfddacccb8b617f2d0fdfe671d
BLAKE2b-256 537000519163400c46767509a4699cf8d44157a63c69f569c833239f341b321e

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a9151f6ffe41f0d4a385e3ffa17dddc6c25fca27b22fab2213f7aa5b91be7297
MD5 4bd357c4204fcedae1ed73fa0b33e8fb
BLAKE2b-256 fad5eb692f20aa68e6f8a8814f3ad47994646def6d6bef0e215b23313c60ec06

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4981097c57e662368f45299c5fba39e75177c0fd50a76dc007eac2c3031eab71
MD5 05d3c8c41956bb3d6c5f4b28a4c0bfca
BLAKE2b-256 92cc10101aa3c7be33ade4438e7cc91e80b13e1cd8d7cb1c0463c56a18b29041

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3a3c6d5a563a9d8da1570109e98fe1ca7382b0f3da6f221c044d8532b4e717cb
MD5 ac47213145be9d22f28af6b7100454a8
BLAKE2b-256 1a14a626f50651b031f3f72fe27a46aa8fb4b7bd427b384e217bf63568c7fd58

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2ff6c4dbc20b7d989fe4e39b287cca5f1141939f66852aed6cab05489457f1a4
MD5 902fe642642032bddcd94ca22cb55068
BLAKE2b-256 965a8726b223473741ffa1966ec73fc9806e42132711fda6de1789f6a44511a0

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0ea92a007e788e0a1ab43aafa9d8618e4bb0f9ecd7d8b80a5a9b241c7f68f816
MD5 5f3eb48007663d035c5c7c8c33ed29df
BLAKE2b-256 e1ed4767d2d3303958195b50842b46f9e432770d395ad9e1ef66276d3210cd59

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3b916df48f73601a88f7db8ffc0b7c7aa25050f162b94a6bc0dcab101a3d8e4d
MD5 48027ca7060acc42017e9bdeafa64e72
BLAKE2b-256 62edbad1ea7b93e26291ffd86247fad28b7af7737fc42a36c857783cf46772c5

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d10b557902865a79f83e6b80001b86f0f7e0ed8ce359d4753014a7f216e6c0e8
MD5 04968ffe972af3de3757c1d6957a1c4a
BLAKE2b-256 dc630d59330404ab8bd729e1aa79ec593b35fb95a3e12c82aac7f57222054304

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d45cfd92e9d446c50b5b348115d7d1995b4ff2658040de49ca89bf6d29860a42
MD5 39d7c62bc50b0d6ed519880d04d5ad1b
BLAKE2b-256 1d5f928e77d0acb3df94325a61533840d5d49639bcf2ab1e6c73bd61f91d7527

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3ec4a031102500aa463ddfc44309bff11716e3f7802b7d879effad7cf799aa29
MD5 4c9036e64bf274f8f651cd4019274fd4
BLAKE2b-256 cf317dbe54110bdb77c14bf708fb8510a8e2a5525bd2401a9c920482a105eb1b

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e9d956c407aba50facb81a60231e333510180c3f505c7f3a4aac43ecc8f12a75
MD5 a5532e13a2b93164f99a5e3283ae57be
BLAKE2b-256 610f3de598e89c0ce1eb92eafda7e7f115283850569cb089d5756a9d8d13a8a5

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8de14f541fd8a7bbf335fe871d30c23ff6c90dd506b09f4e123d870983883997
MD5 e88fa4930286d9be9f8c93d5b81488a1
BLAKE2b-256 02fe5369459d049dac9b29567a426658f744991e8d951f47b22bfff6fa71a976

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d58e46ee428147167fcdf0d33f4dc2e3e400579defaf1eb16585fd22c63b13cd
MD5 39e78bc9aafec9ba37be767172562379
BLAKE2b-256 0b7b43309e2b44927d9879dc1a7ca7cd5efc70b1db1b825a5e982a8f16053d59

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 486688cb2c2b48c193fa8a75636a23282709b6a28ac9bebea8ae1f0e50754ed4
MD5 44b2617152ffb51886441596e32fc716
BLAKE2b-256 1f8243ab0f21b8c8ac190efe002ed963652d5a88de0fb320eb5e9ba8a4e4082d

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e245cab3a898e59a2f6d87f408fa386955b89c6fb58f15b8dbcd6a23fec4334b
MD5 e9b7d5d40d5315608b5dac52636f0eaa
BLAKE2b-256 3080e953be951651b9b6371c2b1e5b37ed00d91dbd52f95885130c1f965c9960

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bb1a3b6a5786b8e04db6e36c3cc1d63bf1188ee632d8ada910575424087ccb8c
MD5 4cd04a36a78f9ea243d5a64fc31da706
BLAKE2b-256 ca18a9eb1de0d4bcd192e7097bcbbdf8d11f29a6fe6b8c6863a81783f32859b4

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.24-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.24-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f85a2b410de77846cc6402c44c698453cd7e3172f4af11e0bb2a07d5b0663bac
MD5 587ad080812bdd3c8aeb3c77c11906fc
BLAKE2b-256 3c347adfa7a027902b8993278074da3a35975fd3fe8dfae6cd8a70eb5a1c17a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page