Skip to main content

TIM Python Client

Project description

TIM Python Client v5

Python SDK to use the TIM Engine v5. This includes methods to:

  • upload a dataset,
  • retrieve a list of datasets,
  • retrieve a list of dataset versions,
  • create a forecasting build model job,
  • execute a forecasting build model job,
  • create and execute a forecasting build model job,
  • retrieve the results of a forecasting job,
  • create an anomaly detection build model job,
  • execute an anomaly detection build model job,
  • create and execute an anomaly detection build model job,
  • retrieve the results of an anomaly detection job,
  • retrieve a list of workspaces.

Usage

Installation

To install the package run: pip install tim-client

Initiation

from tim import Tim

client = Tim(email='',password='')

Methods

Tim provides the following methods:

  • client.upload_dataset
  • client.get_datasets
  • client.get_dataset_versions
  • client.build_forecasting_model
  • client.execute_forecast
  • client.build_forecasting_model_and_execute
  • client.get_forecast_results
  • client.build_anomaly_detection_model
  • client.execute_anomaly_detection
  • client.build_anomaly_detection_model_and_execute
  • client.create_anomaly_detection
  • client.create_anomaly_detection_and_execute
  • client.get_anomaly_detection_results
  • client.get_workspaces

Error handling

Minimal validation is performed by the Tim client, errors will be raised by the server.

Documentation

Full documentation of the API can be found at: https://docs.tangent.works

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

tim_client-0.0.12.tar.gz (31.9 kB view hashes)

Uploaded Source

Built Distribution

tim_client-0.0.12-py3-none-any.whl (20.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page