An open API service indexing awesome lists of open source software.

https://github.com/vmeazevedo/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).
https://github.com/vmeazevedo/crud_python

crud crud-application crud-operation python python3

Last synced: 10 months ago
JSON representation

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).

Awesome Lists containing this project

README

          

# 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](https://img.shields.io/pypi/pyversions/rich/10.11.0) [![Twitter Follow](https://img.shields.io/twitter/follow/vmeazevedo.svg?style=social)](https://twitter.com/vmeazevedo) [![LinkedIn](https://img.shields.io/badge/LinkedIn-Vinícius_Azevedo%20-blue)](https://www.linkedin.com/in/vin%C3%ADcius-azevedo-45180ab2/)

![Star](https://img.shields.io/github/stars/vmeazevedo/CRUD_Python?style=social)
![Fork](https://img.shields.io/github/forks/vmeazevedo/CRUD_Python?label=Fork&style=social)

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

## Requirements

```sh
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](https://user-images.githubusercontent.com/40063504/105108953-34aabc00-5a9a-11eb-9eb9-db14d4d189c2.PNG)

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](https://user-images.githubusercontent.com/40063504/105109080-88b5a080-5a9a-11eb-8723-7cd634201ae9.PNG)

## 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](https://user-images.githubusercontent.com/40063504/105109148-af73d700-5a9a-11eb-84e9-fae151b5e2e4.PNG)

- Reading of data searching for CPF:

![4](https://user-images.githubusercontent.com/40063504/105109232-eba73780-5a9a-11eb-93e5-d1d6537d5aab.PNG)

- Presentation of the complete database:

![5](https://user-images.githubusercontent.com/40063504/105109368-2d37e280-5a9b-11eb-8bef-7dba7b90da8c.PNG)

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

- Name Update:

![6](https://user-images.githubusercontent.com/40063504/105109457-52c4ec00-5a9b-11eb-82ab-88d9acbb53c1.PNG)

- CPF update:

![7](https://user-images.githubusercontent.com/40063504/105109484-62443500-5a9b-11eb-9f04-5878d37413d2.PNG)

## 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](https://user-images.githubusercontent.com/40063504/105109575-8f90e300-5a9b-11eb-923c-3797cc0d6e83.PNG)

- Deletion of registration by CPF:

![9](https://user-images.githubusercontent.com/40063504/105109597-9881b480-5a9b-11eb-8c65-4f1293fe449a.PNG)

- Complete deletion of the base:

![10](https://user-images.githubusercontent.com/40063504/105109612-a2a3b300-5a9b-11eb-8680-3f5d867bfb0c.PNG)