GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — rustpython.github.io/update_contributors.py at master · theangryhobbit/rustpython.github.io

Expand file tree

/

update_contributors.py

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
17 lines (12 loc) · 460 Bytes
/

update_contributors.py

Copy path

File metadata and controls

17 lines (12 loc) · 460 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import json
from urllib.request import urlopen
import os.path
CONTRIBUTORS_URL = "http://api.github.com/repos/RustPython/RustPython/contributors"
CONTRIBUTORS_FILE = os.path.join(
os.path.dirname(__file__), "_data/contributors.json"
)
contributors = json.load(urlopen(CONTRIBUTORS_URL))
del contributors[10:]
contributors = [{"github_username": c["login"]} for c in contributors]
with open(CONTRIBUTORS_FILE, "w") as f:
json.dump(contributors, f)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.