+4
-1
CONTRIBUTORS.md
+4
-1
CONTRIBUTORS.md
···
5
5
| 13 | [TruePath](https://github.com/urschrei/pyzotero/commits?author=TruePath) |
6
6
| 5 | [patrickfournier](https://github.com/urschrei/pyzotero/commits?author=patrickfournier) |
7
7
| 3 | [davidlesieur](https://github.com/urschrei/pyzotero/commits?author=davidlesieur) |
8
+
| 3 | [forrestzhang](https://github.com/urschrei/pyzotero/commits?author=forrestzhang) |
8
9
| 2 | [ptgolden](https://github.com/urschrei/pyzotero/commits?author=ptgolden) |
9
-
| 2 | [bemuzie](https://github.com/urschrei/pyzotero/commits?author=bemuzie) |
10
+
| 2 | [radionest](https://github.com/urschrei/pyzotero/commits?author=radionest) |
10
11
| 2 | [skybristol](https://github.com/urschrei/pyzotero/commits?author=skybristol) |
11
12
| 1 | [akx](https://github.com/urschrei/pyzotero/commits?author=akx) |
12
13
| 1 | [alee](https://github.com/urschrei/pyzotero/commits?author=alee) |
13
14
| 1 | [avram](https://github.com/urschrei/pyzotero/commits?author=avram) |
14
15
| 1 | [christianbrodbeck](https://github.com/urschrei/pyzotero/commits?author=christianbrodbeck) |
16
+
| 1 | [Cfeusier](https://github.com/urschrei/pyzotero/commits?author=Cfeusier) |
15
17
| 1 | [egh](https://github.com/urschrei/pyzotero/commits?author=egh) |
16
18
| 1 | [fmagin](https://github.com/urschrei/pyzotero/commits?author=fmagin) |
17
19
| 1 | [pnb](https://github.com/urschrei/pyzotero/commits?author=pnb) |
···
20
22
| 1 | [epistemery](https://github.com/urschrei/pyzotero/commits?author=epistemery) |
21
23
| 1 | [tnajdek](https://github.com/urschrei/pyzotero/commits?author=tnajdek) |
22
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
3
url = "https://api.github.com/repos/urschrei/pyzotero/contributors"
4
4
result = httpx.get(url)
5
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)
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
+
]
9
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"
10
14
template = "| {contributions} | [{login}](https://github.com/urschrei/pyzotero/commits?author={login}) |\n"
11
15
with open("CONTRIBUTORS.md", "w", encoding="utf-8") as f: