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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_libecm-10.6.2-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.2.tar.gz.

File metadata

  • Download URL: passagemath_libecm-10.6.2.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.2.tar.gz
Algorithm Hash digest
SHA256 21695b997455ef87720368ff39db65854b40c562b054bfdc46302d885abe93e4
MD5 37088af73b2de5b520cde876ebf92b2a
BLAKE2b-256 695f7a57a93a38c3f8a57fbb488a4e7703850ff3708ef7aedfa63ac450f200cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.2-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0c84ee7d4f229eb2f33057975473ef39cd8349d2e9dec7acdb8d2f344a80118d
MD5 b6d184358c2ca1a2d625de000679063c
BLAKE2b-256 0fb9f43121c80f71f8172e04c5c73cc0baebb9e2fe7291a435760df273c473ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.2-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b8290bc320791f5900d58760a7ac964fce986a8c9b62ee07900e7eff24a5ce16
MD5 4f7747568d0a4c84f61afd6b6368a381
BLAKE2b-256 7949b1496def8eba7a30de583761d02310a8a74959fb8056ef06685c76b5fd4b

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.2-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.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9b121d7e4af53cb71bbca19676af993a8e50881851537dfd7575a202ad1c9911
MD5 bfe730ef047bb7ffa4788fac84ddf805
BLAKE2b-256 a6553f7241aa9ded5e4db03ea29765d383ff0446d92c22e41c7926499d0b3c87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c574016f42b7bc14e5a1aa8b308eaaf5411ebc6d06889e22e441e40b5787f248
MD5 da668ece36bf3fd4b3adde01b34382ce
BLAKE2b-256 91df158e3b433c2ac05b78e9e5a5ca699e79e4ee7f78535b3df1be128c797784

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.2-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a31e05d3b7a8623159e574136b6387fc960b2264875cb17271c9600a8ca3701c
MD5 00c7091616bc9ef6750ca7452266faf3
BLAKE2b-256 6538ab84e11137ac45d9657a13bd972dac1d8387bdbefcc4e02f49318bfa1ac7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.2-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1919be3b701b8842e831db1b98d9527ca26e89df38e8f84db5ad37f09b156b38
MD5 a07fb776ffcdb6675937594cfb3080a5
BLAKE2b-256 c36607adfe02c721e10eaac96bf4f8bfcd75fdb9bd6ae042ec4b3de4fee96a2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.2-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2d619bbb0e46b63d00e18670668fd026813eed5341c8a143f94c5871219b812b
MD5 775b96415de513d5f0a11c3a9ddc5c64
BLAKE2b-256 713c9f033e5497ff78a491048f6e77a2e67d249e2c6c93914f0f3c89244e9f4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.2-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b87a5544c1a4898c6d83e8bd238ccc023c24bc8d743b78c53225a5ba245d8e8c
MD5 d38e53faefee269ff8083f74e202b1c6
BLAKE2b-256 4d138e61bae299c93536b56696a4912a6d2bb452ddf7f4732000f598ac8c7306

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.2-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.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6f591035766fa920a20810991a7280029f6a5167b6374f6e08e5a5b1e722ca9e
MD5 8169181150ca8ce43c6b4d063aa4be0b
BLAKE2b-256 44905c027d891da6338658643a10230f81e63f594422f873631d43b1b9d44304

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 272861c10a22e310fc93d07e4e8fd627e2fd120baef55411feebfe4e51762180
MD5 58fa3bbcff86ea1a39c817631e7b5af0
BLAKE2b-256 944a022b961ff09f1824b7e0b2fac70b19414b2123944a6870dde487bce2886e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.2-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3cbb09f1aab9ff1eed25cae370a3a10db34925b3bc19b492409c882d2907bcdc
MD5 31c29f3bc9cbece9118dacbd65ecc1d8
BLAKE2b-256 c6c6a56815b96e4f8a24321689fa77c3511dba516f28c165a62bc01c23bccb1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.2-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1eea66e41ac2283e315b3b779ca40061903e15d2f04fd3c0feb1e423214e5347
MD5 d0212eb63531eb664514fb379a83a8ab
BLAKE2b-256 ba954ba5617b6dc67de72989e848755bbd48c45b1ecd570b2dc1fa68dbb24b37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 534db09128ee7908b5b797b8409dbed734cc3597435e02b2cac5c5fd84ffd582
MD5 461dad524cddf02f9437504deee77c70
BLAKE2b-256 4da647e2554c34bc2db419fd7e7dab5ae9f03b45d03ca21d08797d65ce195708

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 92297a8eade2f7e404ec9621a88db649bb0c7156a3c5cfdbf9f577e64d8919c9
MD5 4bac90b31a5c368acf00036fc47aebaf
BLAKE2b-256 a815e36825466df7248c33b0a1ec97bd51c4feb64c1b56e81ae8f2df3e9a3157

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.2-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.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ba6230ee6042c88033926835526d9da4f29f0b44faf855cf2ac5c17821260e4d
MD5 4263ffcdba9979743bbdad35830d900d
BLAKE2b-256 f184fb2c69401d4d5c21d9478e93550b4a2a9fc96137b1b89754cb8e6ebe928e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 65bb2259133b70716acff8259c6cadb49effa0c39d3278806e014f7f78750782
MD5 208381d664781e1092f2c6249d25640a
BLAKE2b-256 952433c1cfa99f862fbc49f12eaf420b7b8c0d70298827f4ab9e4231201a70e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.2-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6302eb8a289b71c59f7572e9aad16d04dfebfc5adbf66dcf7b26204dd2ed6d8b
MD5 69654cc33ec13562870f5b2d0fd04a58
BLAKE2b-256 f0cc9d7d77eef74314aa93f8971f93b8198d11059a883160d897bb8e318d83d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e4e02bfd7de31d27fb91d466cfd642e6b3c3459afee711262e61fc7e6e2d20b6
MD5 fd3c54a89d85aef89d3fcf6035ed37c2
BLAKE2b-256 d311b705c68db20f0e6422a77a04681bb78a51aed76f3c1d9b7de2f8f0fe660d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.2-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c1ecff9fcec208eb9b013fdfc4cf0f5227739d80aab927082697efb7dcca3cb4
MD5 9f35b1be08638fba0e8f3e933327294d
BLAKE2b-256 57823d67ef5a880c28696efeda6712923d91009962e3286b8154d85869f15882

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.2-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 167c853ba7a3de7addd724d327d1c7cbce0938efdac7d6d21d04c39b59e09ded
MD5 766125e8002e7ddff777645dcad12069
BLAKE2b-256 baa6d4b18a03f8b93af3bd5ee408f430a4d72e4ad3f1eacf9bab00043cb68e5d

See more details on using hashes here.

File details

Details for the file passagemath_libecm-10.6.2-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.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ae89e4304f6a9a7cdf018993a76281c3e2f3b3ceacb7444acda2deb5042bcfa4
MD5 e7af37a9e5917575033459c7046b78cb
BLAKE2b-256 193da0a856f928c94ab23925998e5be6d75958b4e2d793037b30755dd8ea9621

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.2-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fae01c54e0787368d216a7b2721cb2b8800de8d52b80c6c57bb035a4a08cc7af
MD5 f2241efca07124319bc7805d7ffe21d2
BLAKE2b-256 79b95705a1853722372b89e4ef1b6ab2f8d67f6da8ad0be2a5902ab964671769

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.2-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8f4c555daf5da96046bc18847eae15001d76b1576175ff58e808da232efceccb
MD5 1d34f74d632b06056d2dd7d379fda37b
BLAKE2b-256 afac9920cc44c0ba168e2e93cbcb35cbf49c3c126870bc3f02d14565ee0ee1b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_libecm-10.6.2-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 036a1d38d417f8809b1bfcf5382cd73f1d6f9d68edb2ddbbdc268f815539c0ba
MD5 8e5cc4a71360a66fa144cc6e3172362e
BLAKE2b-256 442fd2f84b038cf2b52859b68be0b16b8508fb296103d2d4befd05f2ef6d5cbf

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