+4
-1
CONTRIBUTORS.md
+4
-1
CONTRIBUTORS.md
···
5
| 13 | [TruePath](https://github.com/urschrei/pyzotero/commits?author=TruePath) |
6
| 5 | [patrickfournier](https://github.com/urschrei/pyzotero/commits?author=patrickfournier) |
7
| 3 | [davidlesieur](https://github.com/urschrei/pyzotero/commits?author=davidlesieur) |
8
| 2 | [ptgolden](https://github.com/urschrei/pyzotero/commits?author=ptgolden) |
9
-
| 2 | [bemuzie](https://github.com/urschrei/pyzotero/commits?author=bemuzie) |
10
| 2 | [skybristol](https://github.com/urschrei/pyzotero/commits?author=skybristol) |
11
| 1 | [akx](https://github.com/urschrei/pyzotero/commits?author=akx) |
12
| 1 | [alee](https://github.com/urschrei/pyzotero/commits?author=alee) |
13
| 1 | [avram](https://github.com/urschrei/pyzotero/commits?author=avram) |
14
| 1 | [christianbrodbeck](https://github.com/urschrei/pyzotero/commits?author=christianbrodbeck) |
15
| 1 | [egh](https://github.com/urschrei/pyzotero/commits?author=egh) |
16
| 1 | [fmagin](https://github.com/urschrei/pyzotero/commits?author=fmagin) |
17
| 1 | [pnb](https://github.com/urschrei/pyzotero/commits?author=pnb) |
···
20
| 1 | [epistemery](https://github.com/urschrei/pyzotero/commits?author=epistemery) |
21
| 1 | [tnajdek](https://github.com/urschrei/pyzotero/commits?author=tnajdek) |
22
| 1 | [jghauser](https://github.com/urschrei/pyzotero/commits?author=jghauser) |
···
5
| 13 | [TruePath](https://github.com/urschrei/pyzotero/commits?author=TruePath) |
6
| 5 | [patrickfournier](https://github.com/urschrei/pyzotero/commits?author=patrickfournier) |
7
| 3 | [davidlesieur](https://github.com/urschrei/pyzotero/commits?author=davidlesieur) |
8
+
| 3 | [forrestzhang](https://github.com/urschrei/pyzotero/commits?author=forrestzhang) |
9
| 2 | [ptgolden](https://github.com/urschrei/pyzotero/commits?author=ptgolden) |
10
+
| 2 | [radionest](https://github.com/urschrei/pyzotero/commits?author=radionest) |
11
| 2 | [skybristol](https://github.com/urschrei/pyzotero/commits?author=skybristol) |
12
| 1 | [akx](https://github.com/urschrei/pyzotero/commits?author=akx) |
13
| 1 | [alee](https://github.com/urschrei/pyzotero/commits?author=alee) |
14
| 1 | [avram](https://github.com/urschrei/pyzotero/commits?author=avram) |
15
| 1 | [christianbrodbeck](https://github.com/urschrei/pyzotero/commits?author=christianbrodbeck) |
16
+
| 1 | [Cfeusier](https://github.com/urschrei/pyzotero/commits?author=Cfeusier) |
17
| 1 | [egh](https://github.com/urschrei/pyzotero/commits?author=egh) |
18
| 1 | [fmagin](https://github.com/urschrei/pyzotero/commits?author=fmagin) |
19
| 1 | [pnb](https://github.com/urschrei/pyzotero/commits?author=pnb) |
···
22
| 1 | [epistemery](https://github.com/urschrei/pyzotero/commits?author=epistemery) |
23
| 1 | [tnajdek](https://github.com/urschrei/pyzotero/commits?author=tnajdek) |
24
| 1 | [jghauser](https://github.com/urschrei/pyzotero/commits?author=jghauser) |
25
+
| 1 | [thiswillbeyourgithub](https://github.com/urschrei/pyzotero/commits?author=thiswillbeyourgithub) |
+7
-3
dump_contributors.py
+7
-3
dump_contributors.py
···
3
url = "https://api.github.com/repos/urschrei/pyzotero/contributors"
4
result = httpx.get(url)
5
result.raise_for_status()
6
-
as_dict = [d for d in result.json() if not d["login"].lower().startswith("dependabot")]
7
-
# remove me from the list
8
-
as_dict.pop(0)
9
header = "# This is the list of people (as distinct from [AUTHORS](AUTHORS)) who have contributed code to Pyzotero.\n\n| **Commits** | **Contributor**<br/> |\n| --- |--- |\n"
10
template = "| {contributions} | [{login}](https://github.com/urschrei/pyzotero/commits?author={login}) |\n"
11
with open("CONTRIBUTORS.md", "w", encoding="utf-8") as f:
···
3
url = "https://api.github.com/repos/urschrei/pyzotero/contributors"
4
result = httpx.get(url)
5
result.raise_for_status()
6
+
contributors = result.json()
7
+
# filter out dependabot and meeee
8
+
as_dict = [
9
+
contributor
10
+
for contributor in contributors[1:]
11
+
if not contributor["login"].lower().startswith("dependabot")
12
+
]
13
header = "# This is the list of people (as distinct from [AUTHORS](AUTHORS)) who have contributed code to Pyzotero.\n\n| **Commits** | **Contributor**<br/> |\n| --- |--- |\n"
14
template = "| {contributions} | [{login}](https://github.com/urschrei/pyzotero/commits?author={login}) |\n"
15
with open("CONTRIBUTORS.md", "w", encoding="utf-8") as f: