Home | Trees | Indices | Help |
|
---|
|
Generic containers, data structures and language extensions.
This module has several functions:
In order to ensure cross-interpreter compatibility, checking for string instances in CSB must always be implemented like this:
>>> isinstance("s", string)
because "basestring" is not available in Python 3. Also, metaclass definitions other than abstract classes must be implemented as follows:
>>> MyClassBase = metaclass(MetaClass, base=BaseClass) >>> class MyClass(MyClassBase): pass
See also the notes about compatibility in csb.io.
Classes | |
AbstractContainer Defines the behavior of a high-level object, which can hold an array of elements. |
|
AbstractIndexer | |
AbstractNIContainer Same as the AbstractContainer, but provides access to the child elements through AbstractNativeIndexer._getinternal instead of the
standard __getitem__.
|
|
BaseCollectionContainer Base class which defines the behavior of a read-only collection container. |
|
BaseDictionaryContainer Base class which defines the behavior of a read only key-value collection container. |
|
CollectionContainer Write-enabled Collection Container. |
|
CollectionIndexError | |
Container Generic implementation of AbstractContainer. |
|
DictionaryContainer Write-enabled Dictionary Container. |
|
DuplicateKeyError | |
Enum A collection of efficient static methods for working with enum classes. |
|
EnumBase | |
EnumItem | |
EnumMemberError | |
EnumMeta Metaclass for enum types. |
|
EnumValueError | |
InterruptibleThread | |
InvalidKeyError | |
ItemNotFoundError | |
OrderedDict | |
Proxy Base class implementing the proxy pattern. |
|
REMatchProxy | |
ReadOnlyCollectionContainer This is a write-once container, which is filled with items only at object construction. |
|
ReadOnlyDictionaryContainer This is a write-once container, which is filled with items only at object construction. |
|
Stack | |
enum Base class for all enumeration types. |
|
typedproperty Property decorator for convenient creation of typed, encapsulated fields. |
|
validatedproperty Property decorator with predefined getter/setter and value checking or casting in the setter. |
Functions | |||
|
|||
bool |
|
||
|
|||
|
Variables | |
__package__ =
|
Function Details |
Perform a deep copy of obj using cPickle. Faster than copy.deepcopy() for large objects.
|
Return True if
|
Return a new class with parent class |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Jul 4 20:19:04 2017 | http://epydoc.sourceforge.net |