Skip to main content

The Seeq SDK for Python

Project description

The seeq Python module is used to interface with Seeq Server (http://www.seeq.com).

Documentation can be found at https://python-docs.seeq.com.

IMPORTANT:

This module mirrors the versioning of Seeq Server, such that the version of this module reflects the version of the Seeq Server from which the Seeq SDK was generated.

For Seeq Server version R60 and later, the SPy module is in its own namespace package called seeq-spy with its own versioning scheme. (Prior to R60, the SPy module was bundled into this main seeq module.)

Upgrade Considerations

When using Seeq Data lab:

If you are using Seeq Data Lab, you should not upgrade or otherwise affect the pre-installed version of the seeq module, as the pre-installed version correctly matches the version of Seeq Server that Data Lab is tied to.

Older than R60

However, in older versions of Seeq Server, you must follow the (more complex) instructions on the corresponding PyPI pages for that version:

https://pypi.org/project/seeq/55.4.9.183.34/ https://pypi.org/project/seeq/56.1.9.184.21/ https://pypi.org/project/seeq/57.2.7.184.22/ https://pypi.org/project/seeq/58.1.3.184.22/ https://pypi.org/project/seeq/59.0.1.184.25/

When NOT using Seeq Data Lab:

If you are not using Seeq Data Lab, you should install the version of the seeq module that corresponds to the first two numbers in the version of Seeq you are interfacing with. E.g.: pip install -U seeq~=56.2. You should then upgrade SPy separately via pip install -U seeq-spy.

seeq.spy

The SPy module is the recommended programming interface for interacting with the Seeq Server. See https://pypi.org/project/seeq-spy/ for more information on the SPy module.

For more advanced tasks than what the SPy module can provide, you may with to use the SDK module described below.

seeq.sdk

The Seeq SDK module is a set of Python bindings for the Seeq Server REST API. You can experiment with the REST API by selecting the API Reference menu item in the upper-right "hamburger" menu of Seeq Workbench.

The SDK module supports both Python 2.x and Python 3.x, but it is strongly recommended that you use Python 3.x (or later) as Python 2.x is end-of-life.

Login is accomplished with the following pattern:

import seeq
import getpass

api_client = seeq.sdk.ApiClient('http://localhost:34216/api')

# Change this to False if you're getting errors related to SSL
seeq.sdk.Configuration().verify_ssl = True

auth_api = seeq.sdk.AuthApi(api_client)
auth_input = seeq.sdk.AuthInputV1()

# Use raw_input() instead of input() if you're using Python 2
auth_input.username = input('Username:').rstrip().lower()
auth_input.password = getpass.getpass()
auth_input.auth_provider_class = "Auth"
auth_input.auth_provider_id = "Seeq"
auth_api.login(body=auth_input)

The api_client object is then used as the argument to construct any API object you need, such as seeq.sdk.ItemsApi. Each of the root endpoints that you see in the API Reference webpage corresponds to a seeq.sdk.XxxxxApi class.


In case you are looking for the Gencove package, it is available here: https://pypi.org/project/gencove/

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seeq-66.0.0.dev20240627.tar.gz (421.1 kB view details)

Uploaded Source

Built Distribution

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

seeq-66.0.0.dev20240627-py3-none-any.whl (943.4 kB view details)

Uploaded Python 3

File details

Details for the file seeq-66.0.0.dev20240627.tar.gz.

File metadata

  • Download URL: seeq-66.0.0.dev20240627.tar.gz
  • Upload date:
  • Size: 421.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/7.0.1 pkginfo/1.10.0 requests/2.31.0 requests-toolbelt/1.0.0 tqdm/4.66.1 CPython/3.8.19

File hashes

Hashes for seeq-66.0.0.dev20240627.tar.gz
Algorithm Hash digest
SHA256 4516bbca0aa88e7e6651c41474b6e2ad81b7c6e1b6ac8544c312595fb4d3b1e9
MD5 fb102559b74884898eae92fd16e4eb27
BLAKE2b-256 bcf2f520cd1434d7ee3537a92b347f65c486d5d648103c912cee65219b5c3148

See more details on using hashes here.

File details

Details for the file seeq-66.0.0.dev20240627-py3-none-any.whl.

File metadata

  • Download URL: seeq-66.0.0.dev20240627-py3-none-any.whl
  • Upload date:
  • Size: 943.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/7.0.1 pkginfo/1.10.0 requests/2.31.0 requests-toolbelt/1.0.0 tqdm/4.66.1 CPython/3.8.19

File hashes

Hashes for seeq-66.0.0.dev20240627-py3-none-any.whl
Algorithm Hash digest
SHA256 e1bb032f156b7005307d1b325b60cf454a49d394b0d71d82027b09ae57fa11a0
MD5 8a4adeb3bf4c4cbe1c27d7145d7b8331
BLAKE2b-256 de9ed004e204076e20d16195d005e085835637b64d03263709694a418cc33524

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