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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_libecm-10.6.18-cp313-cp313-macosx_13_0_x86_64.whl (719.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_libecm-10.6.18-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.18-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.18-cp312-cp312-macosx_14_0_arm64.whl (626.3 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_libecm-10.6.18-cp310-cp310-macosx_13_0_x86_64.whl (720.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: passagemath_libecm-10.6.18.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.18.tar.gz
Algorithm Hash digest
SHA256 2882f24bf51053b7ed8d6072bc55235aa2f80bef917887df65cc7003ffd19f84
MD5 bf9bf36d9084059c578ec6156ccd0f03
BLAKE2b-256 a86e7fbe111612061e6067e93b45e265e4e4a5677f8a6b6047375a9216e43c77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.18-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b69446ef1b9b6dca7a9c872b0f8f70be79fc708316e5ca6c7f4085b7cbdf45c0
MD5 e5806cd0b33bc9b8570fdef561e31bcd
BLAKE2b-256 0db8396d2fa421d1d15e9456b1e248a9fce7be8aef56dfa1d482554bbd7e8593

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.18-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4697a90034c06a2e6b97b632003482b0b9d08ec247e452728ed34125b3d809e7
MD5 283bad4772782300ca887f0c0ff4dad2
BLAKE2b-256 8e0140530c1a2e94a09bdd999ff4779a6e4d00f9133025c2754cbf537a920b76

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.18-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.18-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ad8a01620b4ac78ac59c805334ceda8476eb6568510697ac2590a8a8cf1c8cb1
MD5 f993aed81aee23792104ff24c59ba427
BLAKE2b-256 1c2111020bd5ab16f50128c5149fa8ab9a7e52f9cf40b3e7d01f75fafff64b36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.18-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 27ffb816dd66421ee96a69375dda1270ea8c5b16add127e8460e7e7093d62986
MD5 15843998e883f279caa46c31bb018656
BLAKE2b-256 b83a476beafda33f5ebce2f87570b0f7a1bc65688d6135a173cc5cb507cfb65f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.18-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0a7c69c0ad87e089f49d50f718a47a20d730d4a1d6df74a37c4ae6fbb179eef9
MD5 fa88d7113917323817abff089be35f0d
BLAKE2b-256 378387797ef1159d56aff35170970498b7bff81393034caba187620e20f10fe6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.18-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6f09c62f75f5df87c358361f6cc1970e38ce783bcb38add91653235c69a8d3b1
MD5 d0ff95dd500e9fc95f50a5e07d815a6a
BLAKE2b-256 c43dde1a7c8f76190d9eb8c86efd6f0e77883030b9b084c43a49458e5a4dc544

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.18-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2bf603b679dcd3b1f0dad6d30a3c66c7e51a9402a3495f32fe7d3fa599d793c7
MD5 65c43a92a88bba2653291096fdc39558
BLAKE2b-256 db57d590df531aca2f331c35a95166144a7490d3779516771ca3cf2e02d96d0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.18-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 29699e58e0df822fe5d34b2bb891d3824bfad35eda89da0dc0f65c3ceea8e1a0
MD5 0d721d6ce6182f6c5155e16f6e8f81c6
BLAKE2b-256 7cd0f885c6f7e38fcafeda7c0b9dcacfc943d28616332df8af69c90d99813521

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.18-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.18-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 99b59ec1287ec03bcaf755c4f3f1d72c89b3442d6e9e0a57e415277fea0d7d21
MD5 b97cf442f3a09f3608e140d610bb16b1
BLAKE2b-256 7fccf14b44a2ef645576f3a29fe700a8a9e5f39a9a6d0af1e1a5a95fefece73f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.18-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4f1b37769ecdc894e96d6744b79a01102c94a348d333535c78ea6bbbffa581f3
MD5 ae065b8e6b6e803fbfeb021d05533750
BLAKE2b-256 6e5c218b06837a7b3770b93086ef7cdb0466b0b886dc862e75ab09bf1ead2f52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.18-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1d76b27f6e483795a7fc91736e9d75c0c3b2c8d587aba194b1623f8cc8e85fe3
MD5 a6794f45ea28dd478ee53ae0bf36411f
BLAKE2b-256 6322bd0909792c8f6c03e78d1a192c44ca2fcec851f0956b18cbe64219333c8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.18-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 903796852367aecad2ce3dfb0e8edf143c4edb4e78c481b15984e25dad7b5941
MD5 13c8ad2f1803050e3ee4e3162f37e442
BLAKE2b-256 9c901cc4497cd0b828087964b1deddbab523b216200d1b715d3213eb7c6b74a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.18-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 52a5110bf73bf65f08637bd7a00365a11dad79aa5b5bde97e0fdf398f3c51dfd
MD5 3a6289d6e53897e2fd35f2a710503d5d
BLAKE2b-256 7722fe61e336bf3f017a81ab9fd03a5976e1b1c16f5cf8951948a819130e1a3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.18-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a5d23d65ee6b63f629902458a467682fa8d5c75d48d688aba85bfc928195ba3e
MD5 35be7eb855fbc97763b59a5792fb9479
BLAKE2b-256 7001ab6c942320141eb516ff9e08ee6dda2a67a27684ea2ba99d6c2856d2ca07

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.18-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.18-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 db044c5af122f3801bd494945ca2d0c25dc20c638b9e3784b4715626b21b1066
MD5 4b07224ccb802b32217625bc25853e1e
BLAKE2b-256 4c2b258b2c90f4236387c8ea5effa9358755c0297bebc7f634d9456b78f9d31c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.18-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 20a9cd5979b900855e64e432d7c80c6b308da1ab9cec478b3d974d8e271c7838
MD5 0aa3ac2610ecd310cb9ccb1605ee7d7a
BLAKE2b-256 94de0c27f3e23c0221892f758e67d524772dc38a9b254b48ba25c6e9246b5e69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.18-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 197df084097490df9f621a3ab0b9877b33ccbe0a20359d4897ee3acde9a2db00
MD5 5f46eb14791c3a60f4d186c99b78506b
BLAKE2b-256 42d6c286b0b23844878a60e005c6b962e9f567ec8535bf95577f1a6e6c532a0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.18-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8026c1066c5b0a9c3f7160666c57f78b5cab1a9975538628257b78a74564592c
MD5 b1dbf4fcae640c2bd0f5873c3a358b67
BLAKE2b-256 c50129ca3ee6f509904993ee689f9689af6d3597a3c90db30c4512326055a134

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.18-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 911a1e90aae484e42ca897d8d4d8e03c74183ce71d24a5a804215c16a7cf02a4
MD5 21514ded0c944ffee42be52af40a3516
BLAKE2b-256 3d3c74c190d462148fb6228f7790da8b58553e03b2b12ce66668555bddf1b6ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.18-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 fb32c8319162350a080f941217d0060230e9f73b1e12d4f67d5d341b526c3226
MD5 e5e032e9787d3230bb183d4d24246b5c
BLAKE2b-256 6ff8d8f5b8cbd8130dbd275eebabdd70b3b931d55f52374f2c6c9cf70312ff4e

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.18-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.18-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c4eb8ef7de93f5457c03597243574fb771ac97ea62580d634f2654b3a165da3d
MD5 13761643cf04868fb5fe9d2524f5a520
BLAKE2b-256 1e338938368224d5dfb37daefc2d822c8762e0300e0055cdf76d93e25e385ea7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.18-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 583a33f7ef4a3cb0520e48c52a3847d651680868333bfdc946a9d62c16b32711
MD5 0a9d56aa918325a8959b88f9a8a37f2e
BLAKE2b-256 46b0bd9251f187ea3ba44bb7d91c6aee4302af87c0addb7b8b64da30b1add6ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.18-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 71da64c1187f80230a12f29dd7db41a227cd53e496c9736aed848f85c83d40c0
MD5 e8dcddb1092c895cbff7a12c84d65563
BLAKE2b-256 d150e79e6b0e1d8c96df85ab5d246e7609fd598443a219d750c7afad6fbeb533

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.18-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 126d4c710e036f7c554f99990068503c6eaed6546889bf1b29c81a3f4d11518a
MD5 286568994298afcbd4ccc09626032343
BLAKE2b-256 71f97285fcc9cead00c524715e0b17d1cb2e143ebdbfc331be9c76f3902fb327

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