Skip to main content

Export LibreLingo courses in the JSON format used by the web app

Project description

librelingo_json_export.export

export_course

export_course(export_path, 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

librelingo_json_export-0.7.1.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

librelingo_json_export-0.7.1-py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page