Metadata-Version: 2.4
Name: caf.viz
Version: 0.2.0
Summary: Visualisation functionality and tools for transport related data.
Author: Transport for the North
License: Copyright © Transport for the North (“TfN”) (2024).
        
        
        Use of this software and associated documentation files (“the Software”) by you indicates your acceptance of the terms and conditions below (“the Licence”).
        We make available the Software to you on the basis of this Licence. We do not sell the Software to you. We remain the owners of the Software at all times. 
        
        We grant you a non-exclusive, worldwide, royalty-free, perpetual licence:
        (a)	to use the Software;
        (b)	to develop, modify and maintain the Software;
        (c)	copy, publish, distribute and transmit the Software;
        (d)	adapt the Software.
        
        Where you do any of the above you must acknowledge the source of the Software in your product or application by including or linking the following attribution statement in a prominent and noticeable location in or in the context of your product or application:
        “Outputs derived from CAF.Viz (the Common Analytical Framework Visualisation Suite), developed by Transport for the North [https://github.com/Transport-for-the-North/caf.viz]”
        
        Any adaptations applied to the Software before application should be briefly described alongside the above citation. We encourage you to submit to us any adaptations to the Software and where you choose to do so your submissions will be considered for integration into the Software.
        
        The above are important conditions of this Licence and if you fail to comply with them the rights granted to you under this Licence will end automatically. 
        This Licence does not grant you any right to use the Software in a way that suggests any official status or that we endorse you or your use of the Software.
        The Software is licenced 'as is' and we exclude all representations, warranties, obligations and liabilities in relation to the Software to the maximum extent permitted by law.
        We are not liable for any errors or omissions in the Software and shall not be liable for any loss, injury or damage of any kind caused by its use. We do not guarantee the continued supply of the Software.
        This Licence is governed by the laws of the jurisdiction in which we have our principal place of business.
        
Project-URL: Bug Tracker, https://github.com/transport-for-the-north/caf.viz/issues
Project-URL: Homepage, https://github.com/transport-for-the-north/caf.viz
Project-URL: Source, https://github.com/transport-for-the-north/caf.viz
Project-URL: Documentation, http://cafviz.readthedocs.io/
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.19.0
Requires-Dist: pandas>=1.4.0
Requires-Dist: matplotlib>=3.8.2
Requires-Dist: scipy>=1.11.4
Requires-Dist: pydantic>=2.0.0
Requires-Dist: caf.toolkit>=0.14.0
Requires-Dist: folium>=0.20.0
Requires-Dist: geopandas>=1.1.3
Requires-Dist: tqdm>=4.67.3
Requires-Dist: branca>=0.8.2
Requires-Dist: shapely>=2.1.2
Requires-Dist: mapclassify>=2.10
Provides-Extra: dev
Requires-Dist: ruff>=0.12; extra == "dev"
Requires-Dist: pylint>=3.3.1; extra == "dev"
Requires-Dist: mypy>=1.0.0; extra == "dev"
Requires-Dist: mypy_extensions>=1.0.0; extra == "dev"
Requires-Dist: pytest>=8.3; extra == "dev"
Requires-Dist: pytest-cov>=5.0; extra == "dev"
Requires-Dist: pytest-xdist>=3.6; extra == "dev"
Requires-Dist: versioningit>=3.1; extra == "dev"
Provides-Extra: docs
Requires-Dist: sphinx>=7.1.2; extra == "docs"
Requires-Dist: pydata-sphinx-theme>=0.18.0; extra == "docs"
Requires-Dist: graphviz>=0.20.1; extra == "docs"
Requires-Dist: sphinx-gallery>=0.17.1; extra == "docs"
Requires-Dist: matplotlib; extra == "docs"
Requires-Dist: geodatasets>=2026.5.0; extra == "docs"
Dynamic: license-file

<div align="center" style="background-color: white;">
<a href="https://www.transportforthenorth.com/">
<img src="https://www.transportforthenorth.com/wp-content/themes/tfn-theme/img/logo.svg"
  alt="Transport for the North logo">
</a>
</div>

<h1 align="center">CAF.viz</h1>

<p align="center">
<a href="https://transport-for-the-north.github.io/CAF-Handbook/python_tools/framework.html">
  <img alt="CAF Status - Pre-Alpha" src="https://img.shields.io/badge/CAF%20Status-Pre--Alpha-orange">
</a>
</p>
<p align="center">
<a href="https://pypi.org/project/caf.viz/">
  <img alt="Supported Python versions" src="https://img.shields.io/pypi/pyversions/caf.viz.svg?style=flat-square">
</a>
<a href="https://pypi.org/project/caf.viz/">
  <img alt="Latest release" src="https://img.shields.io/github/release/transport-for-the-north/caf.viz.svg?style=flat-square&maxAge=86400">
</a>
<a href="https://anaconda.org/conda-forge/caf.viz">
  <img alt="Conda" src="https://img.shields.io/conda/v/conda-forge/caf.viz?style=flat-square&logo=condaforge">
</a>
</p>
<p align="center">
<a href="https://github.com/transport-for-the-north/caf.viz/actions?query=event%3Apush">
  <img alt="Testing Badge" src="https://img.shields.io/github/actions/workflow/status/transport-for-the-north/caf.viz/tests.yml?style=flat-square&logo=GitHub&label=Tests">
</a>
<a href="https://app.codecov.io/gh/transport-for-the-north/caf.viz">
  <img alt="Coverage" src="https://img.shields.io/codecov/c/github/transport-for-the-north/caf.viz.svg?branch=main&style=flat-square&logo=CodeCov">
</a>
<a href='https://cafviz.readthedocs.io/en/stable/'>
  <img alt='Documentation Status' src="https://img.shields.io/readthedocs/cafviz?style=flat-square&logo=readthedocs">
</a>
</p>

> [!WARNING]  
> This package is in an early stage of development so features may change or be removed.
> If using this package it is recommended to set a specific version and check before
> upgrading to a new version.

Visualisation functionality and tools for transport related data.

> [!TIP]
> For more detailed information including a user guide, tutorials and API reference see the full
> [caf.viz documentation](https://cafviz.readthedocs.io/en/stable/)

## Table of Contents

- [Table of Contents](#table-of-contents)
- [Overview](#overview)
  - [What does it do?](#what-does-it-do)
  - [Main Features](#main-features)
    - [Work-in-Progress](#work-in-progress)
  - [Who is it for?](#who-is-it-for)
- [Where to get it](#where-to-get-it)
  - [Installation from GitHub](#installation-from-github)
- [Usage](#usage)
  <!-- - [Command Line](#command-line)-->
- [Documentation](#documentation)
- [What is CAF?](#what-is-caf)
- [Contribution](#contribution)
- [Contact Us](#contact-us)

## Overview

### What does it do?

> [!IMPORTANT]
> This section of the README hasn't been written yet, but it will contain a brief
> description of what the tool is intended to do.

### Main Features

- **Simplified 2D graphs** - wrappers around matplotlib to simplify the creation of
  basic 2D plots (scatter, line and hexbin) and to simplify the creation of figures
  with multiple Axes.
- **TfN Stylesheet** - custom stylesheet for matplotlib using TfN's colour scheme.

#### Work-in-Progress

- **Static Heatmaps** - wrapper around GeoPandas and matplotlib to simplify the creation
  of heatmap images (see #24).

> [!WARNING]
> These features are work-in-progress and are not available in a released version of caf.viz, to
> access these features a specific branch of caf.viz should be installed, see [Installation from GitHub](#installation-from-github).

### Who is it for?

- **Target audience:** GIS Analysts, Transport Analysts, Data Analysts
- **CAF Analytical Stage:** Analysis, Appraisal, Evaluation

![CAF Analytical Process Diagram](https://github.com/Transport-for-the-North/.github/blob/21a428e81880639839e221940881572cdee24d5a/profile/ProcessDiagram.png?raw=true)

For more details on CAF Analytical Stages see the [description within TfN's GitHub homepage](https://github.com/Transport-for-the-North)

## Where to get it

The latest released version are available at the
[Python Package Index (PyPI)](https://pypi.org/project/caf.viz) and on
[Conda](https://anaconda.org/conda-forge/caf.viz).

```sh
conda install -c conda-forge caf.viz
```

```sh
pip install caf.viz
```

> [!TIP]
>
> - See the [Quick Start Guide](https://cafviz.readthedocs.io/en/stable/start.html#quick-start) for more detailed instructions.
> - See the [requirements.txt](requirements.txt) for the full list of package dependencies.

### Installation from GitHub

> [!WARNING]
> Unreleased GitHub versions should **not** be considered stable.

The latest, unreleased, version can be installed directly from GitHub using:

```sh
pip install "git+https://github.com/transport-for-the-north/caf.viz"
```

> [!TIP]
> `pip install` can install a specific tag, or branch, using `@{tag-name}`
> after the git URL.

## Usage

CAF.viz doesn't currently provide a CLI or GUI so should be called from Python to use,
see the [Tool Usage section](https://cafviz.readthedocs.io/en/stable/usage/index.html)
of the user guide for more details.

<!--
### Command Line

The tool can be run from command line, with the command:

```sh
caf.viz
```

See [Command-Line Interface (User Guide)](https://cafviz.readthedocs.io/en/stable/usage/cli.html)
for full explanations of the parameters.
-->

## Documentation

The code documentation is hosted at <https://cafviz.readthedocs.io/en/stable/>.

## What is CAF?

This tool is part of TfN's [Common Analytical Framework (CAF)](https://github.com/Transport-for-the-North).
CAF is Transport for the North's structured suite of analytical tools designed to support transport
modelling, appraisal, and strategic decision-making.

More information on CAF and details on other CAF tools can be found on [TfN's GitHub Homepage](https://github.com/Transport-for-the-North).

## Contribution

We encourage use of, and contributions to, the repositories within this organisation, licenses are provided within
the repositories and the [organisation contribution guide](https://github.com/Transport-for-the-North/.github/blob/main/CONTRIBUTING.rst)
provides details for contributions.

---

## Contact Us

For further information about using this tool or CAF tools in your projects and work contact Transport for the North - <TfNOffer@transportforthenorth.com>

---

[Go to Top](#table-of-contents)
