예제 #1
0
파일: main.py 프로젝트: fossabot/datamaps-1
def cli(config, verbose):
    """
    datamaps is a tool for moving data to and from spreadsheets. Documentation available
    at https://www.datamaps.twentyfoursoftware.com (comming soon).

    Please note: datamaps is beta software! Development is ongoing and the program
    is undergoing continuous change.
    """
    click.secho(f"Welcome to datamaps {__version__} © Twenty Four Software",
                fg="yellow")
    config.verbose = verbose
    engine_config.initialise()
예제 #2
0
def cli(config, verbose):
    """
    datamaps is a tool for moving data to and from spreadsheets. Documentation available
    at https://www.datamaps.twentyfoursoftware.com.

    Please note: datamaps is beta software! Development is ongoing and the program
    is undergoing continuous change.

    Use --help flag after all commands to get help. For example:

        datamaps import templates --help (for
        etc...
    """
    click.secho(
        f"Welcome to datamaps {__version__} © 2021 Twenty Four Software", fg="yellow"
    )
    config.verbose = verbose
    engine_config.initialise()
예제 #3
0
def test_create_master_in_memory():
    Config.initialise()
    import_and_create_master()
예제 #4
0
def test_populate_blanks_from_master(mock_config, blank_template, datamap,
                                     master):
    Config.initialise()
    write_master_to_templates(blank_template, datamap, master)