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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_libecm-10.6.16-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.16.tar.gz.

File metadata

  • Download URL: passagemath_libecm-10.6.16.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.16.tar.gz
Algorithm Hash digest
SHA256 99c226e99ce1a021a736437a00c794d315d1309d410ca635ea7aadefc470388f
MD5 7ed57eb3d71285727b9f99e6f37e8120
BLAKE2b-256 a6338509c87f1a317509739e1181ebc26a32fc17fb69c37f1c56d7b9e518a0a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.16-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 30011fbc9e15230d2be7155780cfaf6d53435f01a46abb25017a1d112976290c
MD5 f04fe3c90250375871ce7ebd24f59c4e
BLAKE2b-256 748088abbce37d9df118c319f9b4e2c468cc708a755b5f0c873260f4b572d7b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.16-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 794a45189f8e3a17e998db8fd9c1933c67943d9b27923d87d4220a7b5e1268c0
MD5 6579206f8f8b706797063134c5044c7d
BLAKE2b-256 0324a80f339ee22896831569f940bb888ed1a7d82d51391bf16b51939cba92bd

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.16-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.16-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4a969bf39dc2454dbb055551807bc8bf219c415e9eab71cedb654c06a1ffbf18
MD5 621efebe58732eb1ab5e6547dfea09fa
BLAKE2b-256 3b2675a1e94931c3dea5da1cbad5856fb54c86caf0db4555dbec1aed3007f842

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.16-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bdb60c32b9cc6489e97505cf867345479b67aa46fba77f5221a40c507057eb52
MD5 448f30d25995290b673629456b94e62e
BLAKE2b-256 8fab0397e4daf57a88cb415a0c8c31bfd9cd5d0cce76ad81e4da26d66e71d410

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.16-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 73a9c407dd9837bcdbb80292467dd9b451db2598e81fa00646caa8880c1bab88
MD5 f9e4795ab8ebd62bf9f2e642fa80dd8c
BLAKE2b-256 0b02462d17efb723616517cd903e82e2d051629ec751252a04535f065ac7728e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.16-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3419d9b4a851854192487a8512377d2cbb1b9325bfed1b4a0f5e54cf38100f90
MD5 f1596de41dd97197a175dd0d5d844137
BLAKE2b-256 b36dfa35dfd89cf455df99658aaadc298f9d95e5f0ab232cd0bd7e12265b1867

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.16-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e16667fbd4d9f59d5050555494aae9128f8298f5014ddc7d2d05f071a1a0c279
MD5 359e13db6bf24fdd3994b2b21ecbc97e
BLAKE2b-256 18925b8b55aef558523be2840812a4e6c253e59f3e9eefc6fb199028ff3ccb9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.16-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7b77f5bf45ba13d17ccb51bf18a785ae7295d5c22dd16d5a5b4e89b315535588
MD5 90a375186a403b7d48d7ea3fb8782764
BLAKE2b-256 23f8c25726f45243d042e02d7597ffdc6434ee8f9453a4ddd9d8e5c64b4ea9ac

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.16-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.16-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 61b47a02ff69bd00a53ecddc42b3bf8464f0c4b4ef6496623a841bec7fbe5782
MD5 00cf32880902af74e514092f0a34e05e
BLAKE2b-256 2d151a6c73d1f8ae2af1109bd6eb859b6b59fc4cd230259c4af62ceab28c3f46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.16-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 34bffa3d940a51e666d0626b589fc92dce478adf5535da0f7d6724515a33dd6b
MD5 f7c7d0847151faf108081e7346e629b8
BLAKE2b-256 81f002d616449fa132050635e0ad5e6d3d3d827deb9bd5b5869ae50348b08911

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.16-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7a13569548dd0d9f34bae119488e937c3070b2160f63fab5b7fbec6c2cc0a3b3
MD5 bb6f34e261de27c51177142e42883c88
BLAKE2b-256 55da00fcdef8f8959f4b90a2950b95fb8e2f2abba71b2e484d8bddacb788985d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.16-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f5c3906bc47909b101ea512f2eeb5206f5dc206b77d9aa1965314933cf802173
MD5 733b842dfdaecf80de21d1a336159320
BLAKE2b-256 bc4ff16c0ff95e97372c909e00eb72080c90cd168dd5ef5c2d14c4c93036354f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.16-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fd7180220295a0da3bf94b1cf388aa67b3a6b98e660d513a36ffb752072dbb6e
MD5 be3f56696e3ddc33e3c22abfaaf4a935
BLAKE2b-256 9b9d6615fe043f541360217e77f6b6b37427845042c5afb531c5613412919df6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.16-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8069ea301ce1f4d405850b5e58cf7ead73d29419d988a24184872d735345c373
MD5 a391114527d56d7e7d0a639b5acaea70
BLAKE2b-256 a3875b937028220cc7b7946937c73d6deb2b0bdcfaee6f440a23d4b6ae8c7e65

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.16-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.16-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 45252f4b25fe0ddd2b8ddc5209f8ca6660824d3ca57c73fb7568a065e8b47cb4
MD5 d4425b2a272acfad221b905deeee1a8e
BLAKE2b-256 6c12f78ae21d39f20003d081d98cae960dcfd11ed66fbbd40756112d8c28234e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.16-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ee7373902619b14ffd725631354f3e8c946e1c01ca2217e25f6026fde0ba943e
MD5 53e92b2759b4721edcfed4f82abe6174
BLAKE2b-256 b61b72f6f235a3dbf5ed25dfbb2097086c6ced6805cc40dbdfaeec7bd337ad57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.16-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a292eb5c030549815fd6a2e8db9ce4c9f91ce5c88a3866d4c871ca9b7f64fd3b
MD5 a0854d40182593dc532a4821c9f01c7b
BLAKE2b-256 35639d9983c4f220276c247e61f9640bae2d5c5924283e5160e717eea14673f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.16-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 aea6c3e27eb4be6789e471312027c60b17eaedefa8c512755077dca629131aef
MD5 de2393fffbd3e45f9ad639b161a85f7a
BLAKE2b-256 c735f0b1edca355ae4216ca755886afa472346af13cce55865c43f6a8586d45b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.16-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7bd766c1dfc11e5cfaf8b16f6800f2996e7d8136aa633feb3c773cf726f5153f
MD5 c1053e35285bc918c6fe3466e881c3b3
BLAKE2b-256 e14f635c739527b3e5f47250a1e42568648b431ffa04587be0cc1947c7d28745

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.16-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2cb7e1e07d587b81fc5af54b60a82c13af97cf895cd0c8e8f2db40d8fdf176ad
MD5 616ba7554a65acd00a33a054382aabe4
BLAKE2b-256 5d24c355aa5241663d284e0ad1455649166ac3e0f1e853ddf4b992000adc7d4a

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.16-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.16-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6e1c524ffba3059015b6f620cb15cedccce834ee70bb0f4a2626e1201aaa754e
MD5 f0a217732b7ab37cc3d1da89d349a99e
BLAKE2b-256 b700808750c8d1df3c82e309257fde08ee58d7e4f811b1023c84b15c4c2805dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.16-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f615e720423f1dce592e02b1ae3b8d44b23e9243743fd78b7cc974587dd87062
MD5 8b8a294ce6101af9e833ce20ee715f8f
BLAKE2b-256 4c6dec5a4e73502104d7b7f23e892581b7bc16cda68bc8190b1d1524e1df400c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.16-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1071136f4d5488a446680c020e0c714e625ecae5a013ed84d9ee606eedf757b8
MD5 9444e4b6435146d3ac96d3a7eabfd229
BLAKE2b-256 170b63f59656032406819e6e11442e13072092af5960f6159871683c3384922d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.16-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cc05e56aec8c7c66f07773895a9b5dcd15d35e120e52c2cfced484139a05958b
MD5 3088b88077d4a52cf34f9c73e53b1adc
BLAKE2b-256 5ff0cb0145bed1ff4ebd2eeeb479c29515a2275a60fafb3e5557e2caf2edcdd2

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