{"id":21174689,"url":"https://github.com/anas-dew/quicksqlconnector","last_synced_at":"2025-09-01T08:09:43.393Z","repository":{"id":57677863,"uuid":"489006255","full_name":"Anas-Dew/QuickSQLConnector","owner":"Anas-Dew","description":"SQL in one line","archived":false,"fork":false,"pushed_at":"2023-01-02T12:04:08.000Z","size":81,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-09T23:26:01.470Z","etag":null,"topics":["database","mysql","mysqlconnector","postgresql","python","python-library","python3","sqlite"],"latest_commit_sha":null,"homepage":"https://quicksqlconnector.web.app/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Anas-Dew.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":["https://www.buymeacoffee.com/anasraza"]}},"created_at":"2022-05-05T14:30:24.000Z","updated_at":"2023-08-23T09:44:23.000Z","dependencies_parsed_at":"2023-02-01T02:35:23.802Z","dependency_job_id":null,"html_url":"https://github.com/Anas-Dew/QuickSQLConnector","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Anas-Dew/QuickSQLConnector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anas-Dew%2FQuickSQLConnector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anas-Dew%2FQuickSQLConnector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anas-Dew%2FQuickSQLConnector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anas-Dew%2FQuickSQLConnector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Anas-Dew","download_url":"https://codeload.github.com/Anas-Dew/QuickSQLConnector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anas-Dew%2FQuickSQLConnector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273093488,"owners_count":25044437,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["database","mysql","mysqlconnector","postgresql","python","python-library","python3","sqlite"],"created_at":"2024-11-20T16:55:50.467Z","updated_at":"2025-09-01T08:09:43.371Z","avatar_url":"https://github.com/Anas-Dew.png","language":"Python","funding_links":["https://www.buymeacoffee.com/anasraza"],"categories":[],"sub_categories":[],"readme":"![QuickSQLConnector](./src/meta%20banner.png)\n\nDevelopers are struggling to execute a query and what if you need to execute another query somewhere else? That's a lot of code to rewrite again. You don't have to do this because QuickSQLConnector got you covered!. \u003ca href=\"https://quicksqlconnector.web.app/\"\u003eQuick SQL Connector\u003c/a\u003e is a python library that lets you execute MySQL, PostgreSQL, and SQLite queries with just one line of code. \n\nReducing 80% lines of code and get more done and it's all done in the same syntax with all SQL databases mentioned.\n\n[![Downloads](https://static.pepy.tech/personalized-badge/quicksqlconnector?period=month\u0026units=international_system\u0026left_color=black\u0026right_color=orange\u0026left_text=Downloads%20per%20Month)](https://pepy.tech/project/quicksqlconnector)  [![PyPI version](https://badge.fury.io/py/quicksqlconnector.svg)](https://badge.fury.io/py/quicksqlconnector)  [![PyPI license](https://img.shields.io/pypi/l/ansicolortags.svg)](https://pypi.python.org/pypi/ansicolortags/)  [![Generic badge](https://img.shields.io/badge/Developers-Happy-\u003cCOLOR\u003e.svg)](https://shields.io/)\n\n\n\n## Installation 💿\n\n\u003e USING PIP\n\n    pip install quicksqlconnector\n\n\u003e FOR LINUX FRIENDS\n\n    python3 pip install quicksqlconnector\n\nTo update Quick SQL Connector to the latest version, add --upgrade flag to the above commands.\n\n## Write your first query.\n\n### Use 'quicksqlconnector' keyword to import\n\n    from quicksqlconnector import quicksqlconnector\n\n### Creating instance of module\n\n    DB = quicksqlconnector('database','host', port, 'username', 'password')\n\n    NOTE : If you're using SQLite, you must provide database file name as follows.\n\n    DB = quicksqlconnector('sqlite3', database_name='my_example_database')\n\nFor database, it has 3 options (case-sensitive).\n* ```mysql```\n* ```sqlite3```\n* ```postgres```\n\n\u003e quicksqlconnector only have one method which is 'query'.\n\n    DB.query('query','parameters:optional')\n\n    FOR SQLite, you don't need to use parameterized quieries as it is not supported in SQLite.\n\n\u003e It has two arguments, query and parameters, parameters are optional.\n    \n    # EXAMPLES FOR 'MYSQL'\n\n    DB.query(\"SELECT * FROM test where id= %s\", (input_user,))\n    DB.query(\"SELECT * FROM test\")\n    DB.query('CREATE TABLE test(name varchar(10), id int(10))')\n    DB.query(\"INSERT INTO test values(%s, %s)\", ('harry', 13))\n\n    # EXAMPLES FOR 'SQLITE'\n\n    DB.query('DROP TABLE movie')\n    DB.query(\"CREATE TABLE movie(title varchar(1), year int(1), score int(1))\")\n\n    # EXAMPLE FOR 'POSTGRESQL'\n\n    DB.query('SELECT datname FROM pg_database')\n\nSee `test.py` for [more examples](https://github.com/Anas-Dew/QuickSQLConnector/blob/main/src/quicksqlconnector/test.py).\n\n## 🔗Useful Links\n\n|    Route   | Link |\n| ----------- | ----------- |\n| Buy me a Coffee | [Visit](https://www.buymeacoffee.com/anasraza) |\n| Email   | [Visit](mailto:anasraza1@yahoo.com)|\n| PyPi |  [Visit](https://pypi.org/project/quicksqlconnector/) |\n| Website | [Visit](https://quicksqlconnector.web.app/)|","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanas-dew%2Fquicksqlconnector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanas-dew%2Fquicksqlconnector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanas-dew%2Fquicksqlconnector/lists"}