Skip to main content

The seeq-spy Python module is the recommended programming interface for interacting with the Seeq Server.

Use of this module requires a Seeq Data Lab license.

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

The Seeq SPy module is a friendly set of functions that are optimized for use with Jupyter, Pandas and NumPy.

The SPy module is the best choice if you're trying to do any of the following:

  • Search for signals, conditions, scalars, assets
  • Pull data out of Seeq
  • Import data in a programmatic way (when Seeq Workbench's CSV Import capability won't cut it)
  • Calculate new data in Python and push it into Seeq
  • Create an asset model
  • Programmatically create and manipulate Workbench Analyses or Organizer Topics

Use of the SPy module requires Python 3.7 or later.

SPy version 187 and higher is compatible with Pandas 2.x.

To start exploring the SPy module, execute the following lines of code in Jupyter:

from seeq import spy
spy.docs.copy()

Your Jupyter folder will now contain a SPy Documentation folder that has a Tutorial and Command Reference notebook that will walk you through common activities.

For more advanced tasks, you may need to use the seeq.sdk module directly as described at https://pypi.org/project/seeq.

Upgrade Considerations

The seeq-spy module can/should be upgraded separately from the main seeq module by doing pip install -U seeq-spy. It is written to be compatible with Seeq Server version R60 and later.

DataFrame Metadata

In SPy v183 and later, the DataFrame metadata that is described in the Properties stored in the output DataFrame section of the spy.search.ipynb documentation notebook has been moved into a top-level spy namespace on the DataFrame (as opposed to each variable being at the top level). For example, in order to access the function name that was used to produce the DataFrame, you would use search_df.spy.func instead of just search_df.func. This change was made to avoid collisions with native DataFrame properties and functions.

spy.assets

In SPy v183 and later, spy.assets.build() conducts the build process in two passes instead of one. This generally has no repercussions for your Asset- or Mixin-derived classes, but you will notice that @Asset.Component-decorated functions are called twice per asset. In the first pass, the framework is expecting the component asset classes to be instantiated, and in the second pass it is expecting all attributes to be evaluated and built. This new behavior generally does not require you to make any changes to your classes, with one exception: If you were using @Asset.Component as a means by which you could generate multiple signals/conditions/scalars/metrics from a single function, you should instead use @Asset.Attribute to achieve that.

spy.workbooks

In Seeq Server R22.0.49.00, the ability to schedule the update of an Organizer Topic was added. As a result, much of the internals of how Organizer Topic embedded content and date ranges are represented changed.

If you have used spy.workbooks.save() in R22.0.48.XX and earlier to save a set of Organizer Topic workbooks to disk, you will not be able to use those files in R22.0.49.00 and later.

Live Docs must now be specified by a schedule on the TopicDocument object. The @Asset.DateRange decorator no longer honors the Auto Refresh Rate property. To specify a Live Doc, you must specify a schedule dict for a TopicDocument by setting document.schedule['Background'] = False and then specifying a Cron expression like schedule['Cron Schedule'] = ['*/30 * * * * *'] (every thirty seconds). Alternatively, you can specify a Scheduled Doc by setting document.schedule['Background'] = True.

Release files for seeq-spy 193.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seeq-spy 193.3
File Size Uploaded
seeq-spy-193.3.tar.gz 5.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for seeq-spy 193.3
File Interpreter ABI Platform
seeq_spy-193.3-py3-none-any.whl Python 3 none any Details

Total release size: 11.3 MB

Release files / seeq-spy-193.3.tar.gz

Download URL seeq-spy-193.3.tar.gz
Size 5.5 MB
Tags Source
SHA-256 checksum
How to use checksums
7ab2314e60b150681e125d1d98fe45021b3d0dae67aff3ec849fdbfa8ce2caac
BLAKE2b-256 checksum
How to use checksums
035a0a4625000ebd8b6941b7e6c19a59a3a8ec8be8291205cdc898b36b343292
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / seeq_spy-193.3-py3-none-any.whl

Download URL seeq_spy-193.3-py3-none-any.whl
Size 5.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
9f364fc10c1c3d62c3a90bc8cc520363837bd1aafb898f464792528ef3fd0f40
BLAKE2b-256 checksum
How to use checksums
dec75f0779f94222a5c27bf39b11d625de4147be1d9717a778f55e94ec8e6d42
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

202.13

2 release files

202.12

2 release files

202.11

2 release files

202.10

2 release files

202.9

2 release files

202.8

2 release files

202.7

2 release files

202.6

2 release files

202.5

2 release files

202.4

2 release files

202.3

2 release files

202.2

2 release files

202.1

2 release files

202.0

2 release files

201.7

2 release files

201.6

2 release files

201.5

2 release files

201.4

2 release files

201.3

2 release files

201.2

2 release files

201.0

2 release files

200.9

2 release files

200.8

2 release files

200.7

2 release files

200.6

2 release files

200.5

2 release files

200.4

2 release files

200.3

2 release files

200.2

2 release files

200.1

2 release files

199.3

2 release files

199.2

2 release files

199.1

2 release files

199.0

2 release files

198.1

2 release files

198.0

2 release files

197.28

2 release files

197.27

2 release files

197.26

2 release files

197.23

2 release files

197.22

2 release files

197.20

2 release files

197.19

2 release files

197.18

2 release files

197.16

2 release files

197.15

2 release files

197.14

2 release files

197.13

2 release files

197.12

2 release files

197.10

2 release files

197.9

2 release files

197.8

2 release files

197.7

2 release files

197.5

2 release files

197.4

2 release files

197.3

2 release files

197.1

2 release files

197.0

2 release files

196.13

2 release files

196.12

2 release files

196.8

2 release files

196.7

2 release files

196.6

2 release files

196.5

2 release files

196.4

2 release files

196.3

2 release files

196.2

2 release files

196.1

2 release files

196.0

2 release files

195.2

2 release files

195.1

2 release files

195.0

2 release files

194.1

2 release files

194.0

2 release files

193.22

2 release files

193.21

2 release files

193.18

2 release files

193.17

2 release files

193.14

2 release files

193.12

2 release files

193.11

2 release files

193.10

2 release files

193.9

2 release files

193.8

2 release files

193.7

2 release files

193.6

2 release files

193.4

2 release files

This release

193.3 This release

2 release files

193.2

2 release files

193.1

2 release files

193.0

2 release files

192.38

2 release files

192.36

2 release files

192.35

2 release files

192.34

2 release files

192.30

2 release files

192.29

2 release files

192.28

2 release files

192.25

2 release files

192.23

2 release files

192.22

2 release files

192.20

2 release files

192.16

2 release files

192.15

2 release files

192.13

2 release files

192.12

2 release files

192.7

2 release files

192.6

2 release files

192.0

2 release files

191.4

2 release files

191.3

2 release files

191.2

2 release files

191.1

2 release files

191.0

2 release files

190.18

2 release files

190.17

2 release files

190.16

2 release files

190.15

2 release files

190.11

2 release files

190.9

2 release files

190.3

2 release files

189.18

2 release files

189.14

2 release files

189.11

2 release files

189.9

2 release files

189.3

2 release files

189.0

2 release files

188.3

2 release files

188.2

2 release files

188.0

2 release files

187.5

2 release files

187.2

2 release files

187.0

2 release files

186.9

2 release files

186.8

2 release files

186.4

2 release files

186.1

2 release files

185.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page