Primex outputs prime numbers to a csv which can then be uploaded to Dropbox to be stored in the cloud. Two modes are available:
- Uses bottom and top value to calculate all prime numbers in between and outputs to csv file using python
- Continuously calculates prime numbers of increasing magnitude with start stop functionality
Current version: v2.0.1
Tested on MacOS Big Sur (11.0.1)
Requires Python 3 to run
File can be run from terminal typing python
or python3
depending on your system configuration
Download the project files using:
wget https://github.com/harrisongoeldner/primex/archive/php-bridge-server.zip
The repository can also be downloaded with:
git clone https://github.com/harrisongoeldner/primex.git
This project makes use of Dropbox's API. The program can be run without the API being installed however the upload feature will not work. For more information on Dropbox's API for python go to: https://www.dropbox.com/developers/documentation/python
Install Dropbox's API with:
pip install dropbox
Note: some systems use pip3
instead of pip
Go to Dropbox's Developer Page and click Create App
Give files.content.write
permission under the permissions
tab.
Make note of the App key
and App secret
as the program will need those to connect to dropbox.
The first time the program runs, assuming the Dropbox API is installed, you will be guided through the connection process.
To run the program, simply run main.py