Skip to main content

DataWhys Dashboard SDK allows users to create a DataWhys Dashboard directly within their Python notebooks

Project description

DataWhys Dashboard Python SDK

DataWhys Dashboard SDK allows users to create a DataWhys Dashboard directly within their Python notebooks.

Installation

Use the package manager pip to install datawhys-dashboard.

pip install datawhys-dashboard

Usage

import datawhys_dashboard as dwdash

# Set your credentials
dwdash.api_key = "<API_KEY>" # Ask your datawhys rep for this key

# Your API key is stack specific. The SDK defaults to the main US stack, but you can
# change this by setting `api_base` as follows. Ask your datawhys rep for the api base.
dwdash.api_base = "https://<DOMAIN>/api/v0.2/"

# Build a pandas dataframe and store in `df` (not shown)

# Create a dashboard
from datawhys_dashboard import create_dashboard
create_dashboard(df, outcome="Risk")

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Take a look at CONTRIBUTING.md for more info

Please make sure to update tests as appropriate.

License

MIT

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

datawhys-dashboard-0.1.2.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

datawhys_dashboard-0.1.2-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

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