{"id":21306706,"url":"https://github.com/brian-emarquez/customers-crm","last_synced_at":"2026-05-10T03:43:35.210Z","repository":{"id":106515722,"uuid":"289740390","full_name":"brian-emarquez/Customers-CRM","owner":"brian-emarquez","description":"📁 Registro y Manipulación y lectura de datos mediante base de datos, un sistema En Python, De fácil Utilización. 📑","archived":false,"fork":false,"pushed_at":"2020-09-03T01:17:28.000Z","size":1827,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-22T09:11:13.321Z","etag":null,"topics":["crm","database","gui","mariadb","python","tkinter"],"latest_commit_sha":null,"homepage":"https://github.com/BrianMarquez3","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brian-emarquez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-08-23T18:04:33.000Z","updated_at":"2020-09-10T05:53:10.000Z","dependencies_parsed_at":"2023-07-18T11:18:03.889Z","dependency_job_id":null,"html_url":"https://github.com/brian-emarquez/Customers-CRM","commit_stats":null,"previous_names":["brian-emarquez/customers-crm"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brian-emarquez%2FCustomers-CRM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brian-emarquez%2FCustomers-CRM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brian-emarquez%2FCustomers-CRM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brian-emarquez%2FCustomers-CRM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brian-emarquez","download_url":"https://codeload.github.com/brian-emarquez/Customers-CRM/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243784101,"owners_count":20347409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crm","database","gui","mariadb","python","tkinter"],"created_at":"2024-11-21T16:27:33.057Z","updated_at":"2026-05-10T03:43:35.179Z","avatar_url":"https://github.com/brian-emarquez.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003ch2 align=\"center\"\u003eCustomers CMR - Basic \u0026nbsp;🖥🖱\u0026nbsp;\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\n  \n  \u003ca href=\"https://github.com/BrianMarquez3/Customers-CRMe/tags\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/tag/BrianMarquez3/Customers-CRM.svg?label=version\u0026style=flat\" alt=\"Version\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/BrianMarquez3/Customers-CRM/stargazers\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/BrianMarquez3/Customers-CRM.svg?style=flat\" alt=\"Stars\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/BrianMarquez3/Customers-CRM/network\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/forks/BrianMarquez3/Customers-CRM.svg?style=flat\" alt=\"Forks\"\u003e\n  \u003c/a\u003e \n\u003c/p\u003e\n  \n![python](./images/cmr.png)\n\n_Add Customers_\n\n```\ndef add_customer():\n    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)\"\n    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())\n    my_cursor.execute(sql_command, values)\n\n    mydb.commit()\n    clear_fields()\n```\n\n## List All Customers\n\n![python](./images/cmr2.png)\n\n## Search All Customers\n\n![python](./images/cmr3.png)\n\n## Edith Customers\n\n![python](./images/cmr4.png)\n\n## Database Mariadb\n\n_Conector Base de datos - MariaDB_\n\n```\npip3 install mariadb\n```\n\n![python](./images/mariadb.png)\n- Puerto : 3307\n\n```\nmy_cursor.execute(\"CREATE TABLE IF NOT EXISTS customers (first_name VARCHAR(255),\\\n    last_name VARCHAR(255), \\\n    zipcade INT(10), \\\n    price_paid DECIMAL(10, 2),\\\n    user_id INT AUTO_INCREMENT PRIMARY KEY,\\\n    email VARCHAR(255),\\\n    address_1 VARCHAR(255), \\\n    address_2  VARCHAR(255), \\\n    city VARCHAR(50),\\\n    state VARCHAR(50),\\\n    country VARCHAR(255),\\\n    phone VARCHAR(255),\\\n    payment_method VARCHAR(255),\\\n    dicount_code VARCHAR(255))\")\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrian-emarquez%2Fcustomers-crm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrian-emarquez%2Fcustomers-crm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrian-emarquez%2Fcustomers-crm/lists"}