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: 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


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.11.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

librelingo_json_export-0.11.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

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

Hashes for librelingo_json_export-0.11.0.tar.gz
Algorithm Hash digest
SHA256 b7dfd35d46f81c67dcf4001b8c360a5c7ca1fc02dcee21de166bc335255e2503
MD5 7e8eee8383a0ecd3e31472d2137838e0
BLAKE2b-256 22de4ef362435eb5145e7677714ce2cc2f0df36cb35b7d6f1e3c6a3b843eb092

See more details on using hashes here.

File details

Details for the file librelingo_json_export-0.11.0-py3-none-any.whl.

File metadata

File hashes

Hashes for librelingo_json_export-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5bd78f1fbf99d4601ecc82c84b75dcc8b7e195ba6f521dca928f26205938e335
MD5 6581ec41438f4534438f39a812d81a07
BLAKE2b-256 de97e8188519238caba079cfeaacf30514b17ffc6bf9af226168852f00197469

See more details on using hashes here.

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