Skip to main content

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


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.1.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coreplexml-0.1.1-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file coreplexml-0.1.1.tar.gz.

File metadata

  • Download URL: coreplexml-0.1.1.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.17

File hashes

Hashes for coreplexml-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0b9d28ec9f2d94a3cabef549edf967379867d32d4bd45faa1581f18a7b057b4d
MD5 0d9f29d9e7f1410cf3e0175f8f62d00e
BLAKE2b-256 103dcfba87d340158536b28b4a76f9e11cf8c050357fdee9253e240ccc71b7e4

See more details on using hashes here.

File details

Details for the file coreplexml-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: coreplexml-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.17

File hashes

Hashes for coreplexml-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 283d247faed025ba5acca3e34a154dc015bbef35fe54c1c186a0e52c46aa2893
MD5 fba5935e56da56f07d29c4b1ed19896c
BLAKE2b-256 9a15d80427df9d869391cedbdba3bfc9a167084c6c157c677836779c869ee1c9

See more details on using hashes here.

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