Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Calligraph: Calliope model result graphing and visualisation tool

Calligraph is a tool to interactively explore and visualise Calliope model results.

[!IMPORTANT] Note that this is pre-release software and there are likely to bugs. Please report issues and feedback on GitHub!

[!CAUTION] Calligraph only works with Calliope 0.7 or higher. If you are running Calliope 0.6 or lower, use the built-in visualisation tools instead.

Installation

pip install calligraph

Use

Save a solved Calliope model to a NetCDF file with model.to_netcdf() or by using the appropriate settings with the Calliope command-line interface. Then run calligraph in the command line:

$ calligraph your_model_results.nc

This launches Calligraph's web interface in the default web browser on your system. To use a custom port, supply the --port PORTNUMBER option; if you do not want the default web browser to open, specify -nb or --no-browser.

To experiment with the built-in urban-scale model:

import calliope
m = calliope.examples.urban_scale(time_subset=None)
m.run()
m.to_netcdf("urban_scale.nc")

Then:

$ calligraph urban_scale.nc

Metadata

Release files for calligraph 0.1.1.dev7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for calligraph 0.1.1.dev7
File Size Uploaded
calligraph-0.1.1.dev7.tar.gz 17.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for calligraph 0.1.1.dev7
File Interpreter ABI Platform
calligraph-0.1.1.dev7-py3-none-any.whl Python 3 none any Details

Total release size: 36.1 kB

Release files / calligraph-0.1.1.dev7.tar.gz

Download URL calligraph-0.1.1.dev7.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
578343f8f2cf93d0e29690d3f4ca4371de40c81d4a3e08c8a1883339d397c361
BLAKE2b-256 checksum
How to use checksums
e65f7701c8026638b33b5bbd9934efcba87cf0d707e6ca55d54c3f67cc344486
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.9

Release files / calligraph-0.1.1.dev7-py3-none-any.whl

Download URL calligraph-0.1.1.dev7-py3-none-any.whl
Size 18.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e87a0af65be6897b5b8d19acb28bdc475ba9df9c495cad87885461c029314a1c
BLAKE2b-256 checksum
How to use checksums
9584fe11049d7df1985e090f4cefb2354ebad439e522b73a3096278f16afc27e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.9
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page