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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_libecm-10.6.8-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.8-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.8-cp313-cp313-macosx_14_0_arm64.whl (625.7 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_libecm-10.6.8-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.8-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.8-cp311-cp311-macosx_14_0_arm64.whl (626.3 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_libecm-10.6.8-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.8.tar.gz.

File metadata

  • Download URL: passagemath_libecm-10.6.8.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.8.tar.gz
Algorithm Hash digest
SHA256 cf22313afdac99529a494f5d7b02113afe778ae32a5ddad64b166320285e4019
MD5 04a4eb2182ace5533941b0ba92214d0a
BLAKE2b-256 237f637f71aab22c31c5ac95b0efbedd58a33509b44ee480da8cc864f5731ae8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.8-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 97378a041a59a42f499064a619370dc72d3c716bda86ec5dafc5b31fc9afc6f5
MD5 98679126b263cc471098b9334832667a
BLAKE2b-256 8cae6ae6cbaa6ec29040d7cb93ef42d04c47ff663c55eec4e8880af08b9ef084

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.8-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 141d3e0f8170ff1445743b756f13281ce10b89420ba1951b6bc4230c87d428d7
MD5 90f90f917748c8d8a6ae220173ecb198
BLAKE2b-256 2a6dbb4e4cb75f71c047ab831d8b8ab54a0cfebb10e5143509d70e48f1682397

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.8-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.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7f098e8d17551be09c8333faf5847325ddcacb5cec4113503e74eaef3ede7ce8
MD5 d63b4fc07cfb17e2c7c5194666839274
BLAKE2b-256 7f922ceb0b5bb32d875f69125a98a9c548e9eeafe796d492203359d807cbed66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.8-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a234f3d0209bdf4dcc301696c491218ee7673c7e860afa5ba0c9bce8cc62a99c
MD5 91713e2a67e5b446f809c4e1c375222f
BLAKE2b-256 b07233b375c72042769b6081526f588cea29ecd0aef12747cc36f46ad4504802

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.8-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fd9adc3b7300fe765ba99529dc925bdac72b6da9c77a70de474dee314af84d93
MD5 d90d49bc3f86b0000d0450263bd37da0
BLAKE2b-256 44b58bcec8a6bc204cfa93690fe90ce05c88275edd0807285c7b58ca5a7ae806

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.8-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 351b386a45fc9eec93d0c439716bb22e264aa4dbe419a69eb3efe6ae683126d3
MD5 173be7ca097932ba555bf28cb1b50318
BLAKE2b-256 0148b9a956a3f5f90d61c766593e3b54982ca6fbe7a5b69953441a23d77b8929

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.8-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b42a19df868fd5027714e67083bdf4f704519163bda3b185cb0d4660609a6fd9
MD5 7618b3850d53c22db3b760ef3735d08b
BLAKE2b-256 7fc341b0210678fa5bf6b614e59795338c6a415e31ddfabfeb41c28ab7537526

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.8-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f251560d5275f37c834a57ff5b4f4848f0f66ad58105224cfb11aa2b234d91aa
MD5 a4eb674572cc8b2a15af3bae005c8339
BLAKE2b-256 27431fe0b191bbc57debaf6aa9d4d79dcacf3597366246ab7d1adf7badd4d6f2

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.8-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.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bb25ac4b8d7f65fc1e7f2a1600e76a2c630cc68d6d0522389af00a35af19cadd
MD5 bee7d7014ddbf67c85106c609223b6b4
BLAKE2b-256 189928affc942cca8aa1015563fa46f25de11e699adc24a0fd69f8dd3b6f22e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.8-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 19bb25cbd1ec96b4800222c905ce484146617bf9af9fedc7a7c5230131a3d9c2
MD5 44f0d9d5d5ff72795b730c0b1b773096
BLAKE2b-256 5bfdbff37a8d6ff1c78236616e4afee0ff0cafb7717ab13eedfcff4a3a33747f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.8-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 120cb811fb8903e40a7325d399f625dd51c9eb726711642ed2a7990336a54485
MD5 a69082db0e28f784c72741a3f5a7f430
BLAKE2b-256 6923610293bbdec99ab7231c5e87da2539524343b9028c6e920385e46efbe399

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.8-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d574bb4c021060a89f6f94a4633933d99b3170ef7214a31bbecdf0ea43acaa1b
MD5 b072532ab23c8cafef5bf78e7c4be1ad
BLAKE2b-256 83ffd8a76cab4f184e9e894ba8f94957efcd09c1ea59ca7f12d34f0d36b5ebfa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.8-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7d7d9d47098d37cae4e68929a000891c9bd5d15d39a293071c36e87961734fc4
MD5 f6b4871843a9ce60859de0ad34f9c2e4
BLAKE2b-256 a35585cb122e29c428ed11894103696dc3e93572382b098fee692cab800d23ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.8-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 813ff0e018f2bdf6323278834138ab204f74df577409c8092a22364628965799
MD5 74800ba9d9f76c727a9b200371983c15
BLAKE2b-256 5923dfc6505dc679c29017b3fa2fa28532930f93b8d4f1e41c3bd2122b3785e9

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.8-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.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 61759de2c66454fe552f2eaded78391809af488099d37cb99e44123a55df80c8
MD5 5d150dda65ac3ef981aaba5f0243f4b3
BLAKE2b-256 b80f25e4a99081ab08568088b0dd65e605e9b909dc15e7e4694adf74bc06267c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.8-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6a0260355d9304a981fd0d6546b8c3f4d6ff80fc1a1552342f2305a368e4f324
MD5 ebd52e1f961096b54be47a1fa1c82a63
BLAKE2b-256 232004a86b407010fda579ca43f83673409656c266cb7d57d7afde6fd95fc7db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.8-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8a14feaafa6d7b0412bab3184d84156d63323fd25dacdd7244fa14bc5f39130d
MD5 240efb913bd728a7c93576a6b41e42d3
BLAKE2b-256 e19f3734268dfe02f3aa876679392863af8ad032d1485bf95930d7f811814412

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.8-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 241f47cd9560344ac6bfc362f7db374b1f2a56387a9a49015d496efe9460554e
MD5 68e23483183786018f6bc50db4bb80ef
BLAKE2b-256 cb9d462325cd6d9b70d1f7dea804f4eada6937be4d171bff183ab62d74fd026b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.8-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5d8d9f7e79991f875ec28a8f024a1a96c979be13b1e3a60e5e73fa2327c67907
MD5 13fbe676427cb328729b2b6051dd8967
BLAKE2b-256 ec95d7513594fbe2f28fe5a1d5c46545b506015c31bf156e84fdaaf8f9524ddc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.8-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7d2f3fb6adc003f5b80476865ba6916b5b43fe76ba1dde4d00d225f4d0125fb9
MD5 e7bb1e9c53c046218f5c9437ba91342b
BLAKE2b-256 4787f30625091a563d398f81df6177505db6bedb6f833389e929c48f986bf94a

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.8-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.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 060ecce6a5d0a26b5aa33bcb07ade2c38b5eca0fcf67eee61465986f922ffd6b
MD5 5c8ba42a52473bbef68d9071158c6ae3
BLAKE2b-256 cb4f528498ab26f367747175fd179c1c14de377424dc92c585e4f8f9f6c835c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.8-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2cb2ae484dd84e94a811cd233cd36d3bf384dae6930bf900e99f88cc71faa39e
MD5 74fb2c7f6440d94374804c0fdf4c5c9b
BLAKE2b-256 829c4113197e03d64fae676b23bc7b59f88decfb2378be1f8d5bde2331130548

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.8-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0e06b7502412c276d39681ccbdc76f2818ca4b7d18bdfccd6e2af2c4ff2160be
MD5 c7f0921c6290977e011b436279a0be6b
BLAKE2b-256 aa443be0f496fa50a8abc56404b9047dfd00fab2ad961315d2f47673c280776a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.8-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8d33a3928e8248f9fbad1cd61bd9cf695ecba4da81d39003d6ce35c8e301b4cc
MD5 69d462dfefaac3b137ecd4565a6039eb
BLAKE2b-256 5a5306db572010c26eade8842eeb3b3f0335a02bfc8de3fd17ec084db1be6894

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