Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brian-emarquez/customers-crm
📁 Registro y Manipulación y lectura de datos mediante base de datos, un sistema En Python, De fácil Utilización. 📑
https://github.com/brian-emarquez/customers-crm
crm database gui mariadb python tkinter
Last synced: 14 days ago
JSON representation
📁 Registro y Manipulación y lectura de datos mediante base de datos, un sistema En Python, De fácil Utilización. 📑
- Host: GitHub
- URL: https://github.com/brian-emarquez/customers-crm
- Owner: brian-emarquez
- Created: 2020-08-23T18:04:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-03T01:17:28.000Z (over 4 years ago)
- Last Synced: 2024-11-21T16:33:25.221Z (3 months ago)
- Topics: crm, database, gui, mariadb, python, tkinter
- Language: Python
- Homepage: https://github.com/BrianMarquez3
- Size: 1.74 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Customers CMR - Basic 🖥🖱
![python](./images/cmr.png)_Add Customers_
```
def add_customer():
sql_command = "INSERT INTO customers(first_name, last_name, address_1, address_2, city, state, zipcade, country, phone, email, payment_method, dicount_code, price_paid) Values (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)"
values = (first_name_box.get(), last_name_box.get(), address_1_box.get() ,address_2_box.get(), city_box.get(), state_box.get(), zipcade_box.get(), country_box.get(), phone_box.get(), email_box.get(), payment_method_box.get(), dicount_code_box.get(), price_paid_box.get())
my_cursor.execute(sql_command, values)mydb.commit()
clear_fields()
```## List All Customers
![python](./images/cmr2.png)
## Search All Customers
![python](./images/cmr3.png)
## Edith Customers
![python](./images/cmr4.png)
## Database Mariadb
_Conector Base de datos - MariaDB_
```
pip3 install mariadb
```![python](./images/mariadb.png)
- Puerto : 3307```
my_cursor.execute("CREATE TABLE IF NOT EXISTS customers (first_name VARCHAR(255),\
last_name VARCHAR(255), \
zipcade INT(10), \
price_paid DECIMAL(10, 2),\
user_id INT AUTO_INCREMENT PRIMARY KEY,\
email VARCHAR(255),\
address_1 VARCHAR(255), \
address_2 VARCHAR(255), \
city VARCHAR(50),\
state VARCHAR(50),\
country VARCHAR(255),\
phone VARCHAR(255),\
payment_method VARCHAR(255),\
dicount_code VARCHAR(255))")
```