{"id":13815455,"url":"https://github.com/oldj/pyheatmap","last_synced_at":"2025-10-15T11:32:22.962Z","repository":{"id":4516189,"uuid":"5656010","full_name":"oldj/pyheatmap","owner":"oldj","description":"python heat map library","archived":false,"fork":false,"pushed_at":"2018-11-08T02:18:46.000Z","size":902,"stargazers_count":139,"open_issues_count":5,"forks_count":53,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-09T22:15:03.221Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/oldj.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":"2012-09-03T07:55:28.000Z","updated_at":"2025-02-25T06:30:57.000Z","dependencies_parsed_at":"2022-07-19T08:33:39.846Z","dependency_job_id":null,"html_url":"https://github.com/oldj/pyheatmap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldj%2Fpyheatmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldj%2Fpyheatmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldj%2Fpyheatmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldj%2Fpyheatmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oldj","download_url":"https://codeload.github.com/oldj/pyheatmap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248119290,"owners_count":21050755,"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":[],"created_at":"2024-08-04T04:03:30.795Z","updated_at":"2025-10-15T11:32:17.926Z","avatar_url":"https://github.com/oldj.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# pyHeatMap\n\n * Author: oldj\n * Email: oldj.wu@gmail.com\n * Blog: https://oldj.net/\n * Source: https://github.com/oldj/pyheatmap\n\n\npyHeatMap is a Python library for painting heat maps. It depends on [Pillow](https://python-pillow.github.io/).\nPython 2/3 compatible.\n\n\n## Screenshots\n\n### hit map\n\n![hit map](https://raw.github.com/oldj/pyheatmap/master/examples/hit.png)\n\n### heat map\n\n![heat map](https://raw.github.com/oldj/pyheatmap/master/examples/heat.png)\n\n\n## Install\n\n### by pip:\n\n```bash\npip install pyheatmap\n```\n\n### by easy_install:\n\n```bash\neasy_install pyheatmap\n```\n\n\n### from source code:\n\n```bash\ngit clone git://github.com/oldj/pyheatmap.git\ncd pyheatmap\npython setup.py install\n```\n\n\n## Example:\n\n```python\n# -*- coding: utf-8 -*-\n\nimport urllib\nfrom pyheatmap.heatmap import HeatMap\n\ndef main():\n\n    # download test data\n    url = \"https://raw.github.com/oldj/pyheatmap/master/examples/test_data.txt\"\n    sdata = urllib.urlopen(url).read().split(\"\\n\")\n    data = []\n    for ln in sdata:\n        a = ln.split(\",\")\n        if len(a) != 2:\n            continue\n        a = [int(i) for i in a]\n        data.append(a)\n\n    # start painting\n    hm = HeatMap(data)\n    hm.clickmap(save_as=\"hit.png\")\n    hm.heatmap(save_as=\"heat.png\")\n\nif __name__ == \"__main__\":\n    main()\n```\n\n\n## Copyright\n\n This library is free and is provided under the MIT open source license.\n\n\n## Update\n\n - 2015-08-31 Python 2/3 compatible.\n - 2012-09-03 Create.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foldj%2Fpyheatmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foldj%2Fpyheatmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foldj%2Fpyheatmap/lists"}