aboutsummaryrefslogtreecommitdiffstats
path: root/bsfs/schema/__init__.py
blob: f53512ec0309fe184e7d1c924dccf4e37e43cb99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
"""

Part of the BlackStar filesystem (bsfs) module.
A copy of the license is provided with the project.
Author: Matthias Baumgartner, 2022
"""
# imports
import typing

# inner-module imports
from .schema import Schema
from .serialize import from_string, to_string
from .types import Literal, Node, Predicate, Vertex, Feature, \
    ROOT_VERTEX, ROOT_NODE, ROOT_LITERAL, \
    ROOT_NUMBER, ROOT_TIME, \
    ROOT_ARRAY, ROOT_FEATURE, \
    ROOT_PREDICATE

# exports
__all__: typing.Sequence[str] = (
    'Literal',
    'Node',
    'Predicate',
    'Schema',
    'from_string',
    'to_string',
    )

## EOF ##