Command Line Interface (ixmp4.cli)

Module contents

Check the CLI help command on how to use it:

ixmp4 --help
ixmp4 platforms --help
ixmp4 test --help
ixmp4 server --help
ixmp4.cli.login(username: str = <typer.models.ArgumentInfo object>, password: str = <typer.models.OptionInfo object>)
ixmp4.cli.logout()

Submodules

ixmp4.cli.platforms module

ixmp4.cli.platforms.add(name: str = <typer.models.ArgumentInfo object>, dsn: str | None = <typer.models.OptionInfo object>)
ixmp4.cli.platforms.create_cycle(generator: Generator, name: str, total: int)
ixmp4.cli.platforms.generate(platform_name: str, num_models: int = <typer.models.OptionInfo object>, num_runs: int = <typer.models.OptionInfo object>, num_regions: int = <typer.models.OptionInfo object>, num_variables: int = <typer.models.OptionInfo object>, num_units: int = <typer.models.OptionInfo object>, num_datapoints: int = <typer.models.OptionInfo object>)
ixmp4.cli.platforms.generate_data(generator: MockDataGenerator)
ixmp4.cli.platforms.list_()
ixmp4.cli.platforms.prompt_sqlite_dsn(name: str)
ixmp4.cli.platforms.prompt_sqlite_removal(dsn: str)
ixmp4.cli.platforms.remove(name: str = <typer.models.ArgumentInfo object>)
ixmp4.cli.platforms.stamp(revision: str) None
ixmp4.cli.platforms.tabulate_manager_platforms(platforms: list[ManagerPlatformInfo])
ixmp4.cli.platforms.tabulate_toml_platforms(platforms: list[TomlPlatformInfo])
ixmp4.cli.platforms.upgrade()
ixmp4.cli.platforms.validate_dsn(dsn: str | None)
ixmp4.cli.platforms.validate_name(name: str)

ixmp4.cli.server module

ixmp4.cli.server.dump_schema(output_file: ~typer.models.FileTextWrite | None = <typer.models.OptionInfo object>)
ixmp4.cli.server.start(host: str = <typer.models.OptionInfo object>, port: int = <typer.models.OptionInfo object>, workers: int = <typer.models.OptionInfo object>, reload: bool = <typer.models.OptionInfo object>) None

Starts the ixmp4 web api.

ixmp4.cli.utils module