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.0-py3-none-any.whl (4.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: h2o_autoviz-1.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 30533580e0d220ecb5554378addc4f8fa22f602bd3e3c78c8df75c91c8b1b363
MD5 232380b9ce26dbefd816451e04b283bc
BLAKE2b-256 02c44539ee5263b97c0a02f4a04d332c115e52a8ec06bb80f031e3bf14ff6948

See more details on using hashes here.

Provenance

The following attestation bundles were made for h2o_autoviz-1.0.0-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