Skip to content

Commit

Permalink
add shex
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-1991 committed May 24, 2024
1 parent 6b160a8 commit 6da218a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The command line tool can be used to convert markdown files to various formats.
md-models -i model.md -o lib.py -l python-dataclass
```

This will read the input file `model.md` and write the output to `lib.py` using the Python dataclass template. For an overview of all available templates, you can use the following command:
This will read the input file `model.md` and write the output to `lib.py` using the Python dataclass template. Alternatively, you can also pass a URL as input to fetch the model remotely. For an overview of all available templates, you can use the following command:

```bash
md-models --help
Expand All @@ -39,12 +39,14 @@ The following templates are available:
- `xml-schema`: XML schema definition
- `json-schema`: JSON schema definition
- `shacl`: SHACL shapes definition
- `shex`: ShEx shapes definition


## ToDo's

- [ ] Python PyDantic template
- [ ] SQL template
- [x] Shex template
- [ ] Python SQLModel template
- [ ] File validation (XML, JSON, SHACL etc.)
- [ ] Python bindings using PyO3

0 comments on commit 6da218a

Please sign in to comment.