galaxy Package

galaxy Package

Galaxy root package – this is a namespace package.

app Module

config Module

Universe configuration builder.

class galaxy.config.Configuration(**kwargs)[source]

Bases: object

check()[source]
deprecated_options = ('database_file',)
ensure_tempdir()[source]
get(key, default)[source]
get_bool(key, default)[source]
guess_galaxy_port()[source]
is_admin_user(user)[source]

Determine if the provided user is listed in admin_users.

NOTE: This is temporary, admin users will likely be specified in the
database in the future.
resolve_path(path)[source]

Resolve a path relative to Galaxy’s root.

sentry_dsn_public

Sentry URL with private key removed for use in client side scripts, sentry server will need to be configured to accept events

class galaxy.config.ConfiguresGalaxyMixin[source]

Shared code for configuring Galaxy-like app objects.

galaxy.config.configure_logging(config)[source]

Allow some basic logging configuration to be read from ini file.

galaxy.config.get_database_engine_options(kwargs, model_prefix='')[source]

Allow options for the SQLAlchemy database engine to be passed by using the prefix “database_engine_option”.

galaxy.config.resolve_path(path, root)[source]

If ‘path’ is relative make absolute by prepending ‘root’

Subpackages