Download and distribute Khan content
Project description
.. image:: https://travis-ci.org/aeby/localkhan.svg?branch=master
:target: https://travis-ci.org/aeby/localkhan
localkhan
---------
Download and distribute Khan Academy content to any devices.
You can then use the Khan exercises and videos in a simple web-based client without a network connection.
Install
```````
.. code:: bash
$ pip install localkhan
Run
```
.. code:: bash
$ localkhan get --lang=es early-math/cc-early-math-counting-topic
Downloading topics...
[################################] 1/1 - 00:02:52
Downloading media assets...
[### ] 50/466 - 00:16:44
$ localkhan serve
****************************************************************
Visit http://10.10.1.100:5000 on the devices to be synchronized.
****************************************************************
(Press CTRL+C to quit)
Help
````
.. code:: bash
Usage:
localkhan get [--base=<path>] [--media-only] [--lang=<code>] <topic>
localkhan serve [--base=<path>] [--host=<ipaddr>] [--port=<number>]
localkhan clean [--base=<path>]
localkhan -h | --help
localkhan --version
Commands:
get - Download topic structure and media assets
serve - Serve the content with a simple exercise viewer
clean - Clean all downloaded content
Options:
--lang=<code> Language code [default: en].
--host=<ip> IP [default: 0.0.0.0].
--port=<number> Port number [default: 5000].
--base=<path> Download content to this directory [default: ~/.lkhan]
--media-only Download only media assets only. Requires a downloaded topic structure.
-h --help Show this screen.
--version Show version.
:target: https://travis-ci.org/aeby/localkhan
localkhan
---------
Download and distribute Khan Academy content to any devices.
You can then use the Khan exercises and videos in a simple web-based client without a network connection.
Install
```````
.. code:: bash
$ pip install localkhan
Run
```
.. code:: bash
$ localkhan get --lang=es early-math/cc-early-math-counting-topic
Downloading topics...
[################################] 1/1 - 00:02:52
Downloading media assets...
[### ] 50/466 - 00:16:44
$ localkhan serve
****************************************************************
Visit http://10.10.1.100:5000 on the devices to be synchronized.
****************************************************************
(Press CTRL+C to quit)
Help
````
.. code:: bash
Usage:
localkhan get [--base=<path>] [--media-only] [--lang=<code>] <topic>
localkhan serve [--base=<path>] [--host=<ipaddr>] [--port=<number>]
localkhan clean [--base=<path>]
localkhan -h | --help
localkhan --version
Commands:
get - Download topic structure and media assets
serve - Serve the content with a simple exercise viewer
clean - Clean all downloaded content
Options:
--lang=<code> Language code [default: en].
--host=<ip> IP [default: 0.0.0.0].
--port=<number> Port number [default: 5000].
--base=<path> Download content to this directory [default: ~/.lkhan]
--media-only Download only media assets only. Requires a downloaded topic structure.
-h --help Show this screen.
--version Show version.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
localkhan-0.7.0.tar.gz
(4.2 MB
view details)
Built Distribution
File details
Details for the file localkhan-0.7.0.tar.gz
.
File metadata
- Download URL: localkhan-0.7.0.tar.gz
- Upload date:
- Size: 4.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a449387a05c095efdb89b3541338e15fe15f7f02c01e5cd82053e32d88896a2 |
|
MD5 | baf0feebc915a1c73143e317e04060c5 |
|
BLAKE2b-256 | b50d037928c1ef8451c23397060f784773fa9c41ae9d19c46ff9b957f76672b3 |
File details
Details for the file localkhan-0.7.0-py2.py3-none-any.whl
.
File metadata
- Download URL: localkhan-0.7.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.3 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24317f17fef80abc725e81e4db3721e5cc766a6423a7ce89be41ac9d163789dd |
|
MD5 | 590f9c60fa8a0f955e65a8ab387bcc0b |
|
BLAKE2b-256 | 0e2aceac5624212df61acd837a1de32884a92730e168dab08c099dfad7810739 |