{"id":28258988,"url":"https://github.com/uno-takashi/django-dynamic-shields","last_synced_at":"2026-04-29T09:37:14.841Z","repository":{"id":37659089,"uuid":"501721905","full_name":"Uno-Takashi/django-dynamic-shields","owner":"Uno-Takashi","description":"Library to add a view to dynamically change badges in shields.io using django.","archived":false,"fork":false,"pushed_at":"2023-02-16T06:07:54.000Z","size":121362,"stargazers_count":0,"open_issues_count":8,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-30T13:01:57.356Z","etag":null,"topics":["badge","django","django-library","poetry","python","shields","sphinx"],"latest_commit_sha":null,"homepage":"https://uno-takashi.github.io/django-dynamic-shields/","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/Uno-Takashi.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}},"created_at":"2022-06-09T16:05:42.000Z","updated_at":"2023-06-25T02:00:24.000Z","dependencies_parsed_at":"2023-01-31T04:35:12.960Z","dependency_job_id":null,"html_url":"https://github.com/Uno-Takashi/django-dynamic-shields","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/Uno-Takashi/django-dynamic-shields","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uno-Takashi%2Fdjango-dynamic-shields","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uno-Takashi%2Fdjango-dynamic-shields/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uno-Takashi%2Fdjango-dynamic-shields/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uno-Takashi%2Fdjango-dynamic-shields/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Uno-Takashi","download_url":"https://codeload.github.com/Uno-Takashi/django-dynamic-shields/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uno-Takashi%2Fdjango-dynamic-shields/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32420350,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["badge","django","django-library","poetry","python","shields","sphinx"],"created_at":"2025-05-20T01:16:04.583Z","updated_at":"2026-04-29T09:37:14.837Z","avatar_url":"https://github.com/Uno-Takashi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# django-dynamic-shields\n\n[![sphinx](https://github.com/Uno-Takashi/django-dynamic-shields/actions/workflows/sphinx.yml/badge.svg?branch=main\u0026event=push)](https://github.com/Uno-Takashi/django-dynamic-shields/actions/workflows/sphinx.yml)\n[![Code Quality](https://github.com/Uno-Takashi/django-dynamic-shields/actions/workflows/code-quality.yml/badge.svg?branch=main\u0026event=push)](https://github.com/Uno-Takashi/django-dynamic-shields/actions/workflows/code-quality.yml)\n[![security](https://github.com/Uno-Takashi/django-dynamic-shields/actions/workflows/security.yml/badge.svg?branch=main)](https://github.com/Uno-Takashi/django-dynamic-shields/actions/workflows/security.yml)\n\n[![codecov](https://codecov.io/gh/Uno-Takashi/django-dynamic-shields/branch/main/graph/badge.svg?token=3CWnrX8w7n)](https://codecov.io/gh/Uno-Takashi/django-dynamic-shields)\n[![PyPI - Downloads](https://img.shields.io/pypi/dw/django-dynamic-shields?label=PyPI%20download\u0026logo=python)](https://pypi.org/project/django-dynamic-shields/)\n[![PyPI](https://img.shields.io/pypi/v/django-dynamic-shields?label=PyPI\u0026logo=python)](https://pypi.org/project/django-dynamic-shields/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/Uno-Takashi/django-dynamic-shields/blob/main/LICENSE)\n\n## 📚 Overview\n\n[Shields.io](https://shields.io/) is one of the great inventions in human history. Everyone has collected badges and stickers as a child. In other words, it is one of the fundamental human needs to stick a badge.\n\nWith django-dynamic-badge, the display can be changed dynamically using information from a server built with [Django](https://www.djangoproject.com/).\n\nFor example, create a badge with the number of active users today, the number of times the function has been used, and the results of the server health check.\n\n## 💾 Install\n\nPublished on [PyPI](https://pypi.org/project/django-dynamic-shields/). It can be installed with the following command.\n\n```shell\npip install django-dynamic-shields\n```\n\nAlternatively, you can download and install the .whl file from the [release](https://github.com/Uno-Takashi/django-dynamic-shields/releases).\n\n## 📔 Document\n\nUploaded to the following github pages\n\n- [django-dynamic-shields documentation](https://uno-takashi.github.io/django-dynamic-shields/)\n\n## 🎮 Usage\n\n## ⚒️ Develop\n\n### Preparation\n\nDevelopment requires installation of [Poetry](https://python-poetry.org/).\n\n- [Introduction | Documentation | Poetry - Python dependency management and packaging made easy](https://python-poetry.org/docs/)\n\n[Watchman](https://facebook.github.io/watchman/) is required to run code checks with pyre. Although not required for development, code that fails pyre-check cannot be merged.\n\n- [Installation | Watchman](https://facebook.github.io/watchman/docs/install.html)\n\nAfter installing the required software, execute the following commands to set up the development environment.\n\n```shell\npoetry install\n```\n\n### Code Check\n\nThis repository uses Github actions for code checking. These actions are automatically executed when you push, but you can also execute them in your local environment before pushing.\n\n#### pytest\n\n[![codecov](https://codecov.io/gh/Uno-Takashi/django-dynamic-shields/branch/main/graph/badge.svg?token=3CWnrX8w7n)](https://codecov.io/gh/Uno-Takashi/django-dynamic-shields)\n\nMust pass CI by pytest.\n\n```shell\npoetry run pytest --cov=django_dynamic_shields --cov-report=xml --workers auto\n```\n\n#### lizard\n\n\nlizard is a tool for measuring CCN. lizard allows us to block merging of overly complex code.\n\n```shell\npoetry run lizard ./django_dynamic_shields/\n```\n\n#### pyre\n\n\nPyre is a performant type checker for Python compliant with PEP 484.\n\n```shell\npoetry run pyre\n```\n\n#### bndit\n\nbandit is a static analysis tool for python. It blocks vulnerable code.\n\n```shell\npoetry run bandit django_dynamic_shields -r \n```\n\n#### python-taint\n\npython-taint(pyt) is a static analysis tool for python. It blocks vulnerable code.\n\n```shell\npoetry run pyt -a D  ./django_dynamic_shields\n```\n\n### Other\n\nDevelop according to [GitHub flow](https://docs.github.com/en/get-started/quickstart/github-flow)\n\nIf you have any questions, feel free to ask in the [Q\u0026A](https://github.com/Uno-Takashi/django-dynamic-shields/discussions/categories/q-a)\n\n## 📝 License\n\n- [MIT License](https://github.com/Uno-Takashi/django-dynamic-shields/blob/main/LICENSE)\n\n![GitHub watchers](https://img.shields.io/github/watchers/Uno-Takashi/django-dynamic-shields?style=social)\n![GitHub Repo stars](https://img.shields.io/github/stars/Uno-Takashi/django-dynamic-shields?style=social)\n![GitHub forks](https://img.shields.io/github/forks/Uno-Takashi/django-dynamic-shields?style=social)\n[![Python](https://img.shields.io/badge/-Python-F9DC3E.svg?logo=python\u0026style=flat)](https://www.python.org/)\n[![Django](https://img.shields.io/badge/-Django-092E20.svg?logo=django\u0026style=flat)](https://www.djangoproject.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funo-takashi%2Fdjango-dynamic-shields","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funo-takashi%2Fdjango-dynamic-shields","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funo-takashi%2Fdjango-dynamic-shields/lists"}