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

Uploaded Source

Built Distribution

librelingo_json_export-0.1.7-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: librelingo_json_export-0.1.7.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.4.94-1-lts

File hashes

Hashes for librelingo_json_export-0.1.7.tar.gz
Algorithm Hash digest
SHA256 8abcfd74cc697fc7396be3a0ab14364d6691a871bba7e6d5d3295971520a6f71
MD5 e794e113f62e267469ca306d3f7d8d7f
BLAKE2b-256 e75119820bb3dc00408232bde98fca99e5e84cf2a890cf8609c9fdae718138b5

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for librelingo_json_export-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 eb20b49f5f264cf31c36c7f7427fde39834ae2f593aa3513fb86b1f53e2294f1
MD5 5e34a550d634f33d9997175a4287aae8
BLAKE2b-256 5bed663422ecd004144085bdda501b5dc36717948d9755a73db6243fdeae5355

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