{"id":13708284,"url":"https://github.com/Tijani-Dia/dj-tracker","last_synced_at":"2025-05-06T12:31:50.718Z","repository":{"id":64888498,"uuid":"579206234","full_name":"Tijani-Dia/dj-tracker","owner":"Tijani-Dia","description":"A Django app that tracks your queries to help optimize them. Demo: https://dj-tracker-bakerydemo.fly.dev/dj-tracker/","archived":false,"fork":false,"pushed_at":"2024-08-08T20:53:07.000Z","size":6654,"stargazers_count":79,"open_issues_count":12,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-09T15:23:41.737Z","etag":null,"topics":["django","orm","performance-monitoring","performance-optimization"],"latest_commit_sha":null,"homepage":"https://tijani-dia.github.io/dj-tracker/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tijani-Dia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2022-12-16T23:43:35.000Z","updated_at":"2024-08-08T20:53:01.000Z","dependencies_parsed_at":"2022-12-17T13:48:43.250Z","dependency_job_id":"c0c5545f-6b3b-4df5-95c5-20437b856628","html_url":"https://github.com/Tijani-Dia/dj-tracker","commit_stats":{"total_commits":125,"total_committers":2,"mean_commits":62.5,"dds":0.008000000000000007,"last_synced_commit":"97e35694d171c420c5f9f684b413a5c06ceb41d9"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tijani-Dia%2Fdj-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tijani-Dia%2Fdj-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tijani-Dia%2Fdj-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tijani-Dia%2Fdj-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tijani-Dia","download_url":"https://codeload.github.com/Tijani-Dia/dj-tracker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224503907,"owners_count":17322290,"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","orm","performance-monitoring","performance-optimization"],"created_at":"2024-08-02T23:00:19.638Z","updated_at":"2025-05-06T12:31:50.712Z","avatar_url":"https://github.com/Tijani-Dia.png","language":"Python","funding_links":[],"categories":["Profiling"],"sub_categories":["Tools"],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/tijani-dia/dj-tracker/actions/workflows/test.yml\"\u003e\n        \u003cimg src=\"https://github.com/tijani-dia/dj-tracker/actions/workflows/test.yml/badge.svg\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/Tijani-Dia/dj-tracker\"\u003e\n        \u003cimg src=\"https://codecov.io/gh/Tijani-Dia/dj-tracker/branch/main/graph/badge.svg?token=MKJ71ZJE67\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/django-trackings/\"\u003e\n        \u003cimg src=\"https://badge.fury.io/py/django-trackings.svg\" alt=\"Package version\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://pepy.tech/project/django-trackings\"\u003e\n        \u003cimg src=\"https://static.pepy.tech/badge/django-trackings\" alt=\"Downloads\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://opensource.org/licenses/BSD-3-Clause\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/license-BSD-blue.svg\"/\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n`dj-tracker` is an app that tracks your queries to help detecting some possible performance optimisations listed in [Database access optimization](https://docs.djangoproject.com/en/dev/topics/db/optimization/).\n\n## Features\n\n- Detailed field usage of model instances\n- Report unused fields in a model instance and provides hints on when to use `.defer` and `.only`\n- Report model instance attributes access and provides hints on when to use `.values` or `.values_list`\n- Report cache hits and provides hints on when to use `iterator`\n- Provides hints on when to use `.count`, `.contains`, `.exists`\n- Detect N+1 queries\n- Detect when a deferred field is loaded\n- and many more insights into your queries with minimized overhead....\n\n## Demo\n\nYou can try `dj-tracker` with the [bakerydemo](https://github.com/wagtail/bakerydemo) on the [demo app](https://shorturl.at/5y6ix).\n\n## Requirements\n\n- Python: `\u003e=3.8`\n- Django: `\u003e=3.2`\n- [django-filter](https://github.com/carltongibson/django-filter)\n\n## Getting started\n\nCheck out the [installation steps](https://tijani-dia.github.io/dj-tracker/installation/) if you want to get started quickly or the [tutorial](https://tijani-dia.github.io/dj-tracker/tutorial/setup/) to see a concrete example of `dj-tracker` usage.\n\n## Documentation\n\nAll documentation is in the \"docs\" directory and online at https://tijani-dia.github.io/dj-tracker/\n\n## Development phase - Contributing\n\n`dj-tracker` is in [alpha phase](https://en.wikipedia.org/wiki/Software_release_life_cycle#Alpha).\n\nYou can help a lot by [reporting bugs](https://github.com/Tijani-Dia/dj-tracker/issues/new) you'll encounter. Feature requests, PRs or/and any feedback are also welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTijani-Dia%2Fdj-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTijani-Dia%2Fdj-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTijani-Dia%2Fdj-tracker/lists"}