Skip to main content

inferyx

A Python SDK for the Inferyx AI/Data Analytics platform.

inferyx lets you programmatically create, manage, and orchestrate Inferyx platform entities — datasources, data pipelines, data products, business rules, ML models, schedulers, and more — directly from Python.


Installation

pip install inferyx

Getting started

Every operation starts with an AppConfig, which holds your platform host and authentication tokens.

from inferyx.config import AppConfig
from inferyx.components.admin import Datasource

app_config = AppConfig(
    host="analytic.inferyx.com",
    appToken="<YOUR_APP_TOKEN>",
    adminToken="<YOUR_ADMIN_TOKEN>",
)

datasource = Datasource(
    app_config=app_config,
    name="my_postgres_source",
    type="POSTGRES",
)

response = datasource.create()
print(response)

You can also authenticate using a JWT token (with optional auto-refresh):

app_config = AppConfig(
    host="analytic.inferyx.com",
    jwt_token="<JWT_TOKEN>",
    token_refresher=lambda: get_new_jwt_token(),
)

What you can do

The SDK is organized into components, each mapping to a core area of the Inferyx platform:

Component Module Description
Admin inferyx.components.admin Manage datasources and resources
Batch Scheduler inferyx.components.batch_scheduler Create and run batches, manage schedulers
Business Rule inferyx.components.business_rule Define and manage business rules and criteria
Data Asset inferyx.components.data_asset Manage data assets
Data Catalog inferyx.components.data_catalog Manage glossaries, domains, assets, and products in the catalog
Data Classification inferyx.components.data_classification Classify data
Data Domain inferyx.components.data_domain Manage data domains
Data Glossary inferyx.components.data_glossary Manage business glossary terms
Data Ingestion inferyx.components.data_ingestion Configure ingestion jobs, filters, and transformations
Data Operator inferyx.components.data_operator Build and configure custom data operators
Data Pipeline inferyx.components.data_pipeline Build pipelines with tasks and stages
Data Preparation inferyx.components.data_preparation Prepare datasets and datapods with transformations and mappings
Data Product inferyx.components.data_product Manage data products
Data Profiling inferyx.components.data_profiling Profile datasets
Data Quality inferyx.components.data_quality Define and run data quality checks
Data Reconciliation inferyx.components.data_reconciliation Reconcile data across sources
Data Science inferyx.components.data_science Manage models, training, prediction, evaluation, and feature stores
File Manager inferyx.components.file_manager Upload, download, and manage files
Job Monitoring inferyx.components.job_monitoring Monitor job and execution status
Vizpod inferyx.components.vizpod_component Manage visualization pods
Workbench inferyx.components.workbench Interact with the Inferyx workbench

Example: Deploying a model

from inferyx.config import AppConfig
from inferyx.components.data_science import ModelDeploy

app_config = AppConfig(
    host="analytic.inferyx.com",
    appToken="<YOUR_APP_TOKEN>",
    adminToken="<YOUR_ADMIN_TOKEN>",
)

deploy_instance = ModelDeploy(app_config)

response = deploy_instance.deploy(
    file="/path/to/model.pmml",
    resource_name="resource_local_deploy",
    datasource_name="file_upload_s3_source",
    model_name="my_model",
    model_type="PMML",
)

print(response.text)

Requirements

  • Python 3.8+
  • A valid Inferyx platform host and access tokens

Links


License

Copyright © Inferyx. All rights reserved.

Metadata

Release files for inferyx 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for inferyx 1.0.6
File Size Uploaded
inferyx-1.0.6.tar.gz 237.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for inferyx 1.0.6
File Interpreter ABI Platform
inferyx-1.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 513.5 kB

Release files / inferyx-1.0.6.tar.gz

Download URL inferyx-1.0.6.tar.gz
Size 237.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ba426152a7dc08e8db9300fdf9fc0acd04d1c6999691df93f6a3ad728997c627
BLAKE2b-256 checksum
How to use checksums
720d1a6d8a7b33714094d41942c6a5ebb061c4b3302f6dc0d61c02d4ccb452bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / inferyx-1.0.6-py3-none-any.whl

Download URL inferyx-1.0.6-py3-none-any.whl
Size 276.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06ee137f0a9bf1fefe57ab1cc3e0281e7e4f9fc8038ef13dae4789469bbd1676
BLAKE2b-256 checksum
How to use checksums
fa42fd34c90785514f21d0b27ca9562d039733a24065c16b6e54875c8025b9a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 release files

1.0.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page