core.service.data.DataFactory(path, mimetype=None, **kwargs)[source]
core.service.data.DataClass(dtype=None)[source]

Return class wich match dtype. For example, for 'python' dtype it return PythonModel class.

Matching can be extended with plugins. if dtype is None, returns all available DataClasses

core.service.data.MimeType(path=None, name=None)[source]

Return mimetype for path. First, try to find extension in registery filled by models. If datatype is not found, use builtin module "mimetypes". If it cannot guess, returns False.

Search in module allows to specify

core.service.data.DataType(path=None, name=None, mimetype=None)[source]

Previous topic

<no title>

Next topic

<no title>

This Page