kenzo-tanaka / dependency_sort Goto Github PK
View Code? Open in Web Editor NEWGitHubのdependenciesを取得し、スターが多い順でソートする。
GitHubのdependenciesを取得し、スターが多い順でソートする。
スクレイピング系の処理をするClassを切り出していいかもしれない
DependencyPage
)Depedencies
)現状各ページからスクレイピングした結果をまとめることはできているが、それらをまとめる場所がないので実装する
配列同士の結合は+
でできる
どうやってモック化するか
現状だと dep_url でセットしたURLにしか送付できないが、ページネーションの対応で他のページにもリクエストを送付したいと思い始めた。
スターが0であればskipしてOK
ValueError: invalid literal for int() with base 10: '18,422'
現状ソートの機能が備わっていないので、実装する
paginationのhtml自体がNoneの場合をチェック
依存関係の数を取得して、30ずつ進んだときの%を表示する
最終ページもlen==1になるので修正が必要
以下を再帰的に行う
イニシャライザかな
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.