Skip to main content

Leland Wilkinson's Autoviz Python Library

Project description

Autoviz Python Library

Running the Autoviz

As the core visualization library of Autoviz is written in Java, this project is using the JPype module to manage the JVM and create the bridge between the Python process and visualization classes. Due to that, a proper installation of Java JDK is required as well as setting the JAVA_HOME environment variable.

After then, you can use the library as in the following example

from h2o_autoviz import Autoviz

autoviz = Autoviz()
histogram = autoviz.histogram("path/to/data.csv", "variable_name")

Note that the result of the call is a Vega-lite definition of the histogram.

Building the package

This package is using uv for project management.

Setup

Install uv following the official instructions, then sync the project dependencies:

uv sync

Running tests

make test

Linting and formatting

This project uses ruff for linting and formatting, and ty for type checking.

make lint
make format

Building the wheel

uv build

Common issues

Mac users with M1 and M2 processors may encounter a regular problem with incompatible JDK for their ARM processor.
To resolve the issue, you'll need to get the ARM-compatible JDK, such as this one. Follow this Github thread for more details

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

h2o_autoviz-1.0.0a1-py3-none-any.whl (4.2 MB view details)

Uploaded Python 3

File details

Details for the file h2o_autoviz-1.0.0a1-py3-none-any.whl.

File metadata

  • Download URL: h2o_autoviz-1.0.0a1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for h2o_autoviz-1.0.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab3c1979bdcb268e558b4a139ab39276ca930e7ada518c3f235e0d5308587ca8
MD5 43616a66ccfe9b65e8f3116b6571eafe
BLAKE2b-256 95c3a98a7abd452e302dada147e612bfec901d4d3f3e803e8e9f50c14bb78fe1

See more details on using hashes here.

Provenance

The following attestation bundles were made for h2o_autoviz-1.0.0a1-py3-none-any.whl:

Publisher: pipeline.yaml on h2oai/autoviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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