sherlock.commonutils.update_wiki_pages module ∞
Update sherlock’s github wiki pages with some useful info regarding the crossmatch database catalogue tables
- Author
David Young
-
class
update_wiki_pages
(log, settings=False)[source] ∞ Bases:
object
Update sherlock’s github wiki pages with some useful info regarding the crossmatch database catalogue tables
Key Arguments
log
– loggersettings
– the settings dictionary
Usage
To trigger an update of sherlock’s wiki pages to give an overview of the crossmatch table database tables run the following:
from sherlock.commonutils import update_wiki_pages wiki = update_wiki_pages( log=log, settings=settings ) wiki.update()
- create a new script for updating sherlock wiki with the snippet above, remove wiki command from cl-utils and add stand alone scripts to the sherlock repo (cleans up the usage and docs for sherlock) - harvest text from wiki pages and then delete them: https://github.com/thespacedoctor/sherlock/wiki
-
_get_stream_view_infos
(trimmed=False)[source] ∞ query the sherlock-catalogues database streamed data tables’ metadata
-
_create_md_tables
(tableData, viewData, streamData)[source] ∞ generate markdown format tables from the database query results
Key Arguments
tableData
– the sherlock-catalogues database table metadata.viewData
– the sherlock-catalogues database view metadata.streamData
– the sherlock-catalogues database streamed data tables’ metadata.
Return
None