MENU using PYTHON :

Divyanshu Sharma
5 min readNov 16, 2020

What is Python ??

Python is an interpreted, high-level and general-purpose programming language. Created by Guido van Rossum and first released in 1991.

Python As a Scripting Language !!

Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. … Python’s simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse.

It’s often used as a “scripting language” for web applications. This means that it can automate specific series of tasks, making it more efficient. Consequently, Python (and languages like it) is often used in software applications, pages within a web browser, the shells of operating systems and some games.

Python and the automated menu !!

Python as a scripting language provides an approach to reach the level of automation !! For the same a menu has been created which automates the technologies and also performs the basic functions . The technologies automated using this approach are -

!! WELCOME TO THE MENU !!

1. Amazon Web Services

Automating AWS with python configures the aws in your cli and provides launching instance , creating key pair, creating security key , creating volume , attaching the volume ,etc. The created python does all the services just with a single click .

2. Hadoop Cluster

A Hadoop cluster is nothing but a group of computers connected together via LAN. We use it for storing and processing large data sets. Hadoop clusters have a number of commodity hardware connected together. They communicate with a high-end machine which acts as a master. These master and slaves implement distributed computing over distributed data storage. It runs open source software for providing distributed functionality.

Hadoop cluster has master-slave architecture.

The script consists of configuring both master and slave with a single click. The script automatically visit the important files and set the architecture for you . Along with this you can also change the block size in which data stores ,remove a file as the client operations.

3. Logic Volume Manager :

LVM is a tool for logical volume management which includes allocating disks, striping, mirroring and resizing logical volumes. With LVM, a hard drive or set of hard drives is allocated to one or more physical volumes. LVM physical volumes can be placed on other block devices which might span two or more disks.

You can think of LVM as “dynamic partitions”, meaning that you can create/resize/delete LVM “partitions” (they’re called “Logical Volumes” in LVM-speak) from the command line while your Linux system is running

The python script is automated to perform the entire above written commands with one click . Creating physical volume , volume group and the logical volumes . Logical volume further can be extended according to the user input. It also adds the more volume group and hard disk to your system.

4. Docker

Docker provides the ability to package and run an application in a loosely isolated environment called a container. The isolation and security allow you to run many containers simultaneously on a given host. … This means you can run more containers on a given hardware combination than if you were using virtual machines.

The docker is deployed in the the menu such that by one click you can install , pull image , launch , run , start and stop an entire new container on your system . It installs docker and launches a new container for the use !!!!

5. Web Server

A web server is server software, or hardware dedicated to running this software, that can satisfy client requests on the World Wide Web. A web server can, in general, contain one or more websites. A web server processes incoming network requests over HTTP and several other related protocols.

The menu helps you to configure the web server and also run your work on the server .

The menu runs the desired option as per the user choice and re-runs as many times the user enters the input ……

Here the sneak-peek to the menu created by the team!!

Hope you like the effort !!

Git hub link for the same is :

Team Members :

Abhay

Ansh

Divyanshu

Shubham

#python #vimaldaga #righteducation #educationredefine #rightmentor #worldrecordholder #linuxworld #makingindiafutureready #righeudcation #arthbylw

--

--