Skip to main content

Prime number tools written in rust.

Project description

primetools

a prime number toolset for python, written in rust/PyO3

This project is currently in development. To install, run

pip install primetools
>>> import primetools
>>> primetools.get_primes_to(10)
[3, 5, 7]
>>> primetools.is_prime(42)
False
>>> primetools.is_prime(97)
True

More functionality coming soon (tm)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

primetools-0.0.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distributions

primetools-0.0.2-cp36-abi3-win_amd64.whl (102.6 kB view details)

Uploaded CPython 3.6+ Windows x86-64

primetools-0.0.2-cp36-abi3-manylinux_2_24_x86_64.whl (939.4 kB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.24+ x86-64

primetools-0.0.2-cp36-abi3-manylinux_2_24_armv7l.whl (942.5 kB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.24+ ARMv7l

primetools-0.0.2-cp36-abi3-macosx_11_0_arm64.whl (200.1 kB view details)

Uploaded CPython 3.6+ macOS 11.0+ ARM64

primetools-0.0.2-cp36-abi3-macosx_10_7_x86_64.whl (215.0 kB view details)

Uploaded CPython 3.6+ macOS 10.7+ x86-64

File details

Details for the file primetools-0.0.2.tar.gz.

File metadata

  • Download URL: primetools-0.0.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for primetools-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a662471c2a50501d8798a703381c827e1195abc3dd0df29ca3c6f90fe11b7b99
MD5 266d1c83e15930d612d49f97fd0608d7
BLAKE2b-256 86a08403c04f1c9f1fdb96ccd3d9fd373b5a90410621e9ed7fbeb80dbd4d6a61

See more details on using hashes here.

File details

Details for the file primetools-0.0.2-cp36-abi3-win_amd64.whl.

File metadata

  • Download URL: primetools-0.0.2-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 102.6 kB
  • Tags: CPython 3.6+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for primetools-0.0.2-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 61b49c50ce261383a494a61cbc34d8b982de4f10d57dbf12f56f7f6ad5de8a4a
MD5 59fd49debaaf2e4bcdc69c146b8b16ad
BLAKE2b-256 5288ea1768eb2ce326d5e2949422105b7a6410646521b540be7ec1e93b8575e7

See more details on using hashes here.

File details

Details for the file primetools-0.0.2-cp36-abi3-manylinux_2_24_x86_64.whl.

File metadata

  • Download URL: primetools-0.0.2-cp36-abi3-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 939.4 kB
  • Tags: CPython 3.6+, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for primetools-0.0.2-cp36-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 e75541ea30a389f2bab2cd93a9f19b267954b898b73cb11e71a64b4c51e45f35
MD5 f7a8c8bb68febb7b3132b4415a95a49a
BLAKE2b-256 9dfb6279bf99fe2fafb4e5afabbebc4443c2f0061a95016ae92bcb64a1daab22

See more details on using hashes here.

File details

Details for the file primetools-0.0.2-cp36-abi3-manylinux_2_24_armv7l.whl.

File metadata

  • Download URL: primetools-0.0.2-cp36-abi3-manylinux_2_24_armv7l.whl
  • Upload date:
  • Size: 942.5 kB
  • Tags: CPython 3.6+, manylinux: glibc 2.24+ ARMv7l
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for primetools-0.0.2-cp36-abi3-manylinux_2_24_armv7l.whl
Algorithm Hash digest
SHA256 82a9986e0fa163a80adfbc3b83d6c1c2008ecc9140dce558ed67ec8dec1fc964
MD5 6dfccdd3815880cf269a26cbabba52dc
BLAKE2b-256 75660272e047f9bc85817e434e2b187038ba8eeac4c349ab9b2280cc5bd10b3f

See more details on using hashes here.

File details

Details for the file primetools-0.0.2-cp36-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: primetools-0.0.2-cp36-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 200.1 kB
  • Tags: CPython 3.6+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for primetools-0.0.2-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f6a67e22e65e4a57e4e0c33925645ee7dc8f8a49ede042423b6205ad261a39c2
MD5 07f6cfe4db7ec65783ea0cbdcbf80359
BLAKE2b-256 398f44522f6f242d73f8b127bac9a61b2f391d91f75669af76d859b0f1df35ad

See more details on using hashes here.

File details

Details for the file primetools-0.0.2-cp36-abi3-macosx_10_7_x86_64.whl.

File metadata

  • Download URL: primetools-0.0.2-cp36-abi3-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 215.0 kB
  • Tags: CPython 3.6+, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for primetools-0.0.2-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 ec0a1bc67880af63581ff77ca368139836bf159a5fd036faff5c3b3e7b4f697f
MD5 b6c7aa114ac3a96a7e8c639653183fb1
BLAKE2b-256 b9b09d98c51ce901e104c79fd8eab59d9146f7e70e7e84c0dfc78877436284b8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page