Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python 标准模块的实现 #22

Open
bestony opened this issue Oct 5, 2018 · 0 comments
Open

python 标准模块的实现 #22

bestony opened this issue Oct 5, 2018 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@bestony
Copy link
Member

bestony commented Oct 5, 2018

目前的实现是基于 cli 的,因此需要一个可引用模块的实现。

import grank 
result = grank.repo(owner=xxx,repo=xxxx)

此部分完成后可以后续实现 #10 ;
此部分的实现可以参考 #20

第一版本建议 result 返回一个分数。后续可以评估一下返回数组的成本。如果实现简单且不容易出问题,可以考虑将 具体的数据返回前端,从而实现前端的绘图。

@bestony bestony added enhancement New feature or request help wanted Extra attention is needed labels Oct 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant