Python SDK for CorePlexML AutoML & MLOps platform
Project description
CorePlexML Python SDK
Official Python client for the CorePlexML AutoML & MLOps platform.
Installation
pip install coreplexml
Quick Start
from coreplexml import CorePlexMLClient
client = CorePlexMLClient(
base_url="https://platform.coreplexml.io",
api_key="your-api-key"
)
# List projects
projects = client.projects.list()
# Create a project
project = client.projects.create(name="My ML Project")
# Upload a dataset
dataset = client.datasets.upload(
project_id=project["id"],
file_path="data.csv",
name="Training Data"
)
# Run an AutoML experiment
experiment = client.experiments.create(
project_id=project["id"],
dataset_version_id=dataset["version_id"],
target_column="label",
problem_type="classification"
)
# Get the best model
models = client.models.list(project_id=project["id"])
best = models["items"][0]
# Deploy
deployment = client.deployments.create(
project_id=project["id"],
model_id=best["id"],
name="production-v1"
)
# Predict
result = client.deployments.predict(
deployment_id=deployment["id"],
inputs={"feature1": 1.0, "feature2": "A"}
)
print(result["predictions"])
Resources
The client provides access to all platform resources:
| Resource | Description |
|---|---|
client.projects |
Project CRUD |
client.datasets |
Dataset upload, versions, columns |
client.experiments |
AutoML experiment management |
client.models |
Model listing, metrics, explainability |
client.deployments |
Deploy models, predict, A/B tests |
client.reports |
Generate PDF/HTML reports |
client.privacy |
Privacy Suite (PII detection, compliance) |
client.synthgen |
Synthetic data generation (CTGAN, TVAE) |
client.studio |
What-If analysis sessions |
Authentication
Create an API key from Profile > API Keys in the platform, then:
client = CorePlexMLClient(
base_url="https://platform.coreplexml.io",
api_key="cpx_your_api_key_here"
)
Error Handling
from coreplexml import CorePlexMLClient, NotFoundError, ValidationError
try:
client.projects.get("nonexistent-id")
except NotFoundError:
print("Project not found")
except ValidationError as e:
print(f"Validation error: {e}")
Requirements
- Python >= 3.9
requests>= 2.28
Links
License
Business Source License 1.1
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
coreplexml-0.1.2.tar.gz
(16.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coreplexml-0.1.2.tar.gz.
File metadata
- Download URL: coreplexml-0.1.2.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
673558b80cd2b6d5f6bf3a49eb2089a3833a6b409050e0a0fc997884dfb1b5e3
|
|
| MD5 |
77c76a2ca852408b351efeffe591afae
|
|
| BLAKE2b-256 |
5bebf18d241ced8c0279b8342eaf64b228e5175ecec279fa0095bc843e54855d
|
File details
Details for the file coreplexml-0.1.2-py3-none-any.whl.
File metadata
- Download URL: coreplexml-0.1.2-py3-none-any.whl
- Upload date:
- Size: 22.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d634fd1b2e813df0ef6a8202f0463a38a2a061227b4a6a808e4c916b02125e2e
|
|
| MD5 |
dd9b9b771c25bceb8be1c761ce338462
|
|
| BLAKE2b-256 |
595cc7fd2e54cc5101439f1eeaf9a3c1e232794df4032130b1586f457f33f767
|