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

Uploaded Source

Built Distribution

librelingo_json_export-0.2.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file librelingo_json_export-0.2.1.tar.gz.

File metadata

  • Download URL: librelingo_json_export-0.2.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.5 Linux/5.10.39-1-lts

File hashes

Hashes for librelingo_json_export-0.2.1.tar.gz
Algorithm Hash digest
SHA256 11fd1b41781d36209118cd3a751cdefc1cf7dd19a30058bf5f3235b5a23be2ff
MD5 dd482c7daf2c649be5a1e05e639b3425
BLAKE2b-256 0931e97642cc1142a06414e826903c3f86d68d189d189967ac3d1af8db279844

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for librelingo_json_export-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e5bb132dec98520e8418ca97a7dbff0d2083782f398eb7a768e8e2f19a54b597
MD5 f0803940eadc2ad489d7a8e4357bfaae
BLAKE2b-256 2b77e03d7464a464fdcdd2272347792fa929dd42bf2c2dfbd7a3e1077270a9bb

See more details on using hashes here.

Provenance

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