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
File details
Details for the file librelingo_json_export-0.11.0.tar.gz
.
File metadata
- Download URL: librelingo_json_export-0.11.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.3.6-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7dfd35d46f81c67dcf4001b8c360a5c7ca1fc02dcee21de166bc335255e2503 |
|
MD5 | 7e8eee8383a0ecd3e31472d2137838e0 |
|
BLAKE2b-256 | 22de4ef362435eb5145e7677714ce2cc2f0df36cb35b7d6f1e3c6a3b843eb092 |
File details
Details for the file librelingo_json_export-0.11.0-py3-none-any.whl
.
File metadata
- Download URL: librelingo_json_export-0.11.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.3.6-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bd78f1fbf99d4601ecc82c84b75dcc8b7e195ba6f521dca928f26205938e335 |
|
MD5 | 6581ec41438f4534438f39a812d81a07 |
|
BLAKE2b-256 | de97e8188519238caba079cfeaacf30514b17ffc6bf9af226168852f00197469 |