{"id":20964176,"url":"https://github.com/housamz/python-mysql-admin-panel-generator","last_synced_at":"2025-05-14T09:32:05.287Z","repository":{"id":48042180,"uuid":"241003527","full_name":"housamz/python-mysql-admin-panel-generator","owner":"housamz","description":"Python MySQL Admin-panel Generator (MAGE), a Python Flask tool that helps you create a Python Flask CRUD system for any MySQL database in seconds.","archived":false,"fork":false,"pushed_at":"2025-03-11T11:02:12.000Z","size":664,"stargazers_count":37,"open_issues_count":0,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-02T15:51:11.386Z","etag":null,"topics":["cms","content-management","crud","crud-application","database","flask","mysql","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/housamz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2020-02-17T02:28:08.000Z","updated_at":"2025-03-11T11:02:26.000Z","dependencies_parsed_at":"2022-09-21T20:52:47.216Z","dependency_job_id":"ae186195-a9a9-496b-9f2d-731b4fa8b359","html_url":"https://github.com/housamz/python-mysql-admin-panel-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/housamz%2Fpython-mysql-admin-panel-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/housamz%2Fpython-mysql-admin-panel-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/housamz%2Fpython-mysql-admin-panel-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/housamz%2Fpython-mysql-admin-panel-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/housamz","download_url":"https://codeload.github.com/housamz/python-mysql-admin-panel-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254112316,"owners_count":22016733,"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":["cms","content-management","crud","crud-application","database","flask","mysql","python"],"created_at":"2024-11-19T02:51:44.959Z","updated_at":"2025-05-14T09:32:00.273Z","avatar_url":"https://github.com/housamz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python MAGE :: MySQL Admin Panel Generator Version 0.3\nAvailable for PHP also: [PHP Mage](https://github.com/housamz/php-mysql-admin-panel-generator)\n\nPython MySQL Admin Panel Generator (MAGE), a Python tool that helps you create a Python Admin Panel for any MySQL database in seconds.\n\nMage is not like PHPMyAdmin; it doesn't contain all your databases. It physically creates an admin panel for a database.\n\nA suggested use-case for the tool would be creating an admin panel for a Python Flask / MySQL project in seconds, and then you can tweak it before delivery.\n\nYou may use this tool for charity or school projects, for commercial use, please contact me.\n\n### Name\nMAGE is derived from `M`ySql `A`dmin panel `GE`nerator.\nMage (meɪdʒ): a magician or learned person.\n\n### Disclaimer: Always backup your database.\n\n## Running Mage\n1- If you want, create a Virtual Environment and activate it, if not, please go to step 2  \n`python3 -m venv env`  \n`source env/bin/activate`  \n  \n2- Install the requirements  \n`pip install -r requirements.txt`  \n\n3- Run Mage  \n`flask run -p 3009`\n\nMage can then be accessed on `http://localhost:3009`\n\n## Instructions\n1- Start by providing your MySQL Server Info, then click Next Step button.\n![Server info](images/1.png)\n\n2- The tool will scan the server for available databases and list them in a dropdown menu, select the database that you want, check if you want to create a 'users' table or not, and then click \"Generate Admin Panel\" button\n![Second Step](images/2.png)\n\n3- After a few seconds, you'll get a success message, with a link to the newly created admin panel, and a report of all the operations that were done.\n![Success Message](images/3.png)\n\n### Running your new application\n1- If you want, create a Virtual Environment and activate it, if not, please go to step 2  \n`python3 -m venv env`  \n`source env/bin/activate`  \n  \n2- Install the requirements  \n`pip install -r requirements.txt`  \n\n3- Run the application  \n`python app.py`  \n\n4- Click the link to the admin panel. You have to sign in using \"admin\" as an email and a password.\n![Sign in](images/4.png)\n\n---\n\nYou'll get a clean bootstrap interface to control the website, check below screenshots:  \n![Admin Panel 1](images/5.png)\n\n---\n![Admin Panel 2](images/6.png)\n---\n![Admin Panel 3](images/7.png)\n\n## Notes\n1- Mage and the generated applications are still in testing period.  \n2- The generated app will run in debug mode, to change it, go to the last line on app.py and remove the `debug=True` from `app.run(debug=True)`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhousamz%2Fpython-mysql-admin-panel-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhousamz%2Fpython-mysql-admin-panel-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhousamz%2Fpython-mysql-admin-panel-generator/lists"}