Skip to main content

(看) Kan: To Read

Build Status GitHub version PyPI version Documentation Status

Kan is book search utility so you spend less time searching and more time reading.

Installation

Install from PyPi

$ pip install kan

From Source

To get the latest version to try out, clone the github repo.

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

Use setup.py to install

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

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

Usage

# 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

Simplest way is to search for book by title. By default, you’ll get the top 3 matches.

$ 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

Search more generally and tweak your search parameters.

$ 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

Release History

0.0.2

  • Bug fixes and speed improvements. More compact interface

  • Book models update

  • Completed Backend API for Google Books

  • Added verbose flag

0.0.1

  • Bug Fixes

  • Improved loadtime by applying fieldstring parameter at url creation.

  • Added Subparser

  • Allow search using ISBN

0.0.0

  • Initial registration and release on pypi

  • Built command line parser

  • Basic Client Interface and Implementation for Google Books

  • Added support for optional search arguments

Release files for kan 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kan 0.0.2
File Size Uploaded
kan-0.0.2.tar.gz 13.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kan 0.0.2
File Interpreter ABI Platform
kan-0.0.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 31.6 kB

Release files / kan-0.0.2.tar.gz

Download URL kan-0.0.2.tar.gz
Size 13.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c251bbf2a9fdba12912a11dbe84f1ebed97e47e650f73b00df08a62b689e6496
BLAKE2b-256 checksum
How to use checksums
dcc5a0bb2a98a4b3f111b7e6f4888f87efa2d796acf73afd90fde262720bf812
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / kan-0.0.2-py2.py3-none-any.whl

Download URL kan-0.0.2-py2.py3-none-any.whl
Size 18.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c291a04fb662881fddfcefe1c5f60ab26a545528d40f40cc33e4ad2266bc5a8c
BLAKE2b-256 checksum
How to use checksums
6fd550912c0606ee6b5cce7a0887284c7dfcd89e8338618008c8abde0476fdba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page