Kanp
Introduction
See video with downloading by multithread.
Install
> pip install kanp
Usage
Usage: kanp [OPTIONS] COMMAND [ARGS]...
Options:
-V, --version Show the version and exit.
-h, --help Show this message and exit.
Commands:
serve Serve video server.
watch Open video server url with webbrowser.
Serve video server
Usage: kanp serve [OPTIONS]
Serve video server.
Options:
--host TEXT Video server host. [default: 0.0.0.0]
-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 http://0.0.0.0:8000 (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.
Options:
-s, --server TEXT [default: http://127.0.0.1:8000]
-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 'https://www.youtube.com/watch?v=WLVuUTUbhkw' -y
Will open browser automatically and play video.
Just enjoy it with huge speed!
License
This project is licensed under the Apache-2.0 License.
Metadata
Release files for kanp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kanp-0.1.0.tar.gz | 8.4 kB | Without provenance | Details for kanp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kanp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for kanp-0.1.0-py3-none-any.whl |
Total release size: 22.9 kB
Release files / kanp-0.1.0.tar.gz
| Download URL | kanp-0.1.0.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
715a5c75812714399ebcf4512041d10ea26c7d16a74b0bccf42e84a6046de38c
|
|
BLAKE2b-256 checksum How to use checksums |
d4f4bae95b3355dfe077400414ddf25be22dd4c74a361c5839f24b2f80e6647f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.8.0 tqdm/4.45.0 CPython/3.8.3
|
Release files / kanp-0.1.0-py3-none-any.whl
| Download URL | kanp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2bb49c970cb610ccf3953cce176127fd557ceb1354809b209de99ce2502a8835
|
|
BLAKE2b-256 checksum How to use checksums |
4c335264b2b618fe4060283fdfbfb82205cb185ac9f0a0a643da569cdf136d38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.8.0 tqdm/4.45.0 CPython/3.8.3
|
Security for kanp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.