Skip to main content

A extensible command line tool use for subscribe online comic sites.

Project description

cmdlr is a extensible command line tool use for subscribe online comic sites.

Install

Make sure your python >= 3.4 and already install the pip, then…

pip3 install cmdlr

How to use

Set Your Local Comics Directory

cmdlr opt --output-dir <DIR>

Default comics directory is ~/comics.

Check which site be supported

cmdlr azr --list

Subscribe a comic

cmdlr -s <COMIC>

The <COMIC> can be a comic_id or comic’s url (the url usually is comic index page, but defined by analyzer independent).

Check current subscribed status

cmdlr -l

It will listing all subscribed comics in your database. If want differ detail level, please combine -v option like…

cmdlr -vl

or more…

cmdlr -l -vv

Download all your comics

cmdlr -d

All “no downloaded volumes” will be downloaded into your output directory.

Check comic sites update

cmdlr -r

           # or
cmdlr -rd  # check updated then download

Subscription Database

You can backup database manually if you want. The database location is…

~/.cmdlr.db

How to create a new analyzer plugin?

Very easy:

  1. Clone cmdlr project from http://bitbucket.org/civalin/cmdlr.

  2. Check src/cmdlr/comicanalyzer.py to learn what function you need to implement. And reference other analyzer plugin to create yours.

  3. Put your .py plugin file into src/cmdlr/analyzers directory.

  4. Run ./cmdlr.py under project directory to test the plugin.

  5. When you done, don’t forget make a pull request to me. Thanks!

Happy hacking! :D

LICENSE

MIT License

Copyright (c) 2014~2015 CIVA LIN

Changelog

2.0.2

  • Enhanced: Better exception processing.

2.0.1

  • Enhanced: Truly avoid the title conflict.

  • Enhanced: Windows platform path assign.

2.0.0

This is a fully rewrite version

  • Backend DB: tinydb -> sqlite

  • Collect more data.

  • Remove search function.

  • make it extensible.

1.1.0

  • Init release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cmdlr-2.0.2.tar.gz (18.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

cmdlr-2.0.2-py3.4.egg (65.3 kB view details)

Uploaded Egg

cmdlr-2.0.2-py3-none-any.whl (32.7 kB view details)

Uploaded Python 3

File details

Details for the file cmdlr-2.0.2.tar.gz.

File metadata

  • Download URL: cmdlr-2.0.2.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cmdlr-2.0.2.tar.gz
Algorithm Hash digest
SHA256 79264b506e7b25fb794017ee68d4cc7a036c10b357eaa780de2050a3a96141e6
MD5 f6c1672b35fe4e817a8a3309dc70c04c
BLAKE2b-256 bee0a8977d9a9ce83e0ae33005d9d629c91d8fd3fbb06c6f24297f4ee829dbd5

See more details on using hashes here.

File details

Details for the file cmdlr-2.0.2-py3.4.egg.

File metadata

  • Download URL: cmdlr-2.0.2-py3.4.egg
  • Upload date:
  • Size: 65.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cmdlr-2.0.2-py3.4.egg
Algorithm Hash digest
SHA256 7fe0944c0393ee17ff16261f7eda22779eff846ed91f5924a5c149c66ced7d2a
MD5 070c86e861e91b776803969eb2b936cf
BLAKE2b-256 840d90d0de0081c6ab162b2df7eee3652380985f283831ea7152f4f29f5db82f

See more details on using hashes here.

File details

Details for the file cmdlr-2.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cmdlr-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3d292fd3087d8741f50efe0aaf5324dffa5da722ab938a28c8c8d9e2e67b506e
MD5 8d95683cb5fef574c38a0fbdd3e7b530
BLAKE2b-256 5198f3d99182bf9b0a6338f64bbfb464f017f4a92e90549dcc8f3093a9258cec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page