CRUD_Python icon indicating copy to clipboard operation
CRUD_Python copied to clipboard

This algorithm is a CRUD made in python that has the purpose of the four basic operations (creation, consultation, updating and destruction of data) used in relational databases (RDBMS).

CRUD_Python

This algorithm is a CRUD made in python that has the purpose of the four basic operations (creation, consultation, updating and destruction of data) used in relational databases (RDBMS).

Supported Python Versions Twitter Follow LinkedIn

Star Fork

Apoie esse projeto! 💵💵

Olá! Você pode realizar doações de qualquer banco para minha chave Pix Itaú: 865875c7-c1cc-4254-8585-7c1616dfbc59

Requirements

pip install -r requirements.txt

You will need to instal MySQL and XAMPP also:

  • MySQL installation tutorial: https://www.youtube.com/watch?v=5JbAOWJbgIA&list=PLHz_AreHm4dkBs-795Dsgvau_ekxg8g1r&index=2&ab_channel=CursoemV%C3%ADdeo

  • XAMPP installation tutorial: https://www.youtube.com/watch?v=R2HrwSQ6EPM&list=PLHz_AreHm4dkBs-795Dsgvau_ekxg8g1r&index=3&ab_channel=CursoemV%C3%ADdeo

Operation

Home screen

When initializing the code, the first screen that is presented is the selection menu screen below:

1

On this screen we can execute the 4 basic commands of a CRUD (Create, Read, Update and Delete).

Option 1

Selecting option 1, we can insert a new record in our database, as described in the image below:

2

Option 2

Selecting option 2, we can perform a search and read all parameters of a record or of the complete base, as shown in the images below:

  • Reading of data searching for Name:

3

  • Reading of data searching for CPF:

4

  • Presentation of the complete database:

5

Option 3

Selecting option 3, we can update our base records, as shown in the images below:

  • Name Update:

6

  • CPF update:

7

Option 4:

Selecting option 4, we can delete a record in our database, or delete the entire database, as shown in the images below:

  • Deletion of registration by Name:

8

  • Deletion of registration by CPF:

9

  • Complete deletion of the base:

10