Skip to main content

Tricentis Sealights Python Agent

The sealights-python-agent integrates your Python applications with the Tricentis Sealights Quality Intelligence Platform. It provides real-time code coverage analysis, test optimization, and quality analytics for your CI/CD pipelines.

With this agent you can:

  • Scan builds – map your source code so Sealights can track changes across builds and branches.

  • Collect code coverage – capture per-test method-level coverage during test execution.

  • Optimize testing – leverage Sealights Test Impact Analysis to run only the tests affected by recent code changes, reducing CI cycle time.

Compatibility

  • Python 3.10, 3.11, 3.12, 3.13, 3.14

  • Test frameworks: pytest, unittest, unittest2, Behave, Robot Framework, nose (on Python 3.11 and earlier)

Installation

pip install sealights-python-agent

Quick Start

# 1. Scan your build
sl-python scan --tokenfile sltoken.txt --buildsessionidfile buildSessionId \
    --workspacepath .

# 2. Start a test session
sl-python start --tokenfile sltoken.txt --buildsessionidfile buildSessionId \
    --teststage "Unit Tests"

# 3. Run your tests with coverage
sl-python pytest --teststage "Unit Tests" <your test args...>

# 4. End the test session
sl-python end --tokenfile sltoken.txt --buildsessionidfile buildSessionId

Documentation

For complete setup guides, configuration options, and advanced usage, see the official Tricentis Sealights documentation:

https://docs.sealights.io/knowledgebase

Support

For questions, issues, or feature requests, please contact Tricentis Support:

https://support.tricentis.com/

License

This package is distributed under a proprietary license. See LICENSE.txt for details.

Release Notes

2.10.18 (2026-08-11)

  • Raised minimum versions of lxml, GitPython, and cryptography to address security vulnerabilities

2.10.17 (2026-07-29)

  • Fixed a rare out-of-memory crash during build scanning when the agent is injected via a container-wide PYTHONPATH; dependency collection now runs in-process instead of shelling out to pip

2.10.15 (2026-07-20)

  • Added support for chaining additional Lambda wrappers in the serverless layer

  • Improved agent-start event to report working directory and SL_* environment context (tokens redacted)

  • Dropped support for Python 3.9; supported versions are now 3.10 - 3.14

  • Upgraded urllib3 and cryptography to address security vulnerabilities

2.10.1 (2026-04-27)

  • Improved coverage reliability at end of test execution

2.10.0 (2026-04-20)

  • Added support for Python 3.14

2.9.0 (2026-04-16)

  • Upgraded requests library to address security vulnerability

  • Improved Behave test framework integration

2.8.0 (2026-03-30)

  • Added CLI command aliases for improved usability

  • Standardized command-line parameter naming

2.7.18 (2026-03-11)

  • Added testProjectId support for Robot Framework SLListener

2.7.17 (2026-03-04)

  • Improved stability of background polling during test execution

2.7.16 (2026-03-03)

  • Improved coverage collection for short-lived test runs

2.7.15 (2026-03-03)

  • Added HTTP retry mechanism with configurable error handling (SL_FAIL_ON_ERROR)

  • Improved data flushing for unit testing workflows

2.7.13 (2026-03-02)

  • Improved build session ID and lab ID handling

2.7.12 (2026-02-13)

  • Improved SL_LAB_ID environment variable compatibility

2.7.11 (2026-02-04)

  • Added include/exclude rules reporting in agent start event

  • Added .slignore file support for excluding files from scanning

  • Synchronized console messages with latest platform updates

2.7.10 (2026-01-28)

  • Improved configuration initialization and settings management

2.7.9 (2026-01-15)

  • Upgraded urllib3 to version 2.6.3 for improved security and stability

2.7.8 (2026-01-13)

  • Upgraded urllib3 to version 2.6.2 with enhanced HTTP handling

2.7.7 (2025-12-29)

  • Improved configuration management and feature initialization

  • Enhanced error handling and console messaging

2.7.6 (2025-12-24)

  • Improved MD5 hashing compatibility

  • Improved test project ID handling

2.7.5 (2025-10-28)

  • Improved lab ID handling from CLI parameters

  • Improved test project ID support

2.7.1 (2025-10-09)

  • Added Robot Framework lab ID support

  • Revendored internal dependencies to latest versions

Metadata

Release files for sealights-python-agent 2.10.20

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

Source distribution (sdist)

Source distribution for sealights-python-agent 2.10.20
File Size Uploaded
sealights_python_agent-2.10.20.tar.gz 2.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for sealights-python-agent 2.10.20
File Interpreter ABI Platform
sealights_python_agent-2.10.20-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 4.3 MB

Release files / sealights_python_agent-2.10.20.tar.gz

Download URL sealights_python_agent-2.10.20.tar.gz
Size 2.1 MB
Tags Source
SHA-256 checksum
How to use checksums
6acb3b0e0a56b8499bcb0778ac8b7344e1cfca55ae28fd37b8ddf0d2e1b4074b
BLAKE2b-256 checksum
How to use checksums
196dff394f142e448610b41d8a22884e5cee91ed7c4310e9b875495f6ff51879
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.19

Release files / sealights_python_agent-2.10.20-py2.py3-none-any.whl

Download URL sealights_python_agent-2.10.20-py2.py3-none-any.whl
Size 2.3 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
360515be0a6029b1e06f0932c5f9e33da48590d4b5cf4c4f731e035e571f43e4
BLAKE2b-256 checksum
How to use checksums
499c6dd5006ca5af1e10ecb0be7bd6a9894fe5eaf7ffe9bb4735b72b926a28a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.19

Release history Release notifications | RSS feed

This release

2.10.20 This release

2 release files

2.10.7

2 release files

2.10.6

2 release files

2.10.5

2 release files

2.10.2

2 release files

2.10.1

2 release files

2.10.0

2 release files

2.9.0

2 release files

2.8.0

2 release files

2.7.18

2 release files

2.7.12

2 release files

2.7.10

2 release files

2.7.9

2 release files

2.7.8

2 release files

2.7.7

2 release files

2.7.6

2 release files

2.7.5

2 release files

2.7.3

2 release files

2.7.2

2 release files

2.7.1

2 release files

2.7.0

2 release files

2.6.2

2 release files

2.6.1

2 release files

2.6.0

2 release files

2.5.2

2 release files

2.5.1

2 release files

2.5.0

2 release files

2.4.0

2 release files

2.2.5

2 release files

2.2.4

2 release files

2.2.3

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.18

2 release files

2.0.1

2 release files

1.5.5

2 release files

1.5.4

2 release files

1.5.3

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.6

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.21

2 release files

1.0.20

2 release files

1.0.19

2 release files

1.0.18

2 release files

1.0.17

2 release files

1.0.16

2 release files

1.0.14

2 release files

1.0.6

2 release files

1.0.5

2 release files

0.2.132

1 release file

0.2.85

2 release files

0.2.81

2 release files

0.2.79

2 release files

0.2.78

2 release files

0.2.21

2 release files

0.2.20

2 release files

0.2.19

2 release files

0.2.18

2 release files

0.2.15

2 release files

0.2.14

2 release files

0.2.13

2 release files

0.2.12

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

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