在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:konstin/github-wikidata-bot开源软件地址:https://github.com/konstin/github-wikidata-bot开源编程语言:Python 100.0%开源软件介绍:GitHub to Wikidata botUpdate Wikidata entries using metadata from GitHub. For free software projects with a GitHub repository listed in Wikidata, this script will perform the following steps, using metadata collected from the GitHub API:
It is possible to exclude items from being edited by the bot, and also to allow using tags for projects without GitHub releases. Setup and usageFirst install python >=3.6 and poetry, then run Generate a personal access token on GitHub. Create a config.json file with that token and your Wikidata username: {
"username": "my-wikidata-username",
"github-oauth-token": "abcdedf1234567"
} Then run Run Implementation notesFirst, a SPARQL query gathers all the free software projects in Wikidata which have a GitHub repository specified in the source code repository property. For each entry, a cached request to the GitHub API is made, which is authenticated by the OAuth key. The wikidata entries are then inserted using a "exists or insert" logic. For each entry, the GitHub api link is added as reference. Why does the bot not work for item Q…?
StatisticsYou can find detailed statistics on wmflabs. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论