GithubHelp home page GithubHelp logo

opengenus / prime-factor-flask-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 19 KB

Flask Web Application to take number as input and do Prime Factorization in server (by OG intern, Kirabo Ibrahim)

Home Page: https://iq.opengenus.org/prime-factorization-web-application/

License: GNU General Public License v3.0

Python 41.21% HTML 58.79%
flask opengenus opengenus-internship prime-factorization prime-numbers python webapp

prime-factor-flask-app's Introduction

Flask Web Application for Prime Factorization

Prime Factorization Application Screenshot

Understand how this application has been developed step by step: Step-by-Step Guide

A flask web application for prime factorizing integers. The focus of this project is centered around prime factorization. Developing it as a web application is a means of extending the application service to the public but the core function is prime factorization. A modular approach has been followed to ease reuse and separate business logic from presentation logic.

The application uses the Pollard's Rho algorithm with a flavor of Floyd's cycle detection algorithm. The implementation of the Pollard Rho algorithm is in the file 'prime_factorization.py' and the web application is contained in the 'app.py' file.

Running the application

Preferably, creating a virtual environment before installing the requirements is better.

Creating a virtual environment

python3 -m venv flask-sanbox

source flask-sanbox/bin/activate

Installing required packages

pip install -r requiremnts.txt

Serving application

flask run

prime-factor-flask-app's People

Contributors

adichat avatar kiraboibrahim avatar

Watchers

 avatar  avatar

Forkers

kiraboibrahim

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.