Metadata-Version: 2.1
Name: librelingo-json-export
Version: 0.1.7
Summary: Export LibreLingo courses in the JSON format used by the web app
License: AGPLv3
Author: Dániel Kántor
Author-email: git@daniel-kantor.com
Requires-Python: >=3.9,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: librelingo-types (>=0.1.1,<0.2.0)
Requires-Dist: librelingo-utils (>=1.0.0,<2.0.0)
Requires-Dist: librelingo-yaml-loader (>=0.1.2,<0.2.0)
Requires-Dist: python-slugify (>=4.0.1,<5.0.0)
Description-Content-Type: text/markdown

<a name="librelingo_json_export.export"></a>
# librelingo\_json\_export.export

<a name="librelingo_json_export.export.export_course"></a>
#### export\_course

```python
export_course(export_path, course, settings=None)
```

Writes the course to JSON files in the specified path.

### Usage example:

```python
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)
```


