{"id":17657509,"url":"https://github.com/lnxpy/pypi-chart-badge","last_synced_at":"2026-02-24T09:33:27.496Z","repository":{"id":258881109,"uuid":"866286237","full_name":"lnxpy/pypi-chart-badge","owner":"lnxpy","description":"PyPI download rate badge generator.","archived":false,"fork":false,"pushed_at":"2026-02-12T12:16:24.000Z","size":278,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-12T21:01:28.672Z","etag":null,"topics":[],"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/lnxpy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-02T01:09:23.000Z","updated_at":"2026-02-12T12:16:29.000Z","dependencies_parsed_at":"2025-05-07T09:53:40.951Z","dependency_job_id":null,"html_url":"https://github.com/lnxpy/pypi-chart-badge","commit_stats":null,"previous_names":["lnxpy/pypi-chart-badge"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/lnxpy/pypi-chart-badge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnxpy%2Fpypi-chart-badge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnxpy%2Fpypi-chart-badge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnxpy%2Fpypi-chart-badge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnxpy%2Fpypi-chart-badge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lnxpy","download_url":"https://codeload.github.com/lnxpy/pypi-chart-badge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnxpy%2Fpypi-chart-badge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29777894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T04:54:30.205Z","status":"ssl_error","status_checked_at":"2026-02-24T04:53:58.628Z","response_time":75,"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":[],"created_at":"2024-10-23T14:40:55.261Z","updated_at":"2026-02-24T09:33:27.459Z","avatar_url":"https://github.com/lnxpy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## PyPI Chart Badge [![pyaction](https://img.shields.io/badge/PyAction-black?style=flat\u0026logo=data:image/svg%2bxml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MDAgNjAwIj4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjZmZmOwogICAgICAgIGZpbGwtcnVsZTogZXZlbm9kZDsKICAgICAgfQogICAgPC9zdHlsZT4KICA8L2RlZnM+CiAgPGcgaWQ9IlNWR1JlcG9faWNvbkNhcnJpZXIiIGRhdGEtbmFtZT0iU1ZHUmVwbyBpY29uQ2FycmllciI+CiAgICA8cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0zNjAuNywyMjAuNDNsMjMzLjUzLDI1Mi4zMkwzMzEuNTksMTguODksNS45Niw1ODEuM0gzNzUuMmwtMjI0LjMxLTY1LjUzYy0xMi42MS0zLjY5LTE3Ljc5LTE4Ljc0LTEwLjA3LTI5LjRMMzMxLjM5LDIyMi4xOGM2Ljk4LTkuNzIsMjEuMTgtMTAuNTcsMjkuMy0xLjc0WiIvPgogIDwvZz4KPC9zdmc+)](https://pyaction.imsadra.me/)\n\nThis action allows you to create and put fancy-looking chart badges indicating the recent download rate of your Python packages in the README.\n\n\u003e [!NOTE]\n\u003e Read [this article](https://blog.imsadra.me/display-your-package-download-rate-on-github) to learn how this action works and how to use it in your repositories.\n\n### Examples\nThis chart depicts the download rate of some popular Python packages over the last 15 days. (It dynamically updates every 24 hours)\n\n| fastapi | django | requests | pydantic |\n| ------- | ------ | -------- | ---- |\n| ![](.pypi_chart/artifact/fastapi_badge.svg) | ![](.pypi_chart/artifact/django_badge.svg) | ![](.pypi_chart/artifact/requests_badge.svg) | ![](.pypi_chart/artifact/pydantic_badge.svg) |\n\n\n### Basic Usage\n```yml\nname: Update the PyPI chart badge\n\non:\n  schedule:\n    - cron: \"0 0 1 * *\"  # \u003c= runs every month\n\njobs:\n  update-chart-badge:\n    name: Updating the pypi chart badge\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Updating the badge\n        uses: lnxpy/pypi-chart-badge@v1.4\n        with:\n          package_name: '\u003cPACKAGE-NAME\u003e'\n\n      - uses: EndBug/add-and-commit@v9\n        with:\n          default_author: github_actions\n          message: 'chart badge updated'\n\n```\n\nAfter each run, you'll have your badge stored in `.pypi_chart/badge.svg` of your repository.\n\n\u003e [!IMPORTANT]\n\u003e You have to give the \"Write Access\" to your workflow so that changes can be committed back into the repo.\n\n### Options\n\n| Option              | Default value  | Description                                                                                     | Required |\n| :-----------------: | :------------: |-------------------------------------------------------------------------------------------------|:--------:|\n| `package_name`      | -              | The Package name                                                                                | Yes      |\n| `badge_width`       | `60`           | Badge width size in pixels                                                                      | No       |\n| `badge_height`      | `20`           | Badge height size in pixels                                                                     | No       |\n| `badge_color`       | `'#4492F9'`    | Badge plot color (HEX or CSS color names)                                                       | No       |\n| `badge_dark_color`  | `'#4492F9'`    | Badge plot dark color (HEX or CSS color names)                                                  | No       |\n| `days_limit`        | `15`           | The amount of selected days                                                                     | No       |\n| `output_path`       | `.pypi_chart/` | Badge file path directory                                                                       | No       |\n| `file_name`         | `badge.svg`    | Badge file name and extension (`.png`, `.jpg`, `.jpeg`, `.webp`, and `.pdf` are also supported) | No       |\n\n### License\nMIT license terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnxpy%2Fpypi-chart-badge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flnxpy%2Fpypi-chart-badge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnxpy%2Fpypi-chart-badge/lists"}