{"id":13813732,"url":"https://github.com/kasun/django-pixels","last_synced_at":"2026-01-16T11:31:15.022Z","repository":{"id":57421290,"uuid":"76106636","full_name":"kasun/django-pixels","owner":"kasun","description":"Tracking pixels made easy","archived":false,"fork":false,"pushed_at":"2022-12-26T20:29:22.000Z","size":12,"stargazers_count":11,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-27T17:17:45.958Z","etag":null,"topics":["django","tracking-pixels"],"latest_commit_sha":null,"homepage":"","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/kasun.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-10T10:48:09.000Z","updated_at":"2021-01-18T16:49:47.000Z","dependencies_parsed_at":"2023-01-31T01:15:49.864Z","dependency_job_id":null,"html_url":"https://github.com/kasun/django-pixels","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kasun/django-pixels","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasun%2Fdjango-pixels","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasun%2Fdjango-pixels/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasun%2Fdjango-pixels/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasun%2Fdjango-pixels/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kasun","download_url":"https://codeload.github.com/kasun/django-pixels/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasun%2Fdjango-pixels/sbom","scorecard":{"id":551339,"data":{"date":"2025-08-11","repo":{"name":"github.com/kasun/django-pixels","commit":"d4a0f01175995b8c33098d295c5c0e1cdf80e581"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/12 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T10:58:04.824Z","repository_id":57421290,"created_at":"2025-08-20T10:58:04.824Z","updated_at":"2025-08-20T10:58:04.824Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["django","tracking-pixels"],"created_at":"2024-08-04T04:01:27.665Z","updated_at":"2026-01-16T11:31:14.998Z","avatar_url":"https://github.com/kasun.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"=============================\ndjango-pixels\n=============================\n\nTracking pixels made easy. For Python 2 and Django 1.7+\n\nFeatures\n----------\n* Built-in views to serve transparent pixels or 204 responses.\n* Compose pixel tracking urls with different type IDs.\n* Route tracking requests to functions using type IDs.\n\nImplementation Notes with Short Examples\n----------\n\nInstall django-pixels::\n\n    pip install django-pixels\n\n\nMount pixel tracking URL patterns:\n\n.. code-block:: python\n\n    urlpatterns = [\n        ...\n        url(r'^tracker/', include('django_pixels.urls', namespace=\"pixels\")),\n        ...\n    ]\n\n\nGet the general pixel tracking url (This serves a transparent pixel as the response):\n\n.. code-block:: python\n\n    from django.core.urlresolvers import reverse\n    tracking_url = reverse('pixels:pixel') # given you have mounted django_pixels urls with namespace='pixels'\n\nGet the tracking url with no-content(204) response (This serves an empty response with code 204):\n\n.. code-block:: python\n\n    from django.core.urlresolvers import reverse\n    tracking_url = reverse('pixels:pixel-204') # given you have mounted django_pixels urls with namespace='pixels'\n\n\nGenerate a pixel tracking url with type 1:\n\n.. code-block:: python\n\n    from django_pixels import utils\n\n    utils.compose_pixel_url(tracking_url, 1)\n\n\nWrite a function to handle tracking calls with type 1:\n\n.. code-block:: python\n\n    def track_emails(request):\n        # handle tracking with the passed HttpRequest instance\n\n\nRegister the function to handle tracking calls with type 1:\n\n.. code-block:: python\n\n    from django_pixels import handlers\n\n    handlers.register(1, track_emails)\n\n\nOr mark a function to handle tracking calls with type 2:\n\n.. code-block:: python\n\n    from django_pixels import handlers\n\n    @handlers.track(type_id=2)\n    def track_emails(request):\n        # handle tracking with the passed HttpRequest instance\n\n\nSettings\n----------\n* PIXELS_TYPE_PARAMETER_NAME - Change the parameter name used for tracking type\n\n\nCredits\n-------\n\nTools used in rendering this package:\n\n*  Cookiecutter_\n*  `cookiecutter-djangopackage`_\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkasun%2Fdjango-pixels","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkasun%2Fdjango-pixels","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkasun%2Fdjango-pixels/lists"}