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 files for kan-alexandria 0.0.6

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-alexandria 0.0.6
File Size Uploaded
kan_alexandria-0.0.6.tar.gz 19.6 kB Details

Built distribution (wheel)

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

Total release size:36.6 kB

Release files / kan_alexandria-0.0.6.tar.gz

Download URL kan_alexandria-0.0.6.tar.gz
Size 19.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cb3cc687899982bc6f0758fcfdcd27f22047a96592766916363b69a9d3ab0cb6
BLAKE2b-256 checksum
How to use checksums
6a088a91fa8ac03458e69601666160c420a42f068b9934e17ec1e7720e836635
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

Release files / kan_alexandria-0.0.6-py2.py3-none-any.whl

Download URL kan_alexandria-0.0.6-py2.py3-none-any.whl
Size 17.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d0268ec58910712d37cf5f661ecb78b195e721aa2a958e3f8f600d8e4ea1d51b
BLAKE2b-256 checksum
How to use checksums
02a6b96a76ed33da14b49db8e76d389827321d3b5b23f368fa68aa95c41cb737
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

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