{"id":14972893,"url":"https://github.com/sjkingo/django_tagcloud","last_synced_at":"2026-02-05T20:34:18.495Z","repository":{"id":57422254,"uuid":"50712550","full_name":"sjkingo/django_tagcloud","owner":"sjkingo","description":"A simple Django templatetag for generating tagclouds","archived":false,"fork":false,"pushed_at":"2016-01-30T07:06:06.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-29T06:38:51.258Z","etag":null,"topics":["django","django-application","django-tagcloud","python","python-3","tag-cloud"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sjkingo.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}},"created_at":"2016-01-30T06:32:22.000Z","updated_at":"2019-08-06T19:13:57.000Z","dependencies_parsed_at":"2022-09-12T15:52:25.458Z","dependency_job_id":null,"html_url":"https://github.com/sjkingo/django_tagcloud","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/sjkingo/django_tagcloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjkingo%2Fdjango_tagcloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjkingo%2Fdjango_tagcloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjkingo%2Fdjango_tagcloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjkingo%2Fdjango_tagcloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjkingo","download_url":"https://codeload.github.com/sjkingo/django_tagcloud/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjkingo%2Fdjango_tagcloud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29133400,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T19:36:52.185Z","status":"ssl_error","status_checked_at":"2026-02-05T19:35:40.941Z","response_time":65,"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":["django","django-application","django-tagcloud","python","python-3","tag-cloud"],"created_at":"2024-09-24T13:47:42.436Z","updated_at":"2026-02-05T20:34:18.477Z","avatar_url":"https://github.com/sjkingo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# django_tagcloud\n\nA simple Django templatetag for generating a [tagcloud](https://en.wikipedia.org/wiki/Tag_cloud). It uses a logarithmic algorithm to generate the sizes of each tag.\n\n[![PyPI](https://img.shields.io/pypi/v/django_tagcloud.svg)](https://pypi.python.org/pypi/django_tagcloud)\n\n## How to use\n\nInstallation and usage is simple:\n\n1. `$ pip install django_tagcloud`\n\n2. Add `tagcloud` to your `INSTALLED_APPS`\n\n3. In your view code, assemble a list of `(tag, weight)` tuples and add it to the response context, for instance:\n\n   ```python\n   ...\n   tag_list = [('apple', 3), ('orange', 9), ('pear', 4), ('plum', 12)]\n   return render(request, template, {'tag_list': tag_list})\n   ```\n\n4. In a template, simply call the templatetag:\n\n   ```django\n   {% load tagcloud %}\n\n   {% tagcloud tag_list %}\n   ```\n\n## Customisation\n\nCurrently the only customisation possible is specifying the minimum and maximum\nfont sizes that the templatetag will use. By default these are 12px and 38px.\nYou can change this by passing one (or both) as arguments to the templatetag:\n\n```django\n{% tagcloud tag_list 18 32 %}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjkingo%2Fdjango_tagcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsjkingo%2Fdjango_tagcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjkingo%2Fdjango_tagcloud/lists"}