Skip to main content
.. 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.

Metadata

Release files for localkhan 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for localkhan 0.7.0
File Size Uploaded Provenance Actions
localkhan-0.7.0.tar.gz 4.2 MB Without provenance Details for localkhan-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for localkhan 0.7.0
File Interpreter ABI Platform Actions
localkhan-0.7.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for localkhan-0.7.0-py2.py3-none-any.whl

Total release size: 8.5 MB

Release files / localkhan-0.7.0.tar.gz

Download URL localkhan-0.7.0.tar.gz
Size 4.2 MB
Tags Source
SHA-256 checksum
How to use checksums
8a449387a05c095efdb89b3541338e15fe15f7f02c01e5cd82053e32d88896a2
BLAKE2b-256 checksum
How to use checksums
b50d037928c1ef8451c23397060f784773fa9c41ae9d19c46ff9b957f76672b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / localkhan-0.7.0-py2.py3-none-any.whl

Download URL localkhan-0.7.0-py2.py3-none-any.whl
Size 4.3 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
24317f17fef80abc725e81e4db3721e5cc766a6423a7ce89be41ac9d163789dd
BLAKE2b-256 checksum
How to use checksums
0e2aceac5624212df61acd837a1de32884a92730e168dab08c099dfad7810739
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for localkhan 0.7.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.

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files No provenance

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