How to use parfait - 2 common examples

To help you get started, we’ve selected a few parfait examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github NathanW2 / ascii_qgis / ascii_qgis.py View on Github external
aboutwindow = AboutWindow()

    legendwindow.render_legend()
    mapwindow.render_map()

    screen.addstr(0, 0, "ASCII")
    screen.addstr(0, 5, " QGIS Enterprise", curses.color_pair(4))
    screen.refresh()

    if config.get('showhelp', True):
        show_help()

    pad.focus()


app = QGIS.init(guienabled=False)

if __name__ == "__main__":
    logging.info("Staring QGIS ASCII :)")
    logging.info("ASCII QGIS because we can")
    curses.wrapper(main)
github NathanW2 / ascii_qgis / ascii_qgis.py View on Github external
def _open_project(fullpath):
    global project
    project = projects.open_project(fullpath)
    return project

parfait

Microframework

Apache-2.0
Latest version published 6 years ago

Package Health Score

61 / 100
Full package analysis

Popular parfait functions