blob: 827fb22921d1827a790e218305f87c3e39e10484 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# The all important loader
from strictyaml.parser import load
from strictyaml.parser import dirty_load
# Document builder
from strictyaml.parser import as_document
# YAML object
from strictyaml.representation import YAML
# Validators
from strictyaml.validators import Validator
from strictyaml.validators import OrValidator
from strictyaml.any_validator import Any
from strictyaml.scalar import ScalarValidator
from strictyaml.scalar import Enum
from strictyaml.scalar import Regex
from strictyaml.scalar import Email
from strictyaml.scalar import Url
from strictyaml.scalar import Str
from strictyaml.scalar import Int
from strictyaml.scalar import HexInt
from strictyaml.scalar import Bool
from strictyaml.scalar import Float
from strictyaml.scalar import Decimal
from strictyaml.scalar import Datetime
from strictyaml.scalar import CommaSeparated
from strictyaml.scalar import NullNone
from strictyaml.scalar import EmptyNone
from strictyaml.scalar import EmptyDict
from strictyaml.scalar import EmptyList
from strictyaml.compound import Optional
from strictyaml.compound import Map
from strictyaml.compound import MapPattern
from strictyaml.compound import MapCombined
from strictyaml.compound import Seq
from strictyaml.compound import UniqueSeq
from strictyaml.compound import FixedSeq
# Base exception from strictyaml.ruamel (all exceptions inherit from this)
from strictyaml.ruamel import YAMLError
# Exceptions
from strictyaml.exceptions import StrictYAMLError
from strictyaml.exceptions import YAMLValidationError
# Disallowed token exceptions
from strictyaml.exceptions import DisallowedToken
from strictyaml.exceptions import TagTokenDisallowed
from strictyaml.exceptions import FlowMappingDisallowed
from strictyaml.exceptions import AnchorTokenDisallowed
from strictyaml.exceptions import DuplicateKeysDisallowed
from strictyaml import exceptions
__version__ = "1.6.2"
|