oriole_service package

Submodules

oriole_service.api module

Oriole-API

oriole_service.api.Config(name='services.cfg')[source]

Obsoleted

oriole_service.api.cwd()
oriole_service.api.exe(s)
oriole_service.api.get_config(f)
oriole_service.api.get_file(f)[source]
oriole_service.api.get_path(f, loc)[source]
oriole_service.api.get_yml(f)[source]
oriole_service.api.mexe(f, s)
oriole_service.api.mtest(test)[source]
oriole_service.api.remote_test(f)[source]
oriole_service.api.run(service)[source]
oriole_service.api.test(tests)[source]

oriole_service.app module

oriole_service.cli module

Oriole-CLI

oriole_service.cli.add_parser(parser, modules)[source]
oriole_service.cli.main()[source]
oriole_service.cli.setup_parser()[source]
oriole_service.cli.setup_yaml_parser()[source]

oriole_service.db module

Oriole-DB

class oriole_service.db.Db(base=<class 'sqlalchemy.ext.declarative.api.Base'>)[source]

Bases: object

create_db(database)[source]
drop_db()[source]
get_db()[source]
get_rs()[source]
get_test_db()[source]

oriole_service.log module

Oriole-LOG

class oriole_service.log.Log(module='')[source]

Bases: object

Create a mongo logger.

Returns:

Collection

Examples:

from oriole_service.log import Log
log = Log("config_in_cfg").get()
result = log.insert_one({"count":1})
result.acknowledged
get()[source]

Return log handler

oriole_service.log.logger()[source]

Create a standard logger.

oriole_service.test module

Module contents