Skip to main content

Statistical visualizations for Datasette using Seaborn

Project description

datasette-seaborn

PyPI Changelog Tests License

Statistical visualizations for Datasette using Seaborn

Installation

Install this plugin in the same environment as Datasette.

$ datasette install datasette-seaborn

Usage

Navigate to the new .seaborn extension for any Datasette table.

The _seaborn argument specifies a method on sns to execute, e.g. ?_seaborn=relplot.

Extra arguments to those methods can be specified using e.g. &_seaborn_x=column_name.

Configuration

The plugin implements a default rendering time limit of five seconds. You can customize this limit using the render_time_limit setting, which accepts a floating point number of seconds. Add this to your metadata.json:

{
    "plugins": {
        "datasette-seaborn": {
            "render_time_limit": 1.0
        }
    }
}

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd datasette-seaborn
python3 -mvenv venv
source venv/bin/activate

Or if you are using pipenv:

pipenv shell

Now install the dependencies and tests:

pip install -e '.[test]'

To run the tests:

pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datasette-seaborn-0.2a0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datasette_seaborn-0.2a0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file datasette-seaborn-0.2a0.tar.gz.

File metadata

  • Download URL: datasette-seaborn-0.2a0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for datasette-seaborn-0.2a0.tar.gz
Algorithm Hash digest
SHA256 9e064545badabae1148145a195f19929f53c97a614f17f89534a2ec714d34074
MD5 5b74dbb05e999fe30d790aa8bf88cf9c
BLAKE2b-256 0dedc7b6e2a477511d5564022f2ea8399c3b0a96b8dc0a6c0bf56f1e46523f67

See more details on using hashes here.

File details

Details for the file datasette_seaborn-0.2a0-py3-none-any.whl.

File metadata

  • Download URL: datasette_seaborn-0.2a0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for datasette_seaborn-0.2a0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4194ce39bb9015d96f8d87ddf688443cb87855e2d7d86a9d248f892eff2585e
MD5 c235b6467453f2cec693aed96f924bae
BLAKE2b-256 1fa2d497dcc557ddd8a03373c3631d198b86a44ee9c51983edd376c1a6186bf3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page