pyrocumulus Package

pyrocumulus Package

conf Module

class pyrocumulus.conf.Settings[source]

Bases: builtins.object

pyrocumulus.conf.get_settings_module(module_name=None)[source]

Returns the module to be used as the settings for this project. If module_name is None (default) get_settings_module_name is used.

pyrocumulus.conf.get_settings_module_name()[source]

Returns the module’s name to be used as the settings module for this project. It can be changed by the environment variable PYROCYMULUS_SETTINGS_MODULE.

Defaults to ‘settings’.

converters Module

db Module

exceptions Module

exception pyrocumulus.exceptions.PyrocumulusCommandNotFound[source]

Bases: pyrocumulus.exceptions.PyrocumulusException

exception pyrocumulus.exceptions.PyrocumulusConfusionError[source]

Bases: pyrocumulus.exceptions.PyrocumulusException

exception pyrocumulus.exceptions.PyrocumulusConverterException[source]

Bases: pyrocumulus.exceptions.PyrocumulusException

exception pyrocumulus.exceptions.PyrocumulusException[source]

Bases: builtins.Exception

exception pyrocumulus.exceptions.StaticFileError[source]

Bases: pyrocumulus.exceptions.PyrocumulusException

exception pyrocumulus.exceptions.TemplateNotFound[source]

Bases: pyrocumulus.exceptions.PyrocumulusException

parsers Module

class pyrocumulus.parsers.DocumentParser(model)[source]

Bases: builtins.object

Parse a Document and return a dict with {‘field_name’: field_type}. ReferenceFields, EmbeddedDocumentFields and ListFields are returned in repareted keys.

parse()[source]
pyrocumulus.parsers.get_parser(model)[source]

testing Module

class pyrocumulus.testing.TornadoApplicationTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Base class for tests with tornado. setUpClass() runs a tornado server in background and tearDownClass kills it.

application = None
python_exec = 'python'
runtornado_command = 'pyromanager.py runtornado'
classmethod setUpClass()[source]
classmethod tearDownClass()[source]

utils Module

pyrocumulus.utils.fqualname(obj)[source]

Returns the full qualified name for an object, like pyrocumulus.converters.DocumentConverter

pyrocumulus.utils.get_value_from_settings(key, default=None)[source]