Skip to main content

API client for Datarefiner

Project description

Readme

DataRefiner Client Library is a Python API toolkit designed to seamlessly connect your Python code with the DataRefiner platform, enabling convenient access and interaction.

Website: https://datarefiner.com

What functions this library support?

  • Login using API key
  • Perform Supervised labelling (predict cluster labels and groups from trained toplogical project)

Usage example:

import pandas as pd
from datarefiner_client import DataRefinerClient

# Login using API key
client = DataRefinerClient(
    token='datarefiner_token',
    base_url='https://app.datarefiner.com',
)
client.me()

# Loading new data from CSV file
project_id = 2698269341
df = pd.read_csv("./data.csv")

# Performig prediction for new data
clusters_df, groups_df = client.supervised_labeling(project_id=project_id, df=df)

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

datarefiner_client-0.0.3.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

datarefiner_client-0.0.3-py3-none-any.whl (7.0 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