PyNews是一个简单的Python CLI,用于浏览HN网站上的新闻
项目描述
一个用于浏览Hacker News(以及其他,在不久的将来)新闻的Python CLI。也是hn-cli的Python实现。
安装
通过pip
$ pip install pynews
您也可以克隆此项目并通过setup.py进行安装
$ git clone git@github.com:mazulo/pynews_cli.git
$ cd pynews_cli/
$ python setup.py install
用法示例
获取头条新闻
$ pynews -t 10 # or
$ pynews --top-stories 10
# This will show the 10 first *top* stories from the list of 500.
获取新新闻
$ pynews -n 10 # or
$ pynews --news-stories
# This will show the 10 first *new* stories from the list of 500.
查看操作效果
项目详细信息
下载文件
下载您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。
源代码分布
PyNews-0.3.0.tar.gz (5.5 kB 查看哈希值)
构建版本
PyNews-0.3.0-py3-none-any.whl (6.2 kB 查看哈希值)
关闭
PyNews-0.3.0.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | ba53f698da8b72ad06a53f0af2308539d4808952d90aec630c0835d4964fef68 |
|
MD5 | c585923b24bb2bf2d20e95fa78aaa30e |
|
BLAKE2b-256 | eb46e03f6a0347a36f81ad4d1242668cac7c8f6fdb60bd1fcbafda115146e75c |
关闭
PyNews-0.3.0-py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 671435aa8532c16de6058dcad28dbebfb6cf26c8194c4a84f673d54366984122 |
|
MD5 | c173dfa76936b416725bf635f3c3fca0 |
|
BLAKE2b-256 | d48423646e2ff1f7b67211f27d6fe9ffe63880ab0cc6320bdeb154b20246bfa9 |