badges / badges/shields

Add PyPI package size badges

Open
#11,002 2 comments 1 reaction 0 assignees View on GitHub
service-badge
Dominant language
JavaScript
Stars
27.2k
Forks
5.6k
Avg merge
1d 8h
Merged PRs (30d)
46

Description

:clipboard: **Description**

Hi! I couldn't find a badge for python package size

And I propose to add a badge with python package size on PyPI. As it is done for the same [docker images](https://shields.io/badges/docker-image-size)

If this has already been suggested and/or it was decided not to use it, I have not found such an issue

### In additional
most likely, `GET` requests in PyPI are used to get the information. Then the information about the size can be obtained by https://pypi.org/pypi/requests/json

Contributor guide

Open the contributing guide

Research direction

Start by comparing the linked Docker image size badge with the proposed PyPI JSON endpoint at https://pypi.org/pypi/requests/json. Determine how the package size should be selected and displayed, then inspect the existing badge implementation and tests for the closest package or registry badge. Done means a PyPI package-size badge is implemented and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python
Domain
api, devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.