attrs/attr/__init__.py

47 lines
676 B
Python
Raw Normal View History

2015-01-27 16:53:17 +00:00
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function
from ._funcs import (
asdict,
2015-01-29 19:50:42 +00:00
assoc,
2015-01-29 20:55:25 +00:00
fields,
has,
2015-02-02 11:13:11 +00:00
valid,
2015-01-27 16:53:17 +00:00
)
from ._make import (
Attribute,
Factory,
NOTHING,
attr,
attributes,
2015-01-30 07:57:33 +00:00
make_class,
2015-01-27 16:53:17 +00:00
)
2015-01-29 11:20:17 +00:00
from . import validators
2015-01-27 16:53:17 +00:00
2015-01-28 15:05:13 +00:00
__version__ = "15.0.0.dev0"
2015-01-27 16:53:17 +00:00
__author__ = "Hynek Schlawack"
__license__ = "MIT"
__copyright__ = "Copyright 2015 Hynek Schlawack"
s = attributes
attr = ib = attr
2015-01-27 16:53:17 +00:00
__all__ = [
"Attribute",
"Factory",
"NOTHING",
"asdict",
2015-01-29 19:50:42 +00:00
"assoc",
"attr",
"attributes",
2015-01-29 20:55:25 +00:00
"fields",
"has",
"ib",
2015-01-30 07:57:33 +00:00
"make_class",
"s",
2015-02-02 11:13:11 +00:00
"valid",
2015-01-29 11:20:17 +00:00
"validators",
2015-01-27 16:53:17 +00:00
]