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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_libecm-10.6.28-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.28-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.28-cp313-cp313-macosx_14_0_arm64.whl (623.9 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_libecm-10.6.28-cp313-cp313-macosx_13_0_x86_64.whl (718.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_libecm-10.6.28-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.28-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.28-cp312-cp312-macosx_14_0_arm64.whl (624.5 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_libecm-10.6.28-cp312-cp312-macosx_13_0_x86_64.whl (719.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_libecm-10.6.28-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.28-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.28-cp311-cp311-macosx_14_0_arm64.whl (624.4 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_libecm-10.6.28-cp311-cp311-macosx_13_0_x86_64.whl (718.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_libecm-10.6.28-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.2 MB view details)

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

passagemath_libecm-10.6.28-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.28-cp310-cp310-macosx_14_0_arm64.whl (624.6 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_libecm-10.6.28-cp310-cp310-macosx_13_0_x86_64.whl (718.9 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: passagemath_libecm-10.6.28.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.28.tar.gz
Algorithm Hash digest
SHA256 088a6c809fae3ec7bb29b3b7bda32f0f6f062fff81c8a150917e83e40e865d7f
MD5 0c472e9cef033e1f85ce9a0c87ae8a78
BLAKE2b-256 8ea7500f893e5891262df70ad6f0c4e7088db3a798c2681e178c0fa6af86be71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.28-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3c792127894c829decf06904453f5d7ac0695a9d55bbf6c77a8af6a7c69260b3
MD5 889935b62f7750a57e4dd6f4411fe352
BLAKE2b-256 2e648a706650d41dcf31802236cfad0ac27d01ad4165d46e1ac90ad21b2a44fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.28-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 df529ebf92d58d207d36744aae689942d0f579d27187ff0d894542b8f788a7c7
MD5 768015241dca346067b439cc23a64369
BLAKE2b-256 5148b30775b7ba03cc21e15ba2b32abaf879fe7e608c4cbbc179c2490350b0cc

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.28-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.28-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e113da80e776be94a07e92eb83e236e934be8450f9066bd0551ea040dced6a9f
MD5 dfab1a6ee693124b9ed5ec8f925a0dd5
BLAKE2b-256 8c458e309416755943043536aa90786bef26f9ba7d5e1ed4b202b77ae54733fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.28-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a91acebd823683cca7812cc3b8710d8ac6043500bc860d361577dd4fa115483b
MD5 0fa31ac698a620b90c1a359836436d2e
BLAKE2b-256 bfc14d32dc078ba7e75334c579328105fb7e2de0a3e84af06ae1acfc15f941b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.28-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 dbeeaa455b8a75a3940d4d8cf2295e15fafc0fc23fd9996a174686b4723bd553
MD5 610e0bf66a98484e68eadb9f1b1edf80
BLAKE2b-256 3b923ed92ed6cfa9c6a4d3f0e8b2c922fd28e9ca2df7208edcf6c0eed32233e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.28-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f45feb3494fc735340bf4787041b752c082bc77c93a9e7d5044db9a44e58dad0
MD5 1aba222335860442e44ded29b3198cf9
BLAKE2b-256 ca17a7f3b24c89efdca26ecbc2f2526ce18892eb45c95cbf5be5eb33fb145415

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.28-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 be081c4e86529c536f6951f43a3f25468461ce656dea51ef83e90b8c601af87f
MD5 c686659547c421dae726bcac612e875b
BLAKE2b-256 d7330cd37d47646b328b71eb5e27d744eea305cf3bb74692f20da721e8204662

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.28-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f357d6f918907839c31a36640325dace671b00583a418c43e7dd8034513c7827
MD5 3a2fb37c90cf3ae11461fd43d760e7f0
BLAKE2b-256 9fc1da81fcdfbd8ee0ad69d7ecc5fbda7b4a3f448579a33f1800b4a710cccdaf

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.28-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.28-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 84beb573e3b7bc38bec27189917e159f0061d80267d02f089651a3606d181bdb
MD5 5db6d661260e3d4dcca102908badd199
BLAKE2b-256 a9b1d34cda6e75c81719309e3d08fe9418c2e6687a7f6d5ae6fe6369eee764af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.28-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e47f121927f55d01c41f83e7aac276e1ed7ee0a16fb7693445ce65bc191eece6
MD5 8abe5ad9293a27803507e6eab919aca9
BLAKE2b-256 bb1296e219302c6f4c0738c23338b512b47feaadb90c581c15b335716a057ef3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.28-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0c8a120170c725005ae2c3a7b25cfac5801f14c2038b0ce29b9869bdff8231bb
MD5 800e8f7d8a47bedef61acd3425d1f9c0
BLAKE2b-256 d58382ebd48bc583df580e86232a6efb5de104aa73e1413f0d7afed8ebd912b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.28-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 13fad4fd15a378b572009283fa075b5af9cfa71095b509f5219f88a12ada0dd7
MD5 38f82be19f92357efc590422febfaa2c
BLAKE2b-256 eee1d3211ecbc3e9a5f30655ee64d24972c2d8ae93e111f6102969bf9cf00573

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.28-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3b511f04112697cec2a71f6419bca2a47ae4cd15fd2aaa27084ea4a43a287238
MD5 83537aef8a18889ed1f2c000f1c862d0
BLAKE2b-256 eb909cca21917b1e262acc345dbc090483306e85228aee6091821aae08daf53d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.28-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1983e797ddfbed2c5752e20bb6a769499816b3a960a18a361191909307168a1f
MD5 baaec0f4990bf9baeb9910967d161ff7
BLAKE2b-256 7280888227a9ad4afeb68fc01bee694de2623f481437a0609624fa2b85384c87

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.28-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.28-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1e898c30b5caba05e8a4c6e0bc58d178ce4ae6e0db85a687f1da2de4d632dd32
MD5 855044c1f4aef133241633e1b5ae0cf8
BLAKE2b-256 1c34f3d51eb96592b1284c16931d4d9b811d38a91e8b9a1412c97f4cf13fce94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.28-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b352dc020f9f297ad5593249ecd7f848a4e18f89aed5a3351de8ea5f4762e8eb
MD5 edde0b0c2337484a4f2d39e93bc0751c
BLAKE2b-256 4cd4a9b481ce39f818b139556571c6b8f3cd6476320c7116cb6b97b4f73df9ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.28-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a3e07c6994563fadb573680c108a644b69237bd5b1922e170bc4e62fbece335e
MD5 4e2d4295bc25276646a068feab63dbcd
BLAKE2b-256 ab938007e70992ae119d953bce1cea84bdedc114c60d17c07873e2bc30831dd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.28-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c184352910a3a65ff4b88ad58eb6c2fe090c1168b489d4753987ef7bd697800e
MD5 6ffed54184acd390bc863d99f9ae80c1
BLAKE2b-256 99b0982d5279d146d81dd313c30a1c19eaac2281ef5b759925d8f841b4cb62d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.28-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c85fc454874e4ded22bdad047ecdcc743cae675cac9d836d699c90ce6a55823d
MD5 3a0a736b83fd96733bcd229262db7a66
BLAKE2b-256 75f5c6d6c6dc25c541fc66fbc630e3cfc1a99d4d40bb59ef20905787a95a0615

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.28-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2c6bc2d20124a1a43ebec6259fa0487884874383f99cfbc1da1f1705448aa876
MD5 7cfdd774c2b9750323eb6c4e93f10c3f
BLAKE2b-256 894d890eafb524486ef86306bf5b24a727233017d42d4b772c086101f0fffa5a

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.28-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.28-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0d511c63af1b9f033b1535cf57928c6278f0b1f74939ffd8c7e4cec05ff14a7b
MD5 37ab3cf791c68b5814fcc0899e24a5a6
BLAKE2b-256 b2a0a2873403556beee292dbcd9acfc85542e1f274d53b652192fb37b9801152

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.28-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 81efa2aad3f4c5aacb4f7e5155e4dd19de739e0f8ce591f5db8515787391819c
MD5 d73beed7d2c998b0590e99b4413db76b
BLAKE2b-256 3f257f737e2311f5e3935b4b402819993d81dee05b69ce6244df2de0bf943d75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.28-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 02714104ed7a0abf7089c6035c8c94991fa930caa27ac24c6761fbe2b52626cf
MD5 e56eaeb0774510040eb54e75cb79550e
BLAKE2b-256 0e97497cd689e7d63f4bdf9494b087c28557ae0c182f6f248675a7b9a44a489e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.28-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5588f7532c6a182817e4840c13955b046dbd08743a606375573379d5150a4853
MD5 4b694553382c66ac46c32e9aa982093e
BLAKE2b-256 a7b0eac1ab043888fff5ba563ffb025e8ad5bb549537df50271cdb6588e48b9e

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