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

Uploaded Source

Built Distribution

tim_client-5.1.1-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

Details for the file tim_client-5.1.1.tar.gz.

File metadata

  • Download URL: tim_client-5.1.1.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for tim_client-5.1.1.tar.gz
Algorithm Hash digest
SHA256 d9ffb773dee0b54cf1ef96c9823d2d1b64e23b61b8fd8a944c7ced915e826d00
MD5 9ab6b9ae0213404899f206d47382f8eb
BLAKE2b-256 78374cff47935d21d9f4e5b670677a725fdb541a836526c38bcf6f20955906f2

See more details on using hashes here.

Provenance

File details

Details for the file tim_client-5.1.1-py3-none-any.whl.

File metadata

  • Download URL: tim_client-5.1.1-py3-none-any.whl
  • Upload date:
  • Size: 24.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for tim_client-5.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 62b0679a3f55c9e9b09cd4ff6da51fa49b24e0778fa3bd64fddb7189cbe4b083
MD5 88a8e66202f20183aba883e334ce1703
BLAKE2b-256 fcad2d237bba6bc90068e02177809e4ac0e075f2f3b983ac9a38863704ac773b

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