Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

See video with downloading by multithread

Project description


pypi docker license workflows workflows



See video with downloading by multithread.


> pip install kanp


Usage: kanp [OPTIONS] COMMAND [ARGS]...

  -V, --version  Show the version and exit.
  -h, --help     Show this message and exit.

  serve  Serve video server.
  watch  Open video server url with webbrowser.

Serve video server

Usage: kanp serve [OPTIONS]

  Serve video server.

  --host TEXT         Video server host.  [default:]
  -p, --port INTEGER  Video server port.  [default: 8000]
  -h, --help          Show this message and exit.
> kanp serve

Or run with docker:

> docker run -d -p 8000:8000 long2ice/kanp

And you will see:

INFO:     Started server process [41254]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on (Press CTRL+C to quit)
CINFO:     Shutting down
INFO:     Waiting for application shutdown.
INFO:     Application shutdown complete.
INFO:     Finished server process [41254]

Watch video by web browser

Usage: kanp watch [OPTIONS]

  Open video server url with webbrowser.

  -s, --server TEXT  [default:]
  -u, --url TEXT     Video url or site url support by youtube-dl.  [required]
  -y, --youtube-dl   Get real video url by youtube-dl.  [default: False]
  -h, --help         Show this message and exit.
> kanp watch -u '' -y

Will open browser automatically and play video.

Just enjoy it with huge speed!


This project is licensed under the Apache-2.0 License.

Project details

Download files

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

Files for kanp, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size kanp-0.1.0-py3-none-any.whl (14.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size kanp-0.1.0.tar.gz (8.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page