Skip to main content

A sample Python project with some functionality

Project description

This is a sample python project for finding prime numbers less than N (N defined by user).

The main function impelements the sieve of Eratosphenes algorithm and returns list of prime numbers. It's quite optimized, though not intended for real-life projects use. Module sieve.py supports command-line interface and can be run as separate program. The program is looped, so enter "stop" when you're done.

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

primes_sieve-0.0.1.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file primes_sieve-0.0.1.tar.gz.

File metadata

  • Download URL: primes_sieve-0.0.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for primes_sieve-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f1c7a77b9072df30ce3c6086442e3e19dd3ac8f5c6fd6bcc9254bff910d2bcd4
MD5 caf10382b0bd0b6f2011f4ad009808f6
BLAKE2b-256 91a2a91ca7bf265ed1d62f8accc712a715a47e1dbfc37ce64d79812ec18cf892

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