Metadata-Version: 2.1
Name: datarefiner-client
Version: 0.0.2
Summary: API client for Datarefiner
Author: Datarefiner
Author-email: admin@datarefiner.com
Requires-Python: >=3.8,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: environs (>=9.5.0,<10.0.0)
Requires-Dist: pandas (>=1.4)
Requires-Dist: progressbar (>=2.5,<3.0)
Requires-Dist: requests (>=2.31.0,<3.0.0)
Description-Content-Type: text/markdown

**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](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)
```

