{"id":16731248,"url":"https://github.com/rohit-chouhan/sqlite-snippet","last_synced_at":"2026-04-16T07:31:38.118Z","repository":{"id":107346640,"uuid":"387029631","full_name":"rohit-chouhan/sqlite-snippet","owner":"rohit-chouhan","description":"Simple Easy MySQL + SQLite Snippet for Python.","archived":false,"fork":false,"pushed_at":"2021-07-24T07:58:06.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-09T13:13:21.855Z","etag":null,"topics":["database","django","flask","flask-api","python","snippet","sqlite3","vscode"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=rohit-chouhan.sqlite-snippet","language":null,"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/rohit-chouhan.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":"2021-07-17T20:15:22.000Z","updated_at":"2025-02-12T11:10:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"fff4f2eb-7d25-4cf1-9a9e-f86541e46f77","html_url":"https://github.com/rohit-chouhan/sqlite-snippet","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/rohit-chouhan%2Fsqlite-snippet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohit-chouhan%2Fsqlite-snippet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohit-chouhan%2Fsqlite-snippet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohit-chouhan%2Fsqlite-snippet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rohit-chouhan","download_url":"https://codeload.github.com/rohit-chouhan/sqlite-snippet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243770115,"owners_count":20345245,"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":["database","django","flask","flask-api","python","snippet","sqlite3","vscode"],"created_at":"2024-10-12T23:36:24.553Z","updated_at":"2026-04-16T07:31:33.077Z","avatar_url":"https://github.com/rohit-chouhan.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg width=\"250\" src=\"https://media.charlesleifer.com/blog/photos/sqlite-and-python.png\"\u003e\u003cbr\u003e\nSimple Easy MySQL + SQLite Snippet for  Python, Developed by \u003ca href=\"https://rohitchouhan.com\"\u003eRohit Chouhan\u003c/a\u003e\n\u003c/p\u003e\n\n### For SQLite Connection\n| Prefix   |Description   |\n| ------------ | ------------ |\n|  sl-import | import sqlite3   |\n|  sl-createConnection, sl-createDb | create connection code   |\n\n### For MySQL Connection\n| Prefix   |Description   |\n| ------------ | ------------ |\n|  sql-import | import mysql.connector      |\n|  sql-createConnection | create MySQL connection code   |\n|  sql-createDBConnection | create MySQL connection with Database   |\n\n### For Both\n| Prefix   |Description   |\n| ------------ | ------------ |\n|  sl-select | retrive data code   |\n|  sl-selectAll | retrive all data code   |\n|  sl-insert | insert data code   |\n|  sl-update | update data code   |\n|  sl-updateAll | update all data code   |\n|  sl-delete | delete data code   |\n|  sl-deleteAll |delete all data code   |\n\n#### - Example\n```python\n#input\n\tsl-select\n\t\n#output\n\tc = conn.cursor()\n\tc.execute(\"SELECT * FROM table WHERE column='value'\")\n\trows = c.fetchall()\n\tfor row in rows:\n\t\tprint(row)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohit-chouhan%2Fsqlite-snippet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frohit-chouhan%2Fsqlite-snippet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohit-chouhan%2Fsqlite-snippet/lists"}