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,
  • 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,
  • 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,
  • 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.delete_dataset
  • client.get_datasets
  • client.get_dataset_versions
  • client.build_forecasting_model
  • client.execute_forecast
  • client.build_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.get_anomaly_detection_results
  • client.get_anomaly_detection_jobs
  • client.delete_anomaly_detection
  • 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

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

Uploaded Source

Built Distribution

tim_client-0.0.21-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tim_client-0.0.21.tar.gz
  • Upload date:
  • Size: 34.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for tim_client-0.0.21.tar.gz
Algorithm Hash digest
SHA256 1f747495ccc1201b159925b87a74f2ae3af11fb34c2281f0824bfebb512eadb7
MD5 68f1204fe324fefe58856ad122fdb763
BLAKE2b-256 c1596b5f8dfae07ec33418dd659d4abd8f1276e23a83b6f552cbbd9660abe8fc

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tim_client-0.0.21-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for tim_client-0.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 7d6e890cf6a17ceec135de0d9a20296eec80512202d02f0ebccdf56ffc508952
MD5 e4800628efae07eda9a9a83bbc69c8d2
BLAKE2b-256 5c6af75c04aa19522b4bb1c1490c8270ae670d7916576fcc1e68134ee50ac9c8

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