从命令行查看github趋势和存储库自述文件
github-trending-cli的Python项目详细描述
Github趋势分析
github trending 将github trending带到终端,允许您在不离开命令行的情况下查看以下内容:
- Github趋势分析
- 存储库自述文件
将github trending与管道、重定向和其他命令行实用程序结合起来。输出到传呼机、写入文件、自动使用cron等。
GitHub趋势分析 附带了一个方便的 可选自动完成程序和交互式帮助 :
< P>![imgur]( https://i.imgur.com/fwhg07x.png )##索引
###一般
- [语法](语法)
- [自动完成和交互式帮助](自动完成和交互式帮助)
- [可自定义突出显示](可自定义突出显示)
- [命令](命令)
###功能
- [查看趋势](查看趋势)
- [查看存储库自述](查看存储库自述)
- [结合管道和重定向](结合管道和重定向)
- [在浏览器中查看结果](在浏览器中查看)
###安装
- [安装](安装)
- [PIP安装](PIP安装)
- [虚拟环境安装](虚拟环境安装)
- [支持的python版本](支持的python版本)
- [支持的平台](支持的平台)
###其他
- [投稿](投稿)
- [学分](学分)
- [联系信息](联系信息)
- [许可证](许可证)
##语法
用法:
< Buff行情> $gt<;命令>;[参数][选项]##自动完成和交互式帮助
或者,您可以启用鱼式完成和带有交互式帮助的自动完成菜单:
< Buff行情> $github趋势在auto completer中,同样的语法适用:
< Buff行情> github>;gt<;命令>;[参数][选项] < P>![imgur]( https://i.imgur.com/fwhg07x.png )##可自定义突出显示
您可以通过更新 ~/.githubtrendingconfig 文件来控制用于突出显示的ANSI颜色。
颜色选项包括:
TT> "黑色"、"红色"、"绿色"、"黄色", "蓝色","洋红","青色","白色"
对于无颜色,将值设置为 none
##命令
< P>![imgur]( https://i.imgur.com/eer1xsj.png )##查看趋势
查看GitHub趋势。
用法:
< Buff行情> $gt趋势[选项][限制]示例:
< Buff行情> GT趋势 $gt趋势–语言python $GT趋势–开发 $GT趋势-每月 $gt趋势–限制10 < P>![imgur]( https://i.imgur.com/5bxmdld.png )##查看存储库自述文件
查看存储库自述文件
用法:
< Buff行情> $gt查看[用户/存储库] < P>![imgur]( https://i.imgur.com/liq7wvq.png ) ![imgur](https://i.imgur.com/vylklbq.png" rel="nofollow">https://i.imgur.com/vylklbq.png)##结合管道和重定向
输出到传呼机、写入文件、自动使用cron等。
示例:
< Buff行情> $GT趋势-La Python-D更少 $gt view blue-9/github trending>;自述文件.md < P>![imgur]( https://i.imgur.com/tkjjweu.png )##在浏览器中查看
在默认浏览器而不是终端中查看链接的Web内容。
用法:
< Buff行情> $gt<;命令>;[参数][选项]-b $gt<;command>;[参数][选项]–浏览器##安装
###管道安装
< >[PYPI版本](http://badge.fury.io/py/github trending cli.svg)(http://badge.fury.io/py/github-trending-cli" rel="nofollow">https://badge.fury.io/py/github trending cli.svg)(http://badge.fury.io/py/github trending cli)[![pypi]( https://img.shields.io/pypi/pyversions/github trending cli.svg)(https://pypi.python.org/pypi/github trending cli/ )github trending 位于[pypi]( https://pypi.python.org/pypi/github trending cli )。以下命令将安装github trending < Buff行情> $pip安装github trending cli
您还可以从github源安装最新的github趋势,其中可以包含尚未推送到pypi的更改:
< Buff行情> $pip安装git+https://github.com/blue-9/github trending.git如果您没有安装在virtualenv中,请使用sudo运行 < Buff行情> $sudo pip安装github trending cli
安装后,运行可选的github trending自动完成程序,并提供交互式帮助:
< Buff行情> $github趋势运行命令:
< Buff行情> $gt<;命令>;[参数][可选]###Mac OS X 10.11 El Capitan用户
Apple及其包含的Python包依赖项存在已知问题(有关更多信息,请访问https://github.com/pypa/pip/issues/3165" rel="nofollow">https://github.com/pypa/pip/issues/3165)。我们正在研究解决此问题的方法,但同时,要安装github trending,您可以运行:
< Buff行情> $sudo pip install github trending–upgrade–ignore installed six###支持的Python版本
- 蟒蛇2.6
- python 2.7版
- 巨蟒3.3
- 巨蟒3.4
- 巨蟒3.5
###支持的平台
- Mac OS X
- 在OS X 10.12上测试
##开发人员安装
如果您有兴趣参与github trending cli,请运行以下命令:
< Buff行情> $git clone https://github.com/blue-9/github trending.git $pip安装-e。 $github趋势 $gt<;命令>;[参数][选项]##贡献
欢迎投稿!
查看[贡献指南](https://github.com/blue-9/github-trending/blob/master/contribution.md" rel="nofollow">https://github.com/blue-9/github trending/blob/master/contribution.md)了解如何:
- 提交问题
- 提交请求
##学分
- [haxor news]( https://github.com/donnemartin/haxor news )由[donnemartin]提供(https://github.com/donnemartin" rel="nofollow">https://github.com/donnemartin)
- [MDV]( https://github.com/axiros/terminal\u markdown\u viewer )(由[axiros]提供)(https://github.com/axiros" rel="nofollow">https://github.com/axiros)
- [github ternding]( https://github.com/evyatarmeged/github trending )由[evyatarmeged]( https://github.com/evyatarmeged )
- [点击](https://github.com/pallets/click" rel="nofollow">https://github.com/pallets/click)由[mitsuhiko](https://github.com/mitsuhiko" rel="nofollow">https://github.com/mitsuhiko)
- [python prompt toolkit]( https://github.com/jonathansliveriers/python prompt toolkit )由[jonathansliveriers]编写(https://github.com/jonathansliveriers" rel="nofollow">https://github.com/jonathansliveriers)
- [请求]( https://github.com/kennethreitz/requests )由[kennethreitz]( https://github.com/kennethreitz )
##联系信息
请随时与我联系,讨论任何问题、问题或意见。
我的联系信息可以在我的[Github页面]( https://github.com/blue-9 )。
##许可证
< >[许可](http://www.apache.org/licenses/license-2.0.html" rel="nofollow">http://img.shields.io/:license apache blue.svg")(http://www.apache.org/licenses/license-2.0.html) < Buff行情>版权所有2018 Yuya Chiba
根据apache许可证2.0版(以下简称"许可证")授权; 除非符合许可证,否则您不能使用此文件。 您可以在
< Buff行情> http://www.apache.org/licenses/license-2.0除非适用法律要求或书面同意,否则软件 根据许可证分发是按"原样"分发的, 无任何明示或默示的保证或条件。 有关管理权限的特定语言和 许可下的限制。