util Package

common_util Module

container_util Module

hgweb_config Module

class galaxy.webapps.tool_shed.util.hgweb_config.HgWebConfigManager[source]

Bases: object

add_entry(lhs, rhs)[source]

Add an entry in the hgweb.config file for a new repository.

change_entry(old_lhs, new_lhs, new_rhs)[source]

Change an entry in the hgweb.config file for a repository - this only happens when the owner changes the name of the repository.

get_entry(lhs)[source]

Return an entry in the hgweb.config file for a repository

hgweb_config
make_backup()[source]
read_config(force_read=False)[source]
write_config()[source]

Writing the in-memory configuration to the hgweb.config file on disk.

shed_statistics Module

class galaxy.webapps.tool_shed.util.shed_statistics.ShedCounter(model)[source]

Bases: object

generate_statistics()[source]
sa_session

Returns a SQLAlchemy session