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.

For the Linux aarch64 (ARM) platform, some third-party packages are still missing wheels; see ` <https://github.com/passagemath/passagemath?tab=readme-ov-file#full-installation-of-passagemath-from-binary-wheels-on-pypi>`__ for instructions for building them from source.

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.9.x-3.13.x.

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.1.tar.gz (15.9 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.1-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.1-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_libecm-10.6.1-cp313-cp313-macosx_13_0_x86_64.whl (720.1 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_libecm-10.6.1-cp312-cp312-macosx_13_0_x86_64.whl (720.9 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_libecm-10.6.1-cp311-cp311-macosx_13_0_x86_64.whl (720.7 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: passagemath_libecm-10.6.1.tar.gz
  • Upload date:
  • Size: 15.9 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.1.tar.gz
Algorithm Hash digest
SHA256 3debbec45a8b9ca16e96e6563bce1ecc6796f12016be5c45180b00c2056b7a27
MD5 8e2241ffa343574955fe1b596862f86d
BLAKE2b-256 18cd239c27bb25bd6c43b6768ee243c075b0b84a0477b086765faf619b153744

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 30fbaca08ca4fcde54eb2b86c3893378ffcf24c227d6a7a0329eae2ec6ee0e10
MD5 3fe343d4499ebcd29feb71cd5093e48a
BLAKE2b-256 5c0b0939bb6d82a59b555d8ada303abcffefdf6d31032ec8306d7ee85b1b3bef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 936df4871bbdda74d4b07c55cf111934f12aa92f0d1b7adba776492f6b7066bc
MD5 50c570aeff167e44ad0b1bcf97f7101f
BLAKE2b-256 9979ce9208ed47b06c0c06565fd150b643833a9a07cd12c9bac6b5af6435e2ef

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1-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.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dbff2224260d1fc5c0c64c45acd441bbe971ad0c6eaf975d01aa32839318589a
MD5 0fd2706d2e09355f7cd989c8f2fc256c
BLAKE2b-256 32d37db84e88ad08a492699f063f2ec5db274eb18f2500253b91d3338135cf0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ad223fba860e11fcce05ead82d734a714021e162a560b3ded1dfc5ba944736b3
MD5 5eb1c8d95911e20dcff5e0565db65225
BLAKE2b-256 a9906814f68edecd43625134fe2812e57780b62986f482c1ca71408d909fcfb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 446df460cf3ff2e4da4dc8d2bece39056afd11a3e98121f8da40f31a65bb6a91
MD5 68cf9b11398f4414dcd9b475749fde72
BLAKE2b-256 8ce6e3952ebcb43cc4ae70cfeb08855040f7ee1ad53943a26973893359dfc84e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 538dc6e7be3129a9151a96cde34b84de91dc1dbb70235d9d5086b7eb4673fb98
MD5 140d391f934931a819dca37f785c87fd
BLAKE2b-256 889bc21a3f1b369212006cdedabd56daeb3191a2019fc1371bd80075df78da6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 83dfab989793370b11738c918ab30d05a0160a32c2388ca40fe684d390ccd0b8
MD5 c4cd8c742124af566ca590849359885d
BLAKE2b-256 582bf28b61be3d9279a326a15b7d2589ca8d928143734d43ac93fd5e97c49e81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a5eb794a990f1aa43ab184d372bc8ebd4383b679cac6cddca33a91e9f9fa3ac3
MD5 3a27529212c5e0c12fd42bf1e192f74b
BLAKE2b-256 37881e4b79c4d37b09987b0d319f44e1233a8097d1dc7dd38fe7a444c5fe4ce4

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1-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.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5433a50a9e61dcfe2cdc045d378100ed31c0fb8880e4a8f467d08fad96e3f28c
MD5 7c75fa75b49893a6283b6a7cd6c2a5cf
BLAKE2b-256 e3a4cc302ce96272a1b965527960589cc18832b3408002900ee7d1a5915b9d13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9dc81433b4853def8f01504d0af214f72e48052c56402cfc8db9f8d5732a97c0
MD5 dd54fd5467aecff6f8aac68e847583b8
BLAKE2b-256 3910d89875697a3de72299633442c4ee0160fca4ce1e703420634f37b633ced4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9b1224904405d725f8ee0862ec90b7a8f612f9cae70bfc9c60bbd92697f3fc52
MD5 3db51c6f76ab2474dffc2277d932af34
BLAKE2b-256 abf74e07f791054f766e8d5591ba3dece91be420870d6c99a0eebc5b1af78422

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 22aa13c74b0ceba6aebd8560af7e701cb880bf136b7539698750a8c095ec6a13
MD5 8a41dafbc36273e2a6460f280cb59fb2
BLAKE2b-256 2a74f03f7de77da73ef30ff5fa753711a8a59d669d211133bd148197d94855b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e895f49a672fcf75e8921fb3a07f6bb78d1cc1e89cfc8ce7a33c323cf3f009c7
MD5 085d3fc343cc577a61df7abf5e7a7f01
BLAKE2b-256 f22588bc2dc56da14c88f80b6475a2e65a10e648d5d37c517136cde634bb97b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8e6279db27857fe011ab1256d8304092898e1680b45b8e94dc762aeeef402d3b
MD5 e7a1e1259652b1d0f9859fae4546e96e
BLAKE2b-256 5f586d2440778754157c5e562ceae8c86c1e59959b363a5705340633a4229d48

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1-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.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6784c2da476435eec520f97c1fc201b9d17222298ad1329101f8d96c2011b94c
MD5 be1d2fea4a0901b9d776253e2b26fb7b
BLAKE2b-256 e1c4486371c9dc6832fdbaced3183fe8130ac33c12c885b1d3fab20ea2a1e766

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d5cc0431c1c8ff15366f53df7518a7e25b2bb961efe44f2742b5be91a832378c
MD5 c1c61bc0911abd24881d75b4238eead0
BLAKE2b-256 00eaec37a8eebaa72ddb8ef01ed72f213e8ea51ccbef94032c60c13d50acee30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4bedefeb40f87f41cfc4e0166a26af5d3272f25837bba39fa82d531245f5f0ea
MD5 795b738accde4ac59d722195cfd479b9
BLAKE2b-256 5219f6ec31140fb1b2536307d82d0bd4c3524604cb3db384f20853aa051377cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 933a465f2f1595e8b5b7050a5011128b7b02aa0a8ea0c719ef8392fbfdb46ed5
MD5 8f4fabe937ffe0af4702bd7a1bdb1d14
BLAKE2b-256 c56376f53c6eca6c1e7da50b340a3075ae13ea3e8b5a4034441045976302e2f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 743f5a9f9aaddbd6e7a742002ffb9fb2ec563d79657d2d44a255a450635085d9
MD5 4eff3462a6ad4920c071ec1ced52b1c8
BLAKE2b-256 c4e11fb06c9973f57456dcc96021740eec039b1703fc33b038e57a6882c78841

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f154bfda4756c73844607b5f900d98c70b78b5cca07b4432719d6cabcbdbc4e7
MD5 d7062585268d61cd30fc0c41485755a1
BLAKE2b-256 8169f92a54c70eea17aaf24728f5782964918948cc426204e66a2e3cb6931740

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.1-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.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 62753c01cb58d3c0095f08eca4d136abc031e2d2fc307d9de50222f031a3fc47
MD5 bd48bef7d5a75456f31cce96b672afaf
BLAKE2b-256 da3c0bb796217c9616da7e953ef76f84319d43e654c3b26c3aec0260f6053663

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b31be9edaac9db15061ffa54817d63c2f0afbc63cc101374a206094977bbef32
MD5 f3e90702cfcd3f99edda3277a0eb9ee5
BLAKE2b-256 bcf6d364f8457aad279e699fc954faff853669ae840242053f3b5126b638465e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8507a5232f9bf873a4fd560e1a382cd1e3807b8fc934212a710de42ea2ea624f
MD5 c11169c283423ffa6449009fb540b209
BLAKE2b-256 89921474543641dc591171de95af3b86b42a498524e7c95720940954c0ef1569

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.1-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3eb23e18e19bd01a2d49453a6d6a9c963e9e713c46e8bc055c71139a3f03397d
MD5 22de6d463cddbe85e64f51b9a26fdfe3
BLAKE2b-256 5c46b1254cdc79158265dda78f1fd178534dbedeaff5488ba2967d5b2aa9769f

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