34397
|
1 |
from __future__ import absolute_import, division, print_function
|
|
2 |
|
|
3 |
from ._funcs import (
|
|
4 |
asdict,
|
|
5 |
assoc,
|
|
6 |
astuple,
|
|
7 |
evolve,
|
|
8 |
has,
|
|
9 |
)
|
|
10 |
from ._make import (
|
|
11 |
Attribute,
|
|
12 |
Factory,
|
|
13 |
NOTHING,
|
|
14 |
attr,
|
|
15 |
attributes,
|
|
16 |
fields,
|
|
17 |
make_class,
|
|
18 |
validate,
|
|
19 |
)
|
|
20 |
from ._config import (
|
|
21 |
get_run_validators,
|
|
22 |
set_run_validators,
|
|
23 |
)
|
|
24 |
from . import exceptions
|
|
25 |
from . import filters
|
|
26 |
from . import converters
|
|
27 |
from . import validators
|
|
28 |
|
|
29 |
|
|
30 |
__version__ = "17.2.0"
|
|
31 |
|
|
32 |
__title__ = "attrs"
|
|
33 |
__description__ = "Classes Without Boilerplate"
|
|
34 |
__uri__ = "http://www.attrs.org/"
|
|
35 |
__doc__ = __description__ + " <" + __uri__ + ">"
|
|
36 |
|
|
37 |
__author__ = "Hynek Schlawack"
|
|
38 |
__email__ = "hs@ox.cx"
|
|
39 |
|
|
40 |
__license__ = "MIT"
|
|
41 |
__copyright__ = "Copyright (c) 2015 Hynek Schlawack"
|
|
42 |
|
|
43 |
|
|
44 |
s = attrs = attributes
|
|
45 |
ib = attrib = attr
|
|
46 |
|
|
47 |
__all__ = [
|
|
48 |
"Attribute",
|
|
49 |
"Factory",
|
|
50 |
"NOTHING",
|
|
51 |
"asdict",
|
|
52 |
"assoc",
|
|
53 |
"astuple",
|
|
54 |
"attr",
|
|
55 |
"attrib",
|
|
56 |
"attributes",
|
|
57 |
"attrs",
|
|
58 |
"converters",
|
|
59 |
"evolve",
|
|
60 |
"exceptions",
|
|
61 |
"fields",
|
|
62 |
"filters",
|
|
63 |
"get_run_validators",
|
|
64 |
"has",
|
|
65 |
"ib",
|
|
66 |
"make_class",
|
|
67 |
"s",
|
|
68 |
"set_run_validators",
|
|
69 |
"validate",
|
|
70 |
"validators",
|
|
71 |
]
|