Website for course materials
This is a server for open course material.
To use it, you will need some content.
Usually, the repository with the content will require the
and will run using
python -m naucse.
Install from a virtual environment.
To install the latest release:
(venv)$ python -m pip install naucse
To install from a cloned repository, for development:
(venv)$ python -m pip install -e.[dev]
To run the serve, either change (
cd) to the directory with content,
NAUCSE_ROOT_PATH to that directory.
(venv)$ python -m naucse serve
serve, you can run
freeze to generate a static website.
See Elsa for other usage, including
deployment to GitHub Pages.
Courses may be rendered from external repositories.
This is a security risk, so such courses are disabled by default.
NAUCSE_TRUSTED_REPOS to a space-separated globs of repository URLs
to allow. The URLS have a
In an isolated environment, you can set
Tests can be run using
(venv)$ python -m pytest
The code is licensed under the terms of the MIT license, see LICENSE.MIT file for full text. By contributing code to this repository, you agree to have it licensed under the same license.
Content has its own license specified in the appropriate matadata. Only free content licenses are used. By contributing to an already licensed document, you agree to have it licensed under the same license. (And feel free to add yourself to the authors list in its metadata.) When contributing new document(s) a license must be specified in the metadata.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size naucse-0.3-py3-none-any.whl (780.7 kB)||File type Wheel||Python version py3||Upload date||Hashes View|