Warning

This document is for an old release of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.

galaxy.tool_util.locations package

class galaxy.tool_util.locations.ToolLocationResolver[source]

Bases: object

Parse a URI-like string and return a ToolSource object.

abstract property scheme

Short label for the type of location resolver and URI scheme.

abstract get_tool_source_path(uri_like)[source]

Return a local path for the uri_like string.

Submodules

galaxy.tool_util.locations.dockstore module

class galaxy.tool_util.locations.dockstore.DockStoreResolver[source]

Bases: galaxy.tool_util.locations.ToolLocationResolver

scheme = 'dockstore'
get_tool_source_path(uri_like)[source]

Return a local path for the uri_like string.

galaxy.tool_util.locations.file module

class galaxy.tool_util.locations.file.HttpToolResolver[source]

Bases: galaxy.tool_util.locations.ToolLocationResolver

scheme = 'file'
get_tool_source_path(uri_like)[source]

Return a local path for the uri_like string.

galaxy.tool_util.locations.http module

class galaxy.tool_util.locations.http.HttpToolResolver(**kwds)[source]

Bases: galaxy.tool_util.locations.ToolLocationResolver

scheme = 'http'
__init__(**kwds)[source]
get_tool_source_path(uri_like)[source]

Return a local path for the uri_like string.

class galaxy.tool_util.locations.http.HttpsToolResolver(**kwds)[source]

Bases: galaxy.tool_util.locations.http.HttpToolResolver

scheme = 'https'