datashader


Namedatashader JSON
Version 0.16.3 PyPI version JSON
download
home_pagehttps://datashader.org
SummaryData visualization toolchain based on aggregating into a grid
upload_time2024-07-04 12:26:26
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 No coveralls.
            <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

|    |    |
| --- | --- |
| Downloads | ![https://pypistats.org/packages/datashader](https://img.shields.io/pypi/dm/datashader?label=pypi) ![https://anaconda.org/pyviz/datashader](https://pyviz.org/_static/cache/datashader_conda_downloads_badge.svg)
| Build Status | [![Build Status](https://github.com/holoviz/datashader/actions/workflows/test.yaml/badge.svg?branch=main)](https://github.com/holoviz/datashader/actions/workflows/test.yaml?query=branch%3Amain) |
| 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 | [![DocBuildStatus](https://github.com/holoviz/datashader/workflows/docs/badge.svg?query=branch%3Amain)](https://github.com/holoviz/datashader/actions?query=workflow%3Adocs+branch%3Amain) [![site](https://img.shields.io/website-up-down-green-red/https/datashader.org.svg)](https://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/download/success), 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](https://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/a0/15/3e28732b7ea0985929dd31612c073d5e49b99d67f6974de334ff81f22fb1/datashader-0.16.3.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| Downloads | ![https://pypistats.org/packages/datashader](https://img.shields.io/pypi/dm/datashader?label=pypi) ![https://anaconda.org/pyviz/datashader](https://pyviz.org/_static/cache/datashader_conda_downloads_badge.svg)\n| Build Status | [![Build Status](https://github.com/holoviz/datashader/actions/workflows/test.yaml/badge.svg?branch=main)](https://github.com/holoviz/datashader/actions/workflows/test.yaml?query=branch%3Amain) |\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 | [![DocBuildStatus](https://github.com/holoviz/datashader/workflows/docs/badge.svg?query=branch%3Amain)](https://github.com/holoviz/datashader/actions?query=workflow%3Adocs+branch%3Amain) [![site](https://img.shields.io/website-up-down-green-red/https/datashader.org.svg)](https://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/download/success), 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](https://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.3",
    "project_urls": {
        "Homepage": "https://datashader.org",
        "Source": "https://github.com/holoviz/datashader"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ce09949d6096c7fd3f2014082d6174c864114148c70973c3dd208fe05b0e7610",
                "md5": "f5ea8157d39edcb1b29cac58e786ac42",
                "sha256": "90e7425f17b5dc597ab50facca1d16df53c4893708500ad89d4e64b6eb7238aa"
            },
            "downloads": -1,
            "filename": "datashader-0.16.3-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f5ea8157d39edcb1b29cac58e786ac42",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.9",
            "size": 18332952,
            "upload_time": "2024-07-04T12:26:22",
            "upload_time_iso_8601": "2024-07-04T12:26:22.237547Z",
            "url": "https://files.pythonhosted.org/packages/ce/09/949d6096c7fd3f2014082d6174c864114148c70973c3dd208fe05b0e7610/datashader-0.16.3-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a0153e28732b7ea0985929dd31612c073d5e49b99d67f6974de334ff81f22fb1",
                "md5": "89af70e809ef50ed7437dabada2465a9",
                "sha256": "9d0040c7887f7a5a5edd374c297402fd208a62bf6845e87631b54f03b9ae479d"
            },
            "downloads": -1,
            "filename": "datashader-0.16.3.tar.gz",
            "has_sig": false,
            "md5_digest": "89af70e809ef50ed7437dabada2465a9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 35716446,
            "upload_time": "2024-07-04T12:26:26",
            "upload_time_iso_8601": "2024-07-04T12:26:26.507038Z",
            "url": "https://files.pythonhosted.org/packages/a0/15/3e28732b7ea0985929dd31612c073d5e49b99d67f6974de334ff81f22fb1/datashader-0.16.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-04 12:26:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "holoviz",
    "github_project": "datashader",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "datashader"
}
        
Elapsed time: 0.33804s