badges / badges/shields

generalize py-pi-versions-from-framework-classifiers?

Open
#10,248 1 comment 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**

Would it be possible to query `requires_dist` in `https://pypi.python.org/pypi//json` (or `https://www.wheelodex.org/json/projects/%3Cpkg%3E` or similar) to create a badge with the version of a particular dependency?

Some sort of generic `py-pi-versions-from-framework-classifiers`

For example: `https://img.shields.io/pypi/dependency_versions/qiskit/numpy` generate ![numpy compatibility](https://img.shields.io/badge/numpy%20compatibility-%3C3%2C%3E%3D1.17-blue)
based on query https://pypi.org/pypi/qiskit/json

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing py-pi-versions-from-framework-classifiers badge and the PyPI JSON endpoint described in the issue. Determine how requires_dist should be queried and represented for an arbitrary dependency. Done means a generic dependency-version badge produces the requested compatibility value from package metadata, with appropriate coverage for the endpoint behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.