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.21.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.21-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.21-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_libecm-10.6.21-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.21-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.21-cp313-cp313-macosx_14_0_arm64.whl (625.5 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_libecm-10.6.21-cp313-cp313-macosx_13_0_x86_64.whl (719.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_libecm-10.6.21-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.21-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_libecm-10.6.21-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.21-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.21-cp312-cp312-macosx_14_0_arm64.whl (626.2 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_libecm-10.6.21-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.21-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.21-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_libecm-10.6.21-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.21-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.21-cp311-cp311-macosx_14_0_arm64.whl (626.1 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_libecm-10.6.21-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.21-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.21-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_libecm-10.6.21-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.21-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.21-cp310-cp310-macosx_14_0_arm64.whl (626.2 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_libecm-10.6.21-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.21.tar.gz.

File metadata

  • Download URL: passagemath_libecm-10.6.21.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.21.tar.gz
Algorithm Hash digest
SHA256 93b1e29200522cc896bf778cde6f0b47da71fe328f29164d53e2104b0402dcbb
MD5 81e4e19ff385c603c4c8e59b205fdaa9
BLAKE2b-256 028e2ef197ec7aa81cc77bd07e320035513b432bca3d6eeb6ecb9a7208902d8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.21-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3839c9d15832ee08afb3867bfae15b0be3efd6df8e621560587fc245a7cd7f09
MD5 9fbecd3c468500fe3aeeef969f5eafa3
BLAKE2b-256 8a9dae1e58ff3eb3436c74ec0411fc3cfc32976a5829086e690809a0430665d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.21-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a19d33d92d3b6dc5ec90f285957042315fbf2db40eee5972acf662a00db8b324
MD5 5cc01740b0eadd04b02f7115ad4bd461
BLAKE2b-256 70a32f0d88d8beb60aca442f8540fa9f931917bdb315506ec6078a18e8a03b94

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.21-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.21-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 37cb4c3ad17a3276604f328950f032f041fb59fdd9b60e7dc819189e38648c81
MD5 246634bb8da952c1f80b13d3471f5335
BLAKE2b-256 67ca250b74639b3f82460e6a29dd14487c395c9d7a033ba03d4110243684e9e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.21-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ac2c2fadf87c895ce383e0efec415aaa98bade725e629f054b9870b4d1d093be
MD5 977066a9bee6d803e15eeee35765f833
BLAKE2b-256 448b7a7effd1b5029fe93e12831422f0298e04130909851f7f5d29c9b71a83d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.21-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 174a5512a045b69f430b7f7e5fba1df47187f3573abe1ead7198e691e25204c7
MD5 c17e3442b28d4cddb3db6abf8dafb615
BLAKE2b-256 09b237e92dd24965a558a448e2d9c73976f03fed192c6bce4c1b7318a20ef27c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.21-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 28d0c163459b6157a4e226bd80a6fe081b460b5c7211029fad9be79727168f78
MD5 521065e7d9e572919036903febd0a73a
BLAKE2b-256 958ae62b6211e5e78427b6cfd1a8741aa493badda1731680659ee040dc1b32ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.21-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6919bdb43dcd6812cf10fd8533a280864d616d8427ec6ced55622a4369676ab3
MD5 35f1e148a0ba3c831e07f3a4aae2c712
BLAKE2b-256 94a18f2ff4a46e15672d24d353b6c7b4eb42c101c4dd3862c910e134f58fd3b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.21-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4ba9231b5cc24ca5eacc25f4475c2e1b01bb417b3ba85a68bac5d1fb49958afd
MD5 2e4d44d5e71046c851563ea79ec33f12
BLAKE2b-256 98d5bd06377791f0505b89c71b95f4418fcb1fab4914c25cdaef3a3acd8aab55

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.21-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.21-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3865c78076067d8949535d737366a3e31de4c714768cd8e31f30a02391cf61a3
MD5 4bb7dfb65ac07c0bbda77555da213176
BLAKE2b-256 fbd7cfe8f74a62889f70e74a5aeda99a98a11c4754f182c1618522b3cfb4683a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.21-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 00382d70eba5791b27fa4a6a2d5d8130bb66831770d500a8f20608fa26f7310d
MD5 6b2aa1550f1e897f1d3cca0ac17bc487
BLAKE2b-256 6ab5ab609437a29f9ce3d2ab2c33373c3393075b95cf5344fff707dbae8f92fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.21-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c49e6d2d0915e93ef9336f433eacea981d2ec925fcf6a92788550c1064c42ad1
MD5 b460308ed74854cbbd638e1de1db009b
BLAKE2b-256 28dcd112cec7d79f9fabd83ff95de124a80a9a80607f4c0484bed0f67fafcadf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.21-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 65cfc03721e765f618dad90da499f26878717f066a6af29b270dcb6655ce9328
MD5 48d9169713a0423fbd5bddaf192e4be2
BLAKE2b-256 2243109976aee2b3c031e03ea2cc009f6dc39b58d6c34d203903a75f2bc5fdc8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.21-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fcef18979d5787c5e2de5e7b670d871ce85151ce54f6d5bc167205a7745a59e1
MD5 7bec6614f42745ce53e337775fdd2395
BLAKE2b-256 ea2123565d94864a291be50b0442437ec2b356ba62960f37874cbbbf065e3376

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.21-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5e14ba23954f257feb1b850836eb27e8f32538c4f08de238e926e968251e7f6b
MD5 34570c357a218de76d1747c328719718
BLAKE2b-256 dd688306d353abe5e575ebba66898cc7828e56b2dbcff15bcf3182685f783334

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.21-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.21-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d0109a6d0995e2e7873963503f936b961efa2db4a7d2de03c2c547a775d64145
MD5 3212de10eaf8bac67ab139214398bfa1
BLAKE2b-256 09c5fec1b51987df631df44acc0cfc50f8e08f9bf64c9d3074d11ffa644fc711

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.21-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bc2ce5fc95106ed61905f58fb2470be4d81ef1e7057dfc90b0ae5d18675275c5
MD5 d62d0c9c0501a712a518b28f38f9950a
BLAKE2b-256 0919fd2deed2652f9b984b2059b71a3f771dbd4424e3384094444f85c5992ebc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.21-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 cc664c3b0297dbb1b7c01118a27fc27145a668bd7282315372e056c118ecb2c4
MD5 6b0c210ba274d92e2f006f6f3b520deb
BLAKE2b-256 e6c6bce33e5e00456b784b4e62e85981b65e9f53f96a973f59adcd8c6a544023

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.21-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2223ab32d745643fe7e07946cb6a0cb87689cfb685013ff05c36e892ce82999b
MD5 5712dcdfed5308727a813e70b2ba79ed
BLAKE2b-256 cb08bb7b6e20873b67d95d9333bf2ee56a5d64a24d60398a00738dfadebf9f65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.21-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9b1a0fd9d52d80cfe78930311d343365821849b33d678cabaa74356b64ffeedf
MD5 01879752018ac7c494c545473386dccb
BLAKE2b-256 cca1092b48d03d121be3f3ba17d0875696bbd3c96217ec226f9adc056ec23301

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.21-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0ffb5415321c7aeb3a51c92c750f6dc28c4320557e0ce572bf46f58122ff915b
MD5 a69a5ef4dd44ebad9fa4c7ed98b0a413
BLAKE2b-256 7944c5176c06cf732adf06b90fb3200ebc673582ee39a50821bfefc4a837aa7e

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.21-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.21-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2ef6986a4c13598570638bd9f327a811108bf924616adab87e536ca91cc8bb0b
MD5 20bcc15651f532d5e2fa7a8ad2da9e46
BLAKE2b-256 5b95d643e96d895854731f998ecbc1ca11434d3fbc9361f0f70efa62f9bf5864

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.21-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f887b66603af2c7e39ab3c8bf27c9e9e563dd329fa97d86dc4615a3d4ee6ec8f
MD5 d167328ec3b847a23fd40889a98bd37a
BLAKE2b-256 6e7f0fa8b8a47c30f3762294afd3cf702be63ba47187870604abdbcbcbd837c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.21-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 45feac62e39b74ffc3f6cae89390d93aee852fcb3e4292273275ea7d3fc55e51
MD5 7b48cd8dc612bd7b7c76d60ec0d9e9db
BLAKE2b-256 3454b71b60c25b236a9b0419405a21fdf53ef7d2884c9cfa6381a1e9414a9bce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.21-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 41d011b710a9e03720a57774b634ea307eca948035a60f18869a517d31c312dd
MD5 96541b3747b68cec043da8ed5b8f0be7
BLAKE2b-256 09599ae5a8b19e516de45455f7599b730f7bccc74641c5f3b005704a19ceabd7

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