Pyzotero: a Python client for the Zotero API pyzotero.readthedocs.io
zotero

Update contributors with direct links to code

[ci skip]

+1 -1
AUTHORS
··· 1 1 # This is the official list of Pyzotero authors for copyright purposes. 2 - Stephan Hügel <urschrei@gmail.com> 2 + Stephan Hügel (<urschrei@gmail.com>)
+14 -14
CONTRIBUTORS.md
··· 1 - # This is the list of people (as distinct from AUTHORS) who have contributed code to Pyzotero. 1 + # This is the list of people (as distinct from [AUTHORS](AUTHORS)) who have contributed code to Pyzotero. 2 2 3 3 | **Commits** | **Contributor**<br/> | 4 4 | --- |--- | 5 - | 13 | [TruePath](https://github.com/TruePath) | 6 - | 5 | [patrickfournier](https://github.com/patrickfournier) | 7 - | 2 | [ptgolden](https://github.com/ptgolden) | 8 - | 2 | [bemuzie](https://github.com/bemuzie) | 9 - | 1 | [alee](https://github.com/alee) | 10 - | 1 | [avram](https://github.com/avram) | 11 - | 1 | [christianbrodbeck](https://github.com/christianbrodbeck) | 12 - | 1 | [egh](https://github.com/egh) | 13 - | 1 | [porduna](https://github.com/porduna) | 14 - | 1 | [stakats](https://github.com/stakats) | 15 - | 1 | [epistemery](https://github.com/epistemery) | 16 - | 1 | [jghauser](https://github.com/jghauser) | 17 - | 1 | [mrbiber](https://github.com/mrbiber) | 5 + | 13 | [TruePath](https://github.com/urschrei/pyzotero/commits?author=TruePath) | 6 + | 5 | [patrickfournier](https://github.com/urschrei/pyzotero/commits?author=patrickfournier) | 7 + | 2 | [ptgolden](https://github.com/urschrei/pyzotero/commits?author=ptgolden) | 8 + | 2 | [bemuzie](https://github.com/urschrei/pyzotero/commits?author=bemuzie) | 9 + | 1 | [alee](https://github.com/urschrei/pyzotero/commits?author=alee) | 10 + | 1 | [avram](https://github.com/urschrei/pyzotero/commits?author=avram) | 11 + | 1 | [christianbrodbeck](https://github.com/urschrei/pyzotero/commits?author=christianbrodbeck) | 12 + | 1 | [egh](https://github.com/urschrei/pyzotero/commits?author=egh) | 13 + | 1 | [porduna](https://github.com/urschrei/pyzotero/commits?author=porduna) | 14 + | 1 | [stakats](https://github.com/urschrei/pyzotero/commits?author=stakats) | 15 + | 1 | [epistemery](https://github.com/urschrei/pyzotero/commits?author=epistemery) | 16 + | 1 | [jghauser](https://github.com/urschrei/pyzotero/commits?author=jghauser) | 17 + | 1 | [mrbiber](https://github.com/urschrei/pyzotero/commits?author=mrbiber) |
+2 -2
dump_contributors.py
··· 5 5 as_dict = result.json() 6 6 # remove me from the list 7 7 as_dict.pop(0) 8 - header = "# This is the list of people (as distinct from AUTHORS) who have contributed code to Pyzotero.\n\n| **Commits** | **Contributor**<br/> |\n| --- |--- |\n" 9 - template = "| {contributions} | [{login}]({html_url}) |\n" 8 + 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" 9 + template = "| {contributions} | [{login}](https://github.com/urschrei/pyzotero/commits?author={login}) |\n" 10 10 formatted = (template.format(**dct) for dct in as_dict) 11 11 with open("CONTRIBUTORS.md", 'w') as f: 12 12 f.write(header)