Skip to main content

TIM Python Client

Project description

TIM Python Client

TIM, or Tangent Information Modeler, is Tangent Works’ automatic model building engine. It is designed specifically for time-series forecasting and anomaly detection.

The TIM Python client introduces an easy and fast way to use TIM in any Python project. As an abstraction over TIM's API, it encapsulates the logic into useful and performant functions helping users go from time-series data to insights that can generate business value.

The TIM Python client is a Python SDK to use the TIM Engine (v5). This includes methods to:

  • upload a dataset,
  • update a dataset by uploading a new version,
  • delete a dataset,
  • retrieve a list of datasets,
  • retrieve a list of dataset versions,
  • create a forecasting build model job,
  • execute a forecasting job,
  • create and execute a forecasting build model job,
  • create a forecasting predict job
  • create and execute a forecasting predict job,
  • create a forecasting rebuild model job,
  • create and execute a forecasting rebuild model job,
  • retrieve the results of a forecasting job,
  • retrieve a list of forecasting jobs,
  • delete a forecasting job,
  • create an anomaly detection build model job,
  • execute an anomaly detection job,
  • create and execute an anomaly detection build model job,
  • create an anomaly detection detect job,
  • create and execute an anomaly detection detect job,
  • create an anomaly detection rebuild model job,
  • created and execute an anomaly detection rebuild model job,
  • retrieve the results of an anomaly detection job,
  • retrieve a list of anomaly detection jobs,
  • delete an anomaly detection job,
  • retrieve a list of workspaces.

Usage

Installation

To install the package run: pip install tim-client

Initialization

from tim import Tim

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

Methods

Tim provides the following methods:

  • client.upload_dataset
  • client.update_dataset
  • client.delete_dataset
  • client.get_datasets
  • client.get_dataset_versions
  • client.build_forecasting_model
  • client.execute_forecast
  • client.build_forecasting_model_and_execute
  • client.create_forecast
  • client.create_forecast_and_execute
  • client.rebuild_forecasting_model
  • client.rebuild_forecasting_model_and_execute
  • client.clean_forecast
  • client.get_forecast_results
  • client.get_forecasting_jobs
  • client.delete_forecast
  • 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.rebuild_anomaly_detection_model
  • client.rebuild_anomaly_detection_model_and_execute
  • client.get_anomaly_detection_results
  • client.get_anomaly_detection_jobs
  • client.delete_anomaly_detection
  • client.get_workspaces

Release notes are available for the different versions.

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

About Tangent Works

Tangent Works delivers forecasting and anomaly detection capabilities for time series data in a fast, accurate and explainable way. This enables users to drive business value from predictive analytics, empowers them to take informed decisions and helps them improve processes.

TIM has already been recognized as a winner in multiple competitions, including GEFCom 2017 and the 2017 ANDRITZ Hackathon.

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-5.2.0rc1.tar.gz (25.4 kB view details)

Uploaded Source

Built Distribution

tim_client-5.2.0rc1-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

Details for the file tim_client-5.2.0rc1.tar.gz.

File metadata

  • Download URL: tim_client-5.2.0rc1.tar.gz
  • Upload date:
  • Size: 25.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for tim_client-5.2.0rc1.tar.gz
Algorithm Hash digest
SHA256 e7601dc4f8b613ed4cf9e35088d5bc3edf71719cfdafa44e1a60dad4b24e7fec
MD5 79667dc0f406ab00ee7c6890cd34f421
BLAKE2b-256 f5369760a05b68679f8453808838a9b5a66ef78072fc3b9c35c6a9d6c92e04b0

See more details on using hashes here.

Provenance

File details

Details for the file tim_client-5.2.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for tim_client-5.2.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 f844c677c090dc203709f241c69af9a7714145efc31f03889d32cd8143b4188b
MD5 aa0cccb91c8828a0beffecae362e4260
BLAKE2b-256 abe88e0690531505e935214a443e3ac3003244f6ebae61a1db90fb8c3fcd052c

See more details on using hashes here.

Provenance

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