Merge branch 'vinta:master' into 2Master

This commit is contained in:
Goldensloth420
2026-10-10 00:03:09 -05:00
committed by GitHub
126 changed files with 12319 additions and 1332 deletions
+2 -1
View File
@@ -1 +1,2 @@
# These are supported funding model platforms
open_collective: awesome-python
custom: https://awesome-python.com/sponsorship/
@@ -1,10 +0,0 @@
---
name: Add new library to this list
about: ''
title: ''
labels: ''
assignees: ''
---
**Please open a Pull Request instead.**
-10
View File
@@ -1,10 +0,0 @@
---
name: Add XXX
about: Add new item to the list
title: ''
labels: ''
assignees: ''
---
**Please open a Pull Request instead.**
+21 -6
View File
@@ -1,11 +1,26 @@
## What is this Python project?
## Project
Describe features.
[project-name](url)
## What's the difference between this Python project and similar ones?
## Checklist
Enumerate comparisons.
- [ ] I read [CONTRIBUTING.md](https://github.com/vinta/awesome-python/blob/master/CONTRIBUTING.md) - awesome-python is a shortlist, not a catalog
- [ ] One project per PR
- [ ] PR title format: `Add project-name`
- [ ] Entry format: `- [pypi-name](https://github.com/owner/repo) - Description ending with period.`
- [ ] Display name is the PyPI package name
- [ ] Placed in an existing use case (new sections and subcategories are maintainer-only)
- [ ] Meets all Quality Requirements: active, stable, documented, at least 1 month old
--
## Which Tier
Anyone who agrees with this pull request could submit an *Approve* review to it.
Pick one:
- [ ] **Obvious choice** - a tool an experienced Python developer would name when asked "what do I use for this?"
- [ ] **Challenger** - not yet the obvious choice, but a credible successor to one. Give adoption-trajectory evidence, not popularity alone.
Explain:
## Displacement
If the use case is at its cap, name the entry your project replaces and argue that yours does that entry's job better. One in, one out.
+33
View File
@@ -0,0 +1,33 @@
name: CI
on:
push:
branches: [master]
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Install uv
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
with:
enable-cache: true
- name: Install dependencies
run: uv sync --group build --locked
- name: Run tests
run: make test
- name: Build website
run: make build
+105
View File
@@ -0,0 +1,105 @@
name: Deploy Website
on:
push:
branches: [master]
schedule:
- cron: "0 0 * * *"
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
deploy:
if: github.repository == 'vinta/awesome-python'
runs-on: ubuntu-latest
environment:
name: github-pages
url: https://awesome-python.com/
steps:
- uses: actions/checkout@v7
with:
# build.py reads each page's last change from git history for the sitemap's lastmod
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
with:
enable-cache: true
- name: Install dependencies
run: uv sync --group build --locked
- name: Run tests
if: github.event_name == 'schedule'
run: make test
- name: Get date
id: date
run: echo "today=$(date -u +%Y-%m-%d)" >> "$GITHUB_OUTPUT"
- name: Restore star data cache
id: cache-stars
uses: actions/cache/restore@v6
with:
path: website/data/github_stars.json
key: github-stars-${{ steps.date.outputs.today }}
restore-keys: github-stars-
- name: Fetch GitHub stars
id: fetch-stars
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: make fetch_github_stars
- name: Save star data cache
if: steps.fetch-stars.outcome == 'success'
uses: actions/cache/save@v6
with:
path: website/data/github_stars.json
key: github-stars-${{ steps.date.outputs.today }}
- name: Verify star data exists
run: |
if [ ! -f website/data/github_stars.json ]; then
echo "::error::github_stars.json not found. No cache and fetch failed or was skipped."
exit 1
fi
python -m json.tool website/data/github_stars.json > /dev/null
- name: Restore PyPI download data cache
uses: actions/cache/restore@v6
with:
path: website/data/pypi_downloads.tsv
key: pypi-downloads-${{ steps.date.outputs.today }}
restore-keys: pypi-downloads-
- name: Fetch PyPI downloads
id: fetch-downloads
continue-on-error: true
run: make fetch_pypi_downloads
- name: Save PyPI download data cache
if: steps.fetch-downloads.outcome == 'success'
uses: actions/cache/save@v6
with:
path: website/data/pypi_downloads.tsv
key: pypi-downloads-${{ steps.date.outputs.today }}
- name: Build website
run: make build
- name: Upload artifact
uses: actions/upload-pages-artifact@v5
with:
path: website/output/
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v5