Skip to main content

A python package for Inferyx analytics tool

Project description

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.

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

inferyx-1.0.6.tar.gz (237.5 kB view details)

Uploaded Source

Built Distribution

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

inferyx-1.0.6-py3-none-any.whl (276.0 kB view details)

Uploaded Python 3

File details

Details for the file inferyx-1.0.6.tar.gz.

File metadata

  • Download URL: inferyx-1.0.6.tar.gz
  • Upload date:
  • Size: 237.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for inferyx-1.0.6.tar.gz
Algorithm Hash digest
SHA256 ba426152a7dc08e8db9300fdf9fc0acd04d1c6999691df93f6a3ad728997c627
MD5 7b0f0a1f39967aafa5a4c983aebbe46a
BLAKE2b-256 720d1a6d8a7b33714094d41942c6a5ebb061c4b3302f6dc0d61c02d4ccb452bd

See more details on using hashes here.

File details

Details for the file inferyx-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: inferyx-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 276.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for inferyx-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 06ee137f0a9bf1fefe57ab1cc3e0281e7e4f9fc8038ef13dae4789469bbd1676
MD5 5a9f1c802a66c9668730d05840281429
BLAKE2b-256 fa42fd34c90785514f21d0b27ca9562d039733a24065c16b6e54875c8025b9a9

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