Export LibreLingo courses in the JSON format used by the web app
Project description
librelingo_json_export.export
export_course
export_course(export_path: str, course: Course, settings=None)
Writes the course to JSON files in the specified path.
Usage example:
from librelingo_yaml_loader import load_course
from librelingo_json_export.export import export_course
course = load_course("./courses/french-from-english")
export_course("./apps/web/src/courses/french-from-english", course)
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
Built Distribution
Close
Hashes for librelingo_json_export-0.10.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 595b09e469c140981de695b667cc09eb2f312f91839dedd750db6e06f6ec605f |
|
MD5 | cd9ad23f57748f865f11d3a5b8936494 |
|
BLAKE2b-256 | 8b50a8def40088d4cbe86f312aa1199a1e839fde3fc97e42dd507f13eb946454 |
Close
Hashes for librelingo_json_export-0.10.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 499cec5cc3073efc27fac5e6fb87d209e1b98401387483c69dbc7f6d2b9e7674 |
|
MD5 | ecb6073b89726c4e2cca2955dc1885ab |
|
BLAKE2b-256 | 578df6760aee4de42272851405e1890f46b74fd3dfc836b3761162fc219e36a2 |