mhhabib / Random-Object-Generator

A web application for generating random objects with Python Django framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Random objects generator

A web application for generating random objects with Python Django framework

Application diagram

flowchart TD
B[Alphabetical String] --> A[Random Objects]
C[Integer Numbers] --> A[Random Objects]
D[Real Numbers] --> A[Random Objects]
E[Alphanumerics String] --> A[Random Objects]
A[Random Objects] --> Y{Is generate?}
Y -- No --> N[Generating..]
N --> Y
Y -- Yes --> F[Generate Link]
F[Generate Link] --> H[Download Text file]
Y -- Yes --> G[View report]
G[View report] --> I[Display count report]

Prerequisite

  • Need to have installed Python's latest version - 3.9.7

Installations

  • Clone this repository in your preferable directory and go to the project directory
  • Active virtual environment
python -m venv env
env\Scripts\activate
  • Install requirements.txt file
pip install -r requirements.txt

Run Server

python manage.py runserver

Test Application

  • Click the Generate button to generate four types of random objects
  • After appearing the Download random objects file... click it to download a text file consisting of these four types of random objects within ~2MB
  • Click the View Report button to show the stats of random objects. There will be a count stats of these each object

About

A web application for generating random objects with Python Django framework


Languages

Language:Python 58.7%Language:HTML 18.8%Language:CSS 14.8%Language:JavaScript 7.7%