菅直人是一个图书搜索工具,所以你花更少的时间搜索和更多的时间阅读。

kan的Python项目详细描述


(看)kan:读取

Build StatusGitHub versionPyPI versionDocumentation Status

kan是一个图书搜索工具,所以你花更少的时间搜索,更多的时间 时间阅读。

安装

从pypi安装

$ pip install kan

来源

要获得要试用的最新版本,请克隆github repo。

$ git clone https://github.com/jjangsangy/kan.git

使用setup.py安装

# For Python 2.x Install
$ python setup.py install

# For Python 3.x
$ python3 setup.py install

用法

# Print Out Help Instructions
$ kan -h
Usage: kan [-h] [-v] [--title name] [--author name] [--max n]
           [--subject topic] [--language code]
           {title,isbn,author} ...

Kan helps you find the book

positional arguments:
  {title,isbn,author}  Search by
    title              Book title
    isbn               ISBN code
    author             Book author

optional arguments:
  -h, --help           show this help message and exit
  -v, --version        show program's version number and exit
  --title name         Title of the book
  --author name        Name of the author
  --max n              Maximum results to get per query: default=10, max=40
  --subject topic      Specify subject matter by category
  --language code      Restrict the search results to those with a certain
                       language code

最简单的方法是按书名搜索。默认情况下,您将获得 前三名。

$ kan title 'Fifty Shades'
Title: Fifty Shades of Grey
Author: E L James
ISBN_13: 9781448149452

Title: Fifty Shades Darker
Author: E. L. James
ISBN_10: 0385537689

Title: Fifty Shades Freed
Author: E L James
ISBN: N/A

更一般地搜索并调整搜索参数。

$ kan --language ko --max 5 author 'J. K. Rowling' --top
Title: 해리포터와마법사의돌
Author: J. K. Rowling, 김혜원
OTHER: OCLC:226262132

Title: 해리포터와혼혈왕자
Author: J. K. Rowling, 최인자
OTHER: OCLC:226262119

Title: 해리포터와비밀의방
Author: J. K. Rowling, 김혜원
OTHER: OCLC:226262164

Title: 해리포터와불의잔
Author: 조앤 K. 롤링, 김혜원
ISBN_10: 8983920955

Title: 해리포터와죽음의성물
Author: J. K. Rowling, 최인자
ISBN_10: 898392067X

发布历史记录

0.0.2

  • 错误修复和速度改进。更紧凑的界面
  • 图书型号更新
  • 完成了google books的后端api
  • 添加了详细标志

0.0.1

  • 错误修复
  • 通过在创建url时应用fieldstring参数,改进了加载时间。
  • 添加子Parser
  • 允许使用ISBN进行搜索

0.0.0

  • PYPI上的初始注册和发布
  • 生成命令行分析器
  • google books的基本客户端接口和实现
  • 添加了对可选搜索参数的支持

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
图像处理Java 8 ImageIO在Linux中无法正确读取JPEG   spring如何用Java 1.4兼容版本替换@Resource注释   java Http请求参数类型传播   在web浏览器中看不到Java Maven Tomcatplugin web应用程序   jvm在Java中使用直接内存的目的是什么?   如何从列表转换为字符串java   java setAdapter gridview发送上下文   SwingJava。方法上的lang.NullPointerException   java什么是shell脚本、makefile和ant文件   当使用getGraphics()方法时,java JPanel图形会闪烁   java如何将迭代转换为递归?   java为什么我的抽屉菜单在同一个XML上有ConstraintLayout时没有响应?   java如何在图像上画一个圆?   Android studio:Rabbitmq:Error:java。lang.ClassNotFoundException:类io。千分尺。果心仪器找不到仪表注册表