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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_libecm-10.6.27-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.27.tar.gz.

File metadata

  • Download URL: passagemath_libecm-10.6.27.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.27.tar.gz
Algorithm Hash digest
SHA256 714019c70068e57a53bce5b9cef31b20c0ae9e5761ff9e5299e3ef01b04dd32b
MD5 64eb6ed8423896231d189f25b6b97f34
BLAKE2b-256 504d1570bf573ae5e52e3bbd32b36a5e0a3e112cb3d9a0225bbb568b0bcd39bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.27-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d2648adc775f9b2d09fc75152596b315355acc0beb29866e3581fde5d657b3bd
MD5 7837076311ac8ab6bfc2b3ef5dc6f7e8
BLAKE2b-256 b419f64962dde17bd19e9c1e024112effd88548865fb7feb7a17b19fbca0a3b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.27-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 32604dd6d76920b339da379ca1ace49f3575fdf3e8d250f3da2982625908d3a0
MD5 fd8251814e8210febb1aa014d69e6a2a
BLAKE2b-256 522a10581662f2022ca316af188055bad49a3d59bb01e628c0a06c82ed26f9e2

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.27-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.27-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 edca722d3706739de1549d7784ec5ea8007ea3e0648eaa33d1357d080df48040
MD5 82e112a109b7cb08c99c0b7ed472f825
BLAKE2b-256 feb7f2b85cf4f7e933cf56095a488b397fc15653d12ffe0acd64dabb2540234e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.27-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e01a5b674ed67f8d3b2322c2b4020c88fbe9bb142b92479d284cb675dee3b169
MD5 56f74a6e6fb511695d088c125245b634
BLAKE2b-256 3a9698f1d13bd016b64017244b72c7d8d796c71367171e70016fc5b388c073b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.27-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9dca01d4f573e3aef854c48fb462441085b3760c701e4cd360fc373ff2fbcfd8
MD5 248171bf270a028171ee446c61f80931
BLAKE2b-256 0b4947c34bfc763b7dd9a35b7fbf028c88e994d0fe2b7a6372b2551d68c14ba8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.27-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3921744fcf7280320de897abf9f841a96699e459f6f6d71efe07c4315a08a5ec
MD5 4f369a22bae5602c44b25c0d45a79254
BLAKE2b-256 1742d8007a6895acf84df27b6b8c4c283d6b4f3e4a63bd424e73bf3b143098a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.27-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 31b316a6d4e145d7e07647d64fb5008b310f60c6b847595380ff073eb062c01b
MD5 459923abff7f8cb08c14809774e3fa6e
BLAKE2b-256 594d4a98577cccd5ce902abdb58359da9c184e98c1faeb84b8a53193afb5e152

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.27-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 81c8505cc93738e07ae1e6f8cbd61bcf6972a82e5ddddef7eb334a38795f55ba
MD5 e040c50d8b585672c94ec52b9834faf6
BLAKE2b-256 c6672e393032a71fca74c89d4125c3e522326dbbf925ea4329f2a5dd47b4d9ad

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.27-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.27-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bd1328af093fd1562e8b10575a48148522b67d69135793bc919c48cde0acc92a
MD5 e1aecc5c0e716b4074a9b89530c5a4f7
BLAKE2b-256 bfb518056a3ae35b8a2e9d0bccc12620076a35ba0e176b64436296d3a7e0a579

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.27-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 aad2575433b9639a2d16b54bef5e5378db0d0ca5bfc07f48485abdbce32a160e
MD5 3cba0a087804a68d34e65893bd8eb3c7
BLAKE2b-256 3ba95373c255a30b08fc18a7f4551db017814310c7656ea7f54e8667d673c328

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.27-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b863e04f8474cdc8402223fec65baa323d7a7e39abbfce9d2960f6f8d1d9eb77
MD5 6a78704dfda0e47ff63a21682cdaaa65
BLAKE2b-256 6170a1ae690e27a224b09940786911396ac6b9aee69b8b8af445f60a824596c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.27-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cd85413969d4ed17e860efb223f969346f42ea80678ff0ca9c3fd58ade16b047
MD5 90c8ecda38f565ef935cc201f536439c
BLAKE2b-256 45e78d92310ea05330a6afe41ef5adaf063c3f1e907dec1116d0d759efda3731

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.27-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9c25ee617c4bd78be7e6f7daf3d830d52af5f937f83bf6fc7889761c591f137a
MD5 fb686e41912dedb1e7020f7b456cd147
BLAKE2b-256 4585f98dc9b8e08c03e736a90fab50b9902ef773b728540e63a9dc89b74bd7bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.27-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 190d5bf5297949fb61693760db0e6a1880f1328f504ef174b9cb7b93fe1c16eb
MD5 e2898d206fea858879b62b41c62eead2
BLAKE2b-256 2c95e8acd42d05406e6682618f4db8846dfefe9bb83beedacc71b57a94e54d82

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.27-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.27-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a9bbda2da2e49c11a6b746c16d759d0577f7538987d6476dc78f2adb1a38b2bb
MD5 484976dbec1761e60068ee96151f7271
BLAKE2b-256 60f515bb0315bc6a7ea6a463eb0d1cf33b912ba3e4688d0fd495a5f0b17093df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.27-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bd9dac4ad266e22a841bf172011ff12a60e15222582215bc9b96792ddd66bf7f
MD5 10f02c7d1a3ad088775c8c03cfcdd124
BLAKE2b-256 de0e68d30fe6d39fc9a4953f4f7702bd90db6bedadc465d58ec179efa1f7a3c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.27-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9c26acdbda488f98063d66b5b862f3a8ecf13ce51ee77530857329517e1128ed
MD5 7b56a886326746efaf1a2e3747c7d102
BLAKE2b-256 cb3b6a20bde548e9627fb152f448014afd2235a684f357509f693241ba0064f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.27-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8e876b4622f51fc42fda6759372def15812ac646aab5efb12f856765a124813b
MD5 aee8044324a445ebd422886e20fb1d30
BLAKE2b-256 c132d7d9e89da80c85a1fb167b60cd2f60d00c5b89fd318881f6ae678b7fdda1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.27-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 34fcab969d5d4b8160b5ff0823476f3f50b5f0389a0ad019fa19fce801ab9418
MD5 8211240e47e18c7dc3f66acae8f63128
BLAKE2b-256 f02def5e73cbbc037a2658c4afa9490c535219e062ca59cb9afdb2882c20eb9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.27-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 73f6cae554eb72df03541acbd8dd55750fbb224d4025fca4c43439f1ec781101
MD5 9c01f79198c1e5e948fa1a40536837ca
BLAKE2b-256 b11f370b93956dcd9ff1f969d25223b847c7fc644b36c30a57ea2e21efcdf72f

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.27-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.27-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2212c554ae790542da6a590da2c19adf777f3307bf85856b8bd43587dfef8e83
MD5 de22a0c2081120174b201d5d56394946
BLAKE2b-256 179319fed4c16f1636612eb53f7b9a7b8fd715f5293715849b9a8ba276b52dc4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.27-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 796feff556f0ed874cbfb891ca7628fd3b2a78329c8611975abb7f2447998407
MD5 3c3de8d8eb19c78d61982d29c5735b02
BLAKE2b-256 52955a216c6989d8ef052a39bb2a8f8d07840369c4f0248b844b42dd04f81bdc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.27-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f8b9c2948f05f23541c345e528eb356124afad85243b9aae89731a3912200458
MD5 9798fd0d8d9dbdea595350abdefd8a03
BLAKE2b-256 e63f243a416abb12c49a54b847e252d47cb356d80fc1a2f02cbd06f05b991311

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.27-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 64e49cefe65e93f78aec4f68e8b07b97fa4efd0ff89d97896e6eb0d1475e56da
MD5 6bbde88de83dd896031c371be4f36d55
BLAKE2b-256 ac83fe7374b67522395f66e8347971880b0929f1efaf5be7e060fd96deed0cd6

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