Skip to content

Commit 60276ae

Browse files
committed
Remove confusing "partial" support. It's now always just "unknown".
1 parent 978fa31 commit 60276ae

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ On the site's front page is a list of the most popular Python packages on PyPI
99
(collected via https://pypistats.org/), along with an indication via RAG
1010
(red/amber/green 🚦) of the package's status for use with PyScript. A red status
1111
🟥 means the package is not, or cannot be supported by PyScript, an amber status
12-
🟨 means either the status of PyScript support is unknown or requires adjustment,
12+
🟨 means the status of PyScript support is unknown,
1313
and a green status 🟩 means the package is supported by PyScript. Clicking on
1414
the package takes you to the page for that package with more details.
1515

@@ -48,6 +48,7 @@ This will return a JSON object containing the following metadata (or respond wit
4848
* *status*: The support status of the package (e.g., "green", "amber", "red").
4949
* *summary*: The summary of the package from PyPI.
5050
* *notes*: Brief notes, in Markdown, about the package's compatibility with PyScript.
51+
* *pyodide_versions*: A description of Pyodide/PyScript version support for each version of the package.
5152
* *updated_by*: The name or handle of the person who last updated this information.
5253
* *updated_at*: The ISO 8601 timestamp of when this information was last updated.
5354

@@ -57,7 +58,7 @@ For example, in Python, you can use the `requests` library to fetch such data ab
5758
```
5859
import requests
5960
60-
response = requests.get("https://pkg.pyscript.net/api/package/pandas.json")
61+
response = requests.get("https://pyscript.github.io/pyscript-packages/api/package/pandas.json")
6162
if response.status_code == 200:
6263
package_data = response.json()
6364
print(package_data)
@@ -68,13 +69,13 @@ else:
6869
If you wish to access data for all packages at once, you can use the following endpoint:
6970

7071
```
71-
GET /api/all.json
72+
GET api/all.json
7273
```
7374

7475
Data about the top 100 packages is also available through this endpoint:
7576

7677
```
77-
GET /api/top_100_pypi_packages.json
78+
GET api/top_100_pypi_packages.json
7879
```
7980

8081
## Developer Setup

help/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ <h2 id="how">How does it work?</h2>
6060

6161
<ul>
6262
<li>❌ Red - Not Supported</li>
63-
<li>⚠️ Amber - Partial Support / Unknown</li>
63+
<li>⚠️ Amber - Unknown Support</li>
6464
<li>✅ Green - Supported</li>
6565
</ul>
6666

@@ -73,7 +73,7 @@ <h2 id="contribute">How do I contribute?</h2>
7373
<p>Contribute by reporting the status of packages you have tested with PyScript. This helps keep the information up-to-date and useful for
7474
everyone.</p>
7575

76-
<p>If a package is in the amber (partial support / unknown) state, a fragment of code and a feedback form are provided to help gather more information.
76+
<p>If a package is in the amber (unknown) state, a fragment of code and a feedback form are provided to help gather more information.
7777
Run the provided code snippet in a PyScript environment to test the package's compatibility.</p>
7878

7979
<p>After running the test, use the feedback form

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ <h2 class="section-title">📊 Popular Python Packages</h2>
6868

6969
<div class="status-key">
7070
<span class="key-item"><span class="status-badge green"></span> Supported</span>
71-
<span class="key-item"><span class="status-badge amber">⚠️</span> Partial/Unknown</span>
71+
<span class="key-item"><span class="status-badge amber">⚠️</span> Unknown</span>
7272
<span class="key-item"><span class="status-badge red"></span> Not Supported</span>
7373
</div>
7474

package/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ async def main():
128128
}
129129
status_values = {
130130
"red": "❌ Red - Not Supported",
131-
"amber": "⚠️ Amber - Partial Support / Unknown",
131+
"amber": "⚠️ Amber - Unknown Support",
132132
"green": "✅ Green - Supported",
133133
}
134134
status = package_data.get("status", "amber")

0 commit comments

Comments
 (0)