{"id":20912403,"url":"https://github.com/fogleman/punchcard","last_synced_at":"2025-10-05T23:02:20.697Z","repository":{"id":15317057,"uuid":"18047084","full_name":"fogleman/Punchcard","owner":"fogleman","description":"Generate GitHub-style punchcard charts with ease.","archived":false,"fork":false,"pushed_at":"2017-03-25T12:36:41.000Z","size":348,"stargazers_count":240,"open_issues_count":2,"forks_count":16,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-01T20:24:04.741Z","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":"petar/rsc","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fogleman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-24T00:15:21.000Z","updated_at":"2025-03-17T12:05:58.000Z","dependencies_parsed_at":"2022-08-25T20:00:35.816Z","dependency_job_id":null,"html_url":"https://github.com/fogleman/Punchcard","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/fogleman%2FPunchcard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fogleman%2FPunchcard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fogleman%2FPunchcard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fogleman%2FPunchcard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fogleman","download_url":"https://codeload.github.com/fogleman/Punchcard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253903580,"owners_count":21981724,"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-11-18T14:27:04.604Z","updated_at":"2025-10-05T23:02:15.657Z","avatar_url":"https://github.com/fogleman.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Punchcard\n\nGenerate GitHub-style punchcard charts with ease.\n\n    python punchcard.py sample.csv output.png \"Sample Chart\"\n\n![Sample](http://i.imgur.com/I50Rejy.png)\n\n### Dependencies\n\n    brew install py2cairo pango pygtk\n\n### Command Line\n\n    python punchcard.py input.csv output.png [title]\n\n### Programmatically\n\n    punchcard(png_path, data, row_labels, col_labels)\n\n`data` must be a two-dimensional array of data for the punchcard chart (a list of lists where each list is a row). `len(data) == len(row_labels)` and `len(data[0]) == len(col_labels)`\n\nThe following keyword arguments are also allowed.\n\n| keyword                | default     | description                                |\n|------------------------|------------:|--------------------------------------------|\n|padding                 |           12| padding between chart, labels and boundary |\n|cell_padding            |            4| padding between circles and cell edges     |\n|min_size                |            4| minimum circle size, for smallest value    |\n|max_size                |           32| maximum circle size, for largest value     |\n|min_color               |          0.8| grayscale value for smallest value         |\n|max_color               |          0.0| grayscale value for largest value          |\n|font                    |  'Helvetica'| facename used for labels                   |\n|font_size               |           14| font size for labels                       |\n|font_bold               |        False| bold labels                                |\n|title                   |         None| title text, optional                       |\n|title_font              |  'Helvetica'| facename used for title                    |\n|title_font_size         |           20| font size for title                        |\n|title_font_bold         |         True| bold title                                 |\n|diagonal_column_labels  |        False| diagonal column labels                     |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffogleman%2Fpunchcard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffogleman%2Fpunchcard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffogleman%2Fpunchcard/lists"}