1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 '''
20 Root of pytilities, various utilities
21
22 Web site: http://pytilities.sourceforge.net/
23 Project site with svn, ...: http://sourceforge.net/projects/pytilities/
24 Releases: TODO (PyPI link)
25
26 Features:
27
28 - delegation: decorate classes with attributes that are delegated to a
29 target object without having to write those attributes on the decorating
30 class
31
32 - event dispatching: Observer/Listener like event dispatching with wrappers
33 for hiding events on dispatchers and combining dispatchers
34
35 - function overloading
36
37 - various: a NumberType (anything numeric), a mangle function, ...
38
39 Classes:
40
41 - `AttributeCollection`: Abstract, represents a collection of attributes.
42 - `AttributeCollectionBase`: Mixin, allows easy extension of class attributes
43 - `Stringifiable`: Mixin, provides a reasonable default __str__
44
45 Functions:
46
47 - `mangle`: Get the mangled name of an attribute
48 '''
49
50 __docformat__ = 'reStructuredText'
51
52 from .attributecollection import AttributeCollection
53 from .attributecollectionbase import AttributeCollectionBase
54 from .stringifiable import Stringifiable
55 from .mangle import mangle
56