{"id":15067869,"url":"https://github.com/ashiqyousuf/sqlqm","last_synced_at":"2026-01-04T18:46:14.604Z","repository":{"id":257075601,"uuid":"857257777","full_name":"ashiqYousuf/sqlqm","owner":"ashiqYousuf","description":"Implemented custom decorator for checking your db queries in development mode","archived":false,"fork":false,"pushed_at":"2024-09-16T16:33:44.000Z","size":144,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T04:11:31.739Z","etag":null,"topics":["django","python3","sql"],"latest_commit_sha":null,"homepage":"","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/ashiqYousuf.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,"publiccode":null,"codemeta":null}},"created_at":"2024-09-14T07:05:26.000Z","updated_at":"2024-09-16T16:33:48.000Z","dependencies_parsed_at":"2024-09-16T20:07:26.981Z","dependency_job_id":null,"html_url":"https://github.com/ashiqYousuf/sqlqm","commit_stats":null,"previous_names":["ashiqyousuf/sqlqm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashiqYousuf%2Fsqlqm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashiqYousuf%2Fsqlqm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashiqYousuf%2Fsqlqm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashiqYousuf%2Fsqlqm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashiqYousuf","download_url":"https://codeload.github.com/ashiqYousuf/sqlqm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239297789,"owners_count":19615754,"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":["django","python3","sql"],"created_at":"2024-09-25T01:28:23.199Z","updated_at":"2025-11-01T15:30:21.190Z","avatar_url":"https://github.com/ashiqYousuf.png","language":"Python","readme":"# Implemented a custom python decorator for examing your sql queries generated by Django\n\n\n### You can check the following things from terminal logs:-\n\n    1. Number of Queries\n\n    2. Number of Duplicate Queries\n\n    3. Sql Query itself\n\n    4. Time taken to Query DB\n\n\n### Cloning this repo? Follow as:-\n\n    1. git clone https://github.com/ashiqYousuf/sqlqm.git\n\n    2. Change directory to root dir (sqlqm)\n\n    3. Create virtualenv \u0026 activate it\n\n    4. Install requirements: pip install -r requirements.txt\n\n    5. Run migrations: python3 manage.py migrate\n\n    6. Populate dummy data for testing as:-\n        \n        . activate virtualenv\n\n        . python manage.py shell (and write following lines in shell)\n\n        . from sqlquery.factory import *\n        \n        . ProductFactory.create_batch(100) # This will create 100 products in DB.\n\n    7. Start server: python3 manage.py runserver \u003cPORT\u003e \n\n\n![alt text](image.png)\n\n\n![alt text](image-1.png)\n\n\n![alt text](image-2.png)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashiqyousuf%2Fsqlqm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashiqyousuf%2Fsqlqm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashiqyousuf%2Fsqlqm/lists"}