attrs/attr/__init__.py

43 lines
616 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 ._dunders import (
NOTHING,
)
2015-01-27 16:53:17 +00:00
from ._funcs import (
asdict,
2015-01-29 19:50:42 +00:00
assoc,
2015-01-29 20:55:25 +00:00
fields,
has,
2015-01-27 16:53:17 +00:00
)
from ._make import (
Attribute,
attr,
attributes,
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",
"NOTHING",
"asdict",
2015-01-29 19:50:42 +00:00
"assoc",
"attr",
"attributes",
2015-01-29 20:55:25 +00:00
"fields",
"has",
"ib",
"s",
2015-01-29 11:20:17 +00:00
"validators",
2015-01-27 16:53:17 +00:00
]