MCPcopy Index your code
hub / github.com/SnailDev/github-hot-hub / li

Function li

main.py:12–21  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

10 """生成归档readme
11 """
12 def li(item):
13 href = item['href']
14 url = item['url']
15 description = item['description']
16 language = item['language']
17 stars = item['stars']
18 folks = item['folks']
19 recent_stars = item['recent_stars']
20 title = href[1:].replace('/', ' / ')
21 return '1. [{}]({})\n - {}\n - language: **{}**    stars: **{}**    folks: **{}**    `{}`\n'.format(title, url, description, language, stars, folks, recent_stars)
22
23 dailyMd = '暂无数据'
24 if daily:

Callers 2

generateArchiveMdFunction · 0.85
generateReadmeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected