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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_libecm-10.6.13-cp312-cp312-macosx_13_0_x86_64.whl (720.7 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_libecm-10.6.13-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.13.tar.gz.

File metadata

  • Download URL: passagemath_libecm-10.6.13.tar.gz
  • Upload date:
  • Size: 15.7 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.13.tar.gz
Algorithm Hash digest
SHA256 598322541423f2105030ef1f13ec305831354fa11fd4d94ce2aae0fe84478529
MD5 5e5ea4b63b1ffd266ccfde568bee877c
BLAKE2b-256 aefde65aef559343cbe1f5c96ebd35389038f34026d330a87cfcc8d03f2c6586

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.13-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2c7a7586e96fd6a382311059d0cbfbb72c84d78e27e60fcfb072d788296f593b
MD5 47d44d06242d13e78e32473ef9b24402
BLAKE2b-256 7421fd9e146ad027a5e7c9319f78246b14f56360d7b880ba813c721bde03c20b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.13-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 902067a7988875046c31de77c3436c64f572aea4f57345c9b64386289b538f0d
MD5 9d796bdeed6f18dceec116b5f326a09d
BLAKE2b-256 002105bdb517f945e895ce4679f5780e41f2a3aefa6eea88ba0924fecad24fd2

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.13-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.13-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 05377d39a1b6ee22b472c01a304962c42711038eafd39fda9da1a112834f63de
MD5 8a033357ccc68e570306b044a4826c5b
BLAKE2b-256 4b8e35b27dd0bfbbd14bad859438d37c4331738fd1c451a2ab6e2c67a89b25e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.13-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a6100874e12bf75860eea2504a2ce52418824390634e31e0b2aef799c3360234
MD5 8225a80ac2c1724f10d6a312c259374a
BLAKE2b-256 d039e58a13be715c5f6d17ca3a852c1d04e954d4f683a5f127446bc1ffc11346

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.13-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f95cc6b9a9c2e7383844250258af93e0165f55b24faab14215026409cc69ec97
MD5 07b97bbb16969ba2a2e6e935af48e3ba
BLAKE2b-256 15cda7504632693af75ad2a32e80f580e81afb934cf25bd1437b31922420b0be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.13-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3f393158365c2afd92e64b03b877b4d6e17f935c0b5247ea398146bdaf51bdae
MD5 563a6b592748066857347ef3dc991491
BLAKE2b-256 71b2ddf13106a30fc246941de3356b18e70bdb0da60962359bc8212fbd150a53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.13-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c2a419b6af194e9126021bd3c7c3fc1b6f46dd89faf68207c52bceec2745b96b
MD5 ae9e6d001f9d425be6fb875b5b73fb16
BLAKE2b-256 d692a3738e972059628af84e51cc784344dbfa1ea7ff0a5c1bc705bed411d6b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.13-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 90edfe59f70f643eacefba2aec408092f9347169cd268d7471e06f0edc24d0d6
MD5 5a8f1e5bd7574617df1819843e430410
BLAKE2b-256 ecb567d9dbea6a0a1660ff44d50bcbc91793c781ba1f94d37bd2e1a0626976d7

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.13-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.13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 85653cc466ff5cd95a0b34b898a9474f80a3c4b89160db220974fa6204df36e4
MD5 6d479751b7669dc7b35e8f2b573d2524
BLAKE2b-256 17fbf4ecb838f07f783a991b91f31398653b45a709114adf42e848914801b42b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.13-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ef5c07710fba92ab6b3605687ff025ce3a6b03f68760d0d8246302d17aad7792
MD5 58bd51e8a933c4bc3f22d372624bffd8
BLAKE2b-256 7a358e45ad0101d0d1a0e7d8930694c5d1be53115586664cbb8274f592a3591a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.13-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f80034576bb4eb450894dc777dde449c73182a32642875b170bf4cd9e6290e8a
MD5 2cc62939790539a58803c4585024aa7c
BLAKE2b-256 cf33a6b0c484e1324c2d050ff00c90b83209812f6fb8e42c6cd5e4a0144c6e16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.13-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f11524fd4add838e1f4b255d3287af8422ce0ac360fe280b12bcc76805187508
MD5 2faf757bbf6355cd8a2e8172fcfcb3a4
BLAKE2b-256 b6315815c539c8fadd8d80a9f95719289bab766f480cba2edc53dba5cb9995d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.13-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8b8af528d4d5e64901e3cbdd5c6ff7dfd626a53b4ec9c47815a30b901c189bbb
MD5 06d817a6aea40d753454b871ce8c7057
BLAKE2b-256 551f22258319aa8f258a8ecfbf6e422c2696ada73c4083d200e6cfc2f5e50193

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.13-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5f45d14bef5555d8c4a775d3a33b3db31fe4512fea012d7dfcec24e81757d530
MD5 6a5d5ae97812f52eb11c73db6de181d7
BLAKE2b-256 703070b4a51b300511f19c52433391340b9b3bbb81ed26a0cd47ae178d243027

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.13-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.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 35db817cf050f81e689cb64a5c9894efe01fd151b267578b172a212e0dfab4e5
MD5 08f60eafc72a61672bfe9da6a3451644
BLAKE2b-256 3db9c65c453f4c6a333f4eee38e3f33a67ef3088d0680ff8c5209ff6608b4721

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.13-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 323362e0036c4a9191e23c8dbc7e48760a4027b3f75d4d77d13e82f9948b7346
MD5 5c3fcbee41b05348dd7da3aec43fdbe2
BLAKE2b-256 4573655f74802f5318c15d381d6e2db85bb00e3e2e1645409a5945ec47c6080e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.13-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c0e3d58dd841885a8c50d090c94b67658ab37a00cdc29f52de636a5e519a2221
MD5 fa9d578f895fc5ec6afc3956496883c3
BLAKE2b-256 8aa6a62d62fdb475317ab5898c826d88ebcb60d4d9717b740ebe8ea3f838446f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.13-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 616a95c4e071490706e0d9d205d6b5277d2e2d0b271368ecd830625a2d449789
MD5 d2fa013b6cfc054714049ed2b5a089ec
BLAKE2b-256 be58a00ce928da00f711fb40c19a9eda9cf3d32f78c1b0c629eb9bb581ecdd42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.13-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 039d39e1cd7ec2a15f8ad098f7584d029f5e0a6f1ac2902567292a675621197d
MD5 5b7fb81d06133a046a372d3d70687769
BLAKE2b-256 f1fc4f7f3a65ef54b7ff74e0915f882a1bb5d1f0e326391ae044dcecfd9bc962

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.13-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 06e8346d278632d696db9be77a86e8bb9d37b5047f8513341975da211e566e6f
MD5 f1637dbd1f39dbc4385054d321fde968
BLAKE2b-256 8d2d40d3965740a2ac19b0ad4daf57323765490da6bed641876546e8524e3a15

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.13-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.13-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 580e16dc72ebce67696cf2be14c19e54554f4336b8e3dd147d7c6acf107a3da6
MD5 3c2b4756f3257b9d26e1305b027c9a19
BLAKE2b-256 3b5bc13bc463a139c2c7a7ade2387e06b0f8a31bf7bf1242c1174667cf663d84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.13-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7a470be0fe744ade87ba2c77235338ebf01f0f59dfd1340f3d212b887356f0d5
MD5 a254d8fc69e8af28f64a614328d9c5e3
BLAKE2b-256 ab532ed6bed4aa65a29abc4044fe46eb488af04baaa562091c30fb2909455aa0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.13-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b99bee7050a2f1943add3c7c555f5aae38747e6f197d1a8e6a04f9381063e233
MD5 e4e125fdcd97d2c24a3f2f7d18690e63
BLAKE2b-256 888293b11e97c338b57e905d74b1422d25fe98cdbdd7be88ed049eb41ab9e374

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.13-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3a02eb881fe1baada0c39d74fdb340af51dac37a0a01f7402923600e1831cb99
MD5 565e4790dc0c50ae672063b3f64fc7bf
BLAKE2b-256 c9ce4eeb6e43c97c78ef376cb341c8d71ac64e12f094128e8c251da562ca95b7

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