datashader


Namedatashader JSON
Version 0.16.1 PyPI version JSON
download
home_pagehttps://datashader.org
SummaryData visualization toolchain based on aggregating into a grid
upload_time2024-04-19 12:59:55
maintainerDatashader developers
docs_urlNone
authorNone
requires_python>=3.9
licenseNew BSD
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            <img src="https://github.com/holoviz/datashader/raw/main/doc/_static/logo_horizontal.svg" data-canonical-src="https://github.com/holoviz/datashader/raw/main/doc/_static/logo_horizontal.svg" width="400"/><br>

-----------------

# Turn even the largest data into images, accurately

|    |    |
| --- | --- |
| Build Status | [![Build Status](https://github.com/holoviz/datashader/workflows/tests/badge.svg)](https://github.com/holoviz/datashader/actions?query=workflow%3Atests) |
| Coverage | [![codecov](https://codecov.io/gh/holoviz/datashader/branch/main/graph/badge.svg)](https://codecov.io/gh/holoviz/datashader) |
| Latest dev release | [![Github tag](https://img.shields.io/github/tag/holoviz/datashader.svg?label=tag&colorB=11ccbb)](https://github.com/holoviz/datashader/tags) [![dev-site](https://img.shields.io/website-up-down-green-red/https/holoviz-dev.github.io/datashader.svg?label=dev%20website)](https://holoviz-dev.github.io/datashader/) |
| Latest release | [![Github release](https://img.shields.io/github/release/holoviz/datashader.svg?label=tag&colorB=11ccbb)](https://github.com/holoviz/datashader/releases) [![PyPI version](https://img.shields.io/pypi/v/datashader.svg?colorB=cc77dd)](https://pypi.python.org/pypi/datashader) [![datashader version](https://img.shields.io/conda/v/pyviz/datashader.svg?colorB=4488ff&style=flat)](https://anaconda.org/pyviz/datashader) [![conda-forge version](https://img.shields.io/conda/v/conda-forge/datashader.svg?label=conda%7Cconda-forge&colorB=4488ff)](https://anaconda.org/conda-forge/datashader) [![defaults version](https://img.shields.io/conda/v/anaconda/datashader.svg?label=conda%7Cdefaults&style=flat&colorB=4488ff)](https://anaconda.org/anaconda/datashader) |
| Python | [![Python support](https://img.shields.io/pypi/pyversions/datashader.svg)](https://pypi.org/project/datashader/)
| Docs | [![gh-pages](https://img.shields.io/github/last-commit/holoviz/datashader/gh-pages.svg)](https://github.com/holoviz/datashader/tree/gh-pages) [![site](https://img.shields.io/website-up-down-green-red/http/datashader.org.svg)](http://datashader.org) |
| Support | [![Discourse](https://img.shields.io/discourse/status?server=https%3A%2F%2Fdiscourse.holoviz.org)](https://discourse.holoviz.org/) |

-------

[![History of OS GIS Timeline](examples/assets/images/featured-badge-gh.svg)](https://makepath.com/history-of-open-source-gis/)

-------

## What is it?

Datashader is a data rasterization pipeline for automating the process of
creating meaningful representations of large amounts of data. Datashader
breaks the creation of images of data into 3 main steps:

1. Projection

   Each record is projected into zero or more bins of a nominal plotting grid
   shape, based on a specified glyph.

2. Aggregation

   Reductions are computed for each bin, compressing the potentially large
   dataset into a much smaller *aggregate* array.

3. Transformation

   These aggregates are then further processed, eventually creating an image.

Using this very general pipeline, many interesting data visualizations can be
created in a performant and scalable way. Datashader contains tools for easily
creating these pipelines in a composable manner, using only a few lines of code.
Datashader can be used on its own, but it is also designed to work as
a pre-processing stage in a plotting library, allowing that library
to work with much larger datasets than it would otherwise.

## Installation

Datashader supports Python 3.9, 3.10, 3.11, and 3.12 on Linux, Windows, or
Mac and can be installed with conda:

    conda install datashader

or with pip:

    pip install datashader

For the best performance, we recommend using conda so that you are sure
to get numerical libraries optimized for your platform. The latest
releases are avalailable on the pyviz channel `conda install -c pyviz
datashader` and the latest pre-release versions are avalailable on the
dev-labelled channel `conda install -c pyviz/label/dev datashader`.

## Fetching Examples

Once you've installed datashader as above you can fetch the examples:

    datashader examples
    cd datashader-examples

This will create a new directory called
<span class="title-ref">datashader-examples</span> with all the data
needed to run the examples.

To run all the examples you will need some extra dependencies. If you
installed datashader **within a conda environment**, with that
environment active run:

    conda env update --file environment.yml

Otherwise create a new environment:

    conda env create --name datashader --file environment.yml
    conda activate datashader

## Developer Instructions

1.  Install Python 3
    [miniconda](https://docs.conda.io/en/latest/miniconda.html) or
    [anaconda](https://www.anaconda.com/distribution/), if you don't
    already have it on your system.

2.  Clone the datashader git repository if you do not already have it:

        git clone git://github.com/holoviz/datashader.git

3.  Set up a new conda environment with all of the dependencies needed
    to run the examples:

        cd datashader
        conda env create --name datashader --file ./examples/environment.yml
        conda activate datashader

4.  Put the datashader directory into the Python path in this
    environment:

        pip install --no-deps -e .

## Learning more

After working through the examples, you can find additional resources linked
from the [datashader documentation](http://datashader.org),
including API documentation and papers and talks about the approach.

## Some Examples

![USA census](examples/assets/images/usa_census.jpg)

![NYC races](examples/assets/images/nyc_races.jpg)

![NYC taxi](examples/assets/images/nyc_pickups_vs_dropoffs.jpg)

            

Raw data

            {
    "_id": null,
    "home_page": "https://datashader.org",
    "name": "datashader",
    "maintainer": "Datashader developers",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "dev@datashader.org",
    "keywords": null,
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/e9/04/bcc94b14034486cbe3f6c2bcc73d513ce99f79167c71ecad06dda34d9993/datashader-0.16.1.tar.gz",
    "platform": null,
    "description": "<img src=\"https://github.com/holoviz/datashader/raw/main/doc/_static/logo_horizontal.svg\" data-canonical-src=\"https://github.com/holoviz/datashader/raw/main/doc/_static/logo_horizontal.svg\" width=\"400\"/><br>\n\n-----------------\n\n# Turn even the largest data into images, accurately\n\n|    |    |\n| --- | --- |\n| Build Status | [![Build Status](https://github.com/holoviz/datashader/workflows/tests/badge.svg)](https://github.com/holoviz/datashader/actions?query=workflow%3Atests) |\n| Coverage | [![codecov](https://codecov.io/gh/holoviz/datashader/branch/main/graph/badge.svg)](https://codecov.io/gh/holoviz/datashader) |\n| Latest dev release | [![Github tag](https://img.shields.io/github/tag/holoviz/datashader.svg?label=tag&colorB=11ccbb)](https://github.com/holoviz/datashader/tags) [![dev-site](https://img.shields.io/website-up-down-green-red/https/holoviz-dev.github.io/datashader.svg?label=dev%20website)](https://holoviz-dev.github.io/datashader/) |\n| Latest release | [![Github release](https://img.shields.io/github/release/holoviz/datashader.svg?label=tag&colorB=11ccbb)](https://github.com/holoviz/datashader/releases) [![PyPI version](https://img.shields.io/pypi/v/datashader.svg?colorB=cc77dd)](https://pypi.python.org/pypi/datashader) [![datashader version](https://img.shields.io/conda/v/pyviz/datashader.svg?colorB=4488ff&style=flat)](https://anaconda.org/pyviz/datashader) [![conda-forge version](https://img.shields.io/conda/v/conda-forge/datashader.svg?label=conda%7Cconda-forge&colorB=4488ff)](https://anaconda.org/conda-forge/datashader) [![defaults version](https://img.shields.io/conda/v/anaconda/datashader.svg?label=conda%7Cdefaults&style=flat&colorB=4488ff)](https://anaconda.org/anaconda/datashader) |\n| Python | [![Python support](https://img.shields.io/pypi/pyversions/datashader.svg)](https://pypi.org/project/datashader/)\n| Docs | [![gh-pages](https://img.shields.io/github/last-commit/holoviz/datashader/gh-pages.svg)](https://github.com/holoviz/datashader/tree/gh-pages) [![site](https://img.shields.io/website-up-down-green-red/http/datashader.org.svg)](http://datashader.org) |\n| Support | [![Discourse](https://img.shields.io/discourse/status?server=https%3A%2F%2Fdiscourse.holoviz.org)](https://discourse.holoviz.org/) |\n\n-------\n\n[![History of OS GIS Timeline](examples/assets/images/featured-badge-gh.svg)](https://makepath.com/history-of-open-source-gis/)\n\n-------\n\n## What is it?\n\nDatashader is a data rasterization pipeline for automating the process of\ncreating meaningful representations of large amounts of data. Datashader\nbreaks the creation of images of data into 3 main steps:\n\n1. Projection\n\n   Each record is projected into zero or more bins of a nominal plotting grid\n   shape, based on a specified glyph.\n\n2. Aggregation\n\n   Reductions are computed for each bin, compressing the potentially large\n   dataset into a much smaller *aggregate* array.\n\n3. Transformation\n\n   These aggregates are then further processed, eventually creating an image.\n\nUsing this very general pipeline, many interesting data visualizations can be\ncreated in a performant and scalable way. Datashader contains tools for easily\ncreating these pipelines in a composable manner, using only a few lines of code.\nDatashader can be used on its own, but it is also designed to work as\na pre-processing stage in a plotting library, allowing that library\nto work with much larger datasets than it would otherwise.\n\n## Installation\n\nDatashader supports Python 3.9, 3.10, 3.11, and 3.12 on Linux, Windows, or\nMac and can be installed with conda:\n\n    conda install datashader\n\nor with pip:\n\n    pip install datashader\n\nFor the best performance, we recommend using conda so that you are sure\nto get numerical libraries optimized for your platform. The latest\nreleases are avalailable on the pyviz channel `conda install -c pyviz\ndatashader` and the latest pre-release versions are avalailable on the\ndev-labelled channel `conda install -c pyviz/label/dev datashader`.\n\n## Fetching Examples\n\nOnce you've installed datashader as above you can fetch the examples:\n\n    datashader examples\n    cd datashader-examples\n\nThis will create a new directory called\n<span class=\"title-ref\">datashader-examples</span> with all the data\nneeded to run the examples.\n\nTo run all the examples you will need some extra dependencies. If you\ninstalled datashader **within a conda environment**, with that\nenvironment active run:\n\n    conda env update --file environment.yml\n\nOtherwise create a new environment:\n\n    conda env create --name datashader --file environment.yml\n    conda activate datashader\n\n## Developer Instructions\n\n1.  Install Python 3\n    [miniconda](https://docs.conda.io/en/latest/miniconda.html) or\n    [anaconda](https://www.anaconda.com/distribution/), if you don't\n    already have it on your system.\n\n2.  Clone the datashader git repository if you do not already have it:\n\n        git clone git://github.com/holoviz/datashader.git\n\n3.  Set up a new conda environment with all of the dependencies needed\n    to run the examples:\n\n        cd datashader\n        conda env create --name datashader --file ./examples/environment.yml\n        conda activate datashader\n\n4.  Put the datashader directory into the Python path in this\n    environment:\n\n        pip install --no-deps -e .\n\n## Learning more\n\nAfter working through the examples, you can find additional resources linked\nfrom the [datashader documentation](http://datashader.org),\nincluding API documentation and papers and talks about the approach.\n\n## Some Examples\n\n![USA census](examples/assets/images/usa_census.jpg)\n\n![NYC races](examples/assets/images/nyc_races.jpg)\n\n![NYC taxi](examples/assets/images/nyc_pickups_vs_dropoffs.jpg)\n",
    "bugtrack_url": null,
    "license": "New BSD",
    "summary": "Data visualization toolchain based on aggregating into a grid",
    "version": "0.16.1",
    "project_urls": {
        "Homepage": "https://datashader.org",
        "Source": "https://github.com/holoviz/datashader"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "eeba978258937f44bf270de7ed8bd6d4386949cddc7a1660fe1c558cbd3d8809",
                "md5": "479ff4227cb7de1a1717601be41ad5d0",
                "sha256": "317c16a32a7d1c5208444a83fd6d2cb68d9bfb81802c323489bd24f6b7cf5c5f"
            },
            "downloads": -1,
            "filename": "datashader-0.16.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "479ff4227cb7de1a1717601be41ad5d0",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.9",
            "size": 18325972,
            "upload_time": "2024-04-19T12:59:51",
            "upload_time_iso_8601": "2024-04-19T12:59:51.776876Z",
            "url": "https://files.pythonhosted.org/packages/ee/ba/978258937f44bf270de7ed8bd6d4386949cddc7a1660fe1c558cbd3d8809/datashader-0.16.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e904bcc94b14034486cbe3f6c2bcc73d513ce99f79167c71ecad06dda34d9993",
                "md5": "7f73d5474df9a19ad632a9e05f650d70",
                "sha256": "5b2f1dd448defce206ecc16e9960fe9378f32307ea1fcb0c298c22c14f58c881"
            },
            "downloads": -1,
            "filename": "datashader-0.16.1.tar.gz",
            "has_sig": false,
            "md5_digest": "7f73d5474df9a19ad632a9e05f650d70",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 35711445,
            "upload_time": "2024-04-19T12:59:55",
            "upload_time_iso_8601": "2024-04-19T12:59:55.344166Z",
            "url": "https://files.pythonhosted.org/packages/e9/04/bcc94b14034486cbe3f6c2bcc73d513ce99f79167c71ecad06dda34d9993/datashader-0.16.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-19 12:59:55",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "holoviz",
    "github_project": "datashader",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "datashader"
}
        
Elapsed time: 0.24794s