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 was created in October 2024 with the following goals:

Full documentation is available online.

passagemath attempts to support all major Linux distributions and recent versions of macOS. Use on Windows currently requires the use of Windows Subsystem for Linux or virtualization.

Complete sets of binary wheels are provided on PyPI for Python versions 3.10.x-3.13.x. Python 3.13.x is also supported, but some third-party packages are still missing wheels, so compilation from source is triggered for those.

About this pip-installable distribution package

This pip-installable package passagemath-libecm provides interfaces to [GMP-ECM](https://gitlab.inria.fr/zimmerma/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.1rc15.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.1rc15-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.1rc15-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_libecm-10.6.1rc15-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.1rc15-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.1rc15-cp313-cp313-macosx_14_0_arm64.whl (625.4 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_libecm-10.6.1rc15-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.1rc15-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.1rc15-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_libecm-10.6.1rc15-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.1rc15-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.1rc15-cp312-cp312-macosx_14_0_arm64.whl (626.2 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_libecm-10.6.1rc15-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.1rc15-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.1rc15-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_libecm-10.6.1rc15-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.1rc15-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.1rc15-cp311-cp311-macosx_14_0_arm64.whl (626.0 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_libecm-10.6.1rc15-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.1rc15-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.1rc15-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_libecm-10.6.1rc15-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.1rc15-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.1rc15-cp310-cp310-macosx_14_0_arm64.whl (626.1 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_libecm-10.6.1rc15-cp310-cp310-macosx_13_0_x86_64.whl (720.5 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

Details for the file passagemath_libecm-10.6.1rc15.tar.gz.

File metadata

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

File hashes

Hashes for passagemath_libecm-10.6.1rc15.tar.gz
Algorithm Hash digest
SHA256 940058f02e546ed1afe04479d21c330a63cdfa66ae6196fc5bfd9007e7e305f4
MD5 736ae20cc934010d3ae2cbcaf4b4327e
BLAKE2b-256 b7ca0462905016e62b4216d2c6e3594d116a012b529eebb4532b370962356f52

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1rc15-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1rc15-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 57dab9df8de2a309881732f1057d90b405d7915983c73285f3451f15d1178b97
MD5 ee228c1f708d6baa9b051fe322d77cf7
BLAKE2b-256 e2d6ab7520adf90c13389b106d2017905204d01294959afca811c58ba972603e

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1rc15-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1rc15-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 42b56d209ae9cc200709dfb7cfa7b29143de9c8b1ed5556c6aa40fe848f76621
MD5 5de8c014063a6140be6a86eda9fb6cb0
BLAKE2b-256 4eb69be4f7eab99c290cf040d01b89d8e89417abe4b323d8aa3da3d98d26d1a9

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1rc15-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.1rc15-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 207455230d5c681b1eb2247fc118ca29228b2991d52650cb4bdbbcd90f4b364d
MD5 339fc737595794c71ac430289f8cc0d9
BLAKE2b-256 579cdcf1c24f420c34bc10c31f05855c147a061bb2f9e0b6bd36697a791c6353

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1rc15-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 05454493412039a62cfdd313fceeb19576d94ecfe7bffae05cea9331c9cfbad9
MD5 01eed196ac11aeb8a22f36ef88899602
BLAKE2b-256 ca82be85f50f702cc9ffd3961e97f3df71cc0102ab07cadda583b8291a93293a

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1rc15-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1rc15-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5132779d53853825b2593bb13f3fcbca7a9eaac4cad1f4bb5eac5f8b63b1d7b2
MD5 d0835b4c1ad782a35f61b3e19c642c9c
BLAKE2b-256 60a609107a94d2dfc3c6c2a58071b145cadd06ad2100455c7fec7b492f710af4

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1rc15-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1rc15-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 278c5eb95ce7ed8480107da5957579189e4723bc3eaab8293b7434da49cd4d65
MD5 a0075fc8eabba4458175745525ab9af2
BLAKE2b-256 2e44ade3a1e2747ba03b748e68f8617416984e7d5274ead3fa2253748c151c0a

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1rc15-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1rc15-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 48ff4246576f9539c317aaaa8ac01471116dc6c333a9966e301bda1f01b65730
MD5 fd13e48bb9672bfca55343ed7ecacfd5
BLAKE2b-256 53e62cf2006eefebf7bc3eaa6c56185ad1b3278ecf9cb2e535315ea7fad09ad6

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1rc15-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1rc15-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9c064468fcac266d992de4c3527636f6217ef16efc9d423c8c47829541f37fdd
MD5 78088199472379c7e4d61dc71655ed51
BLAKE2b-256 868879fd1f48f4b76b65126ecf0d57be91c6206ecebd0cedcb6266694831d0db

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1rc15-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.1rc15-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4442b24cf8b27c9aad704007ccd47557c564920e15eb5ab5a94c0a0ddbdb0dea
MD5 701509e93af601142017afe0eb88256a
BLAKE2b-256 e0e18a46e49322b6bf5d8e3dce805bd203a08c8f0dad6bafae80c6155c456414

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1rc15-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ed08c86835535c95c0fcfad617117761a2d64633388442990f6093bd17734932
MD5 443a49134f0fac5e4c894c698703aaff
BLAKE2b-256 b50bec41d826be4b9653f08f5e0f141c6ddd9dd2410511402197f48416b83614

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1rc15-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1rc15-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3d6767d05cca290cfe9aea4c2d999f231db0ac9967870eaa5e4b02127b544b36
MD5 1420b9f80fa7d974c7194779e0c7ed42
BLAKE2b-256 03f6a75dd6ebb3a4575176028a541e80191396241fcee9b1d0aa8015d58839b3

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1rc15-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1rc15-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 92b5903404289fa64467046bf97bc747d1b2105b35c4db4ffaec1b80e042a39f
MD5 6d2627293b30ae24f5a76c0992726af5
BLAKE2b-256 201baa7bcde118f356b51cd1348de02d06f865c525846a536970c1168f45ce3c

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1rc15-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1rc15-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8fe07dbe30f1c027efcc5d845ff44bd7d83826ad854fc0f552e3ef3b772c1201
MD5 711041bb6fea4f54f8b58fc2c099ae21
BLAKE2b-256 574a7e7a3b6df38b3a79f760539524a1392a89f6352d824a931ca81f9646e891

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1rc15-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1rc15-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5c58c104cb454f4f9fbff257812381cf5cad5496672b34e0522cec5b26d9888c
MD5 22d8cfaa79d6b758c3c3d77494bb6468
BLAKE2b-256 e504d7eeebde32ff9c08cb39c9adb4b092a5dc8175df04a8f15bd93e7ad25c9a

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1rc15-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.1rc15-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bbd6acf5bce4678f7412151b02584913b8376a54e49a747e52e9019b746fe773
MD5 83d9a876fa0b8fe8dbb8d6ed3ef728df
BLAKE2b-256 4f687543dfd9826b4ca5ae62a73936bafe01a275f4b5a41e334908d7a8ba2156

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1rc15-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 35759683aeba2d67405b8936978d4b8957c7f36e97c43d466d0e3e4bd2dca549
MD5 a5faa36886c19009694c6d3f1f356b20
BLAKE2b-256 cff070640c1552a8e5d74f82dc55036bf7b052d71dfcbcca040c09ccfb23761f

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1rc15-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1rc15-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9e3c0c71a8adbf3b864e41b1f997ecc4b30a8b734107e41586ed44cac440192a
MD5 30a0cebcd7d701f9132c9c8039efa261
BLAKE2b-256 4eac9530055596788096820df8febaea54327a91d79ca8cbfe391084e0e80f01

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1rc15-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1rc15-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dec420981de1d63cd7c5bcf0da2c905d2a116a5ceff7395e27a1dbd6fb304581
MD5 b29151eda3d6299e816e14aae5a55887
BLAKE2b-256 412ace1e19f31fc88a56d2a54f0691bfff2797f6a448566f247b024b02c6d653

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1rc15-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1rc15-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2f9bb66ceb50dcbf95bf62bdc2b639d044a616c8c8aecf45f3d8daf58a5c46c4
MD5 67536efeb0b43a0652f3f64794f8758a
BLAKE2b-256 87d3b966718043861bb7ee9fb4d13c1af5a7b447c4ad2c0757981661636ce95b

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1rc15-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1rc15-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a8f6f830782b4d0534dc0afa063f4de221c5c0763c9c8f1f32521009f6793051
MD5 c89c6c6138988230015ee14e473352ac
BLAKE2b-256 7da041a5476f2e4bf5ba3bf9385eeec3fdd0ec1d2a7b55a6b7399934ba0f2170

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1rc15-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.1rc15-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 209ee34d14fbd51ea699a732f466e70c0764aa535fce2c739a19881ebefaeed7
MD5 8fc37c86c6be63aa70cc78c3ab21cc95
BLAKE2b-256 eaea19e8eb34c64c30f3dd157674b6d8f528977544fd31e59a2fb1a9f7667cb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1rc15-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 68136fcbf5d3e5a6e41e0bdb2a865161907a79ecbb753623e93d4865b059584a
MD5 6ae2dbb74c1da1b66d8ca3d8c660e2c9
BLAKE2b-256 0c68144afceb0ada3eedb877b72e7ea4d949100767a9a3597d583adec8386cfe

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1rc15-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1rc15-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 aa6656edec2140587cfd8c5d60165cb6d8f2b090cd431c6b40ef06f88656f752
MD5 fda6dc93ababae234e8f5201ba01dcc8
BLAKE2b-256 a18093542ecf402c3a23095a050628f3dffd3db53cdaad0ffef4873238bedc6c

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1rc15-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1rc15-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8fb43d1f28e624dc46a8e62760c1f7e81ff557b709f20e7fb60478b8098f9804
MD5 fd2ddd083f935873821778474e2ee8f6
BLAKE2b-256 66277c66fdc3239a33c42b705832f70f679499d3fe6c4781a2a594a3c94f9256

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