Previous topic

tse2sql.readers

Next topic

tse2sql.renderers

This Page

tse2sql.render

SQL rendering module.

Functions

tse2sql.render.list_renderers()

List availables templates.

Returns

The list of available templates.

Return type

list

tse2sql.render.render(payload, renderer, sqlfile)

Render given payload using given renderer.

Parameters
  • payload (dict) – The payload to render.

  • renderer (str) – The name of the renderer to use.

  • sqlfile (file) – Output file descriptor to write to.

tse2sql.render.render_scrapped(data, renderer, sqlfile)

Render given payload using given renderer.

Parameters
  • data (dict) – The scrapped data to render.

  • renderer (str) – The name of the renderer to use.

  • sqlfile (file) – Output file descriptor to write to.