skillfed

sealights-python-agent

Tricentis Sealights Python Agent - Quality Intelligence and Code Coverage

sealights-python-agent v2.10.17 153.6K downloads/30d#10,874 on PyPI
License unclear Other/Proprietary License Active released

What it is and what it does

The sealights-python-agent is a Tricentis-provided instrumentation agent that hooks into Python test execution to collect per-test method-level code coverage and report it to the Sealights Quality Intelligence Platform. It works by scanning your source code to establish a build baseline, instrumenting test runs to capture coverage, and optionally running Test Impact Analysis to identify which tests are affected by recent code changes—allowing you to skip unaffected tests and reduce CI cycle time.

The agent supports pytest, unittest, unittest2, Behave, Robot Framework, and nose (on Python 3.11 and earlier). It operates via CLI commands (sl-python scan, start, end) and integrates with your existing test infrastructure through environment variables and configuration files. Installation is straightforward, and the package carries 17 runtime dependencies including cryptography, requests, and GitPython for secure communication and repository introspection.

Use it for:

  • Reduce CI/CD cycle time by running only tests affected by recent code changes using Test Impact Analysis.
  • Collect per-test method-level coverage data across multiple test frameworks in a single pipeline.
  • Track code coverage trends and quality metrics across builds and branches in the Sealights dashboard.
  • Integrate code coverage and test optimization into existing pytest, unittest, or Behave workflows.
  • Identify untested code paths and gaps in test coverage for quality assurance teams.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Integrates Python applications with Tricentis Sealights to collect real-time code coverage, run test impact analysis, and provide quality analytics for CI/CD pipelines.

Yes, if you have a Tricentis Sealights subscription and need integrated code coverage collection with test impact analysis in a CI/CD pipeline. The package is actively maintained, has low install friction, and supports modern Python versions. However, the proprietary license requires review before adoption, and you must verify compatibility with your specific CI/CD platform and test framework. Not suitable for projects seeking open-source or license-flexible coverage tooling.

Install

sealights-python-agent on PyPI

pip

pip install sealights-python-agent

uv

uv add sealights-python-agent

poetry

poetry add sealights-python-agent

Installing sealights-python-agent

Before you install

Low install friction with a pure-wheel distribution. Actively maintained with a release 15 days old; recent versions have addressed security upgrades in urllib3 and cryptography dependencies.

License in practice

Distributed under a proprietary license with unclear terms. Review LICENSE.txt before use, particularly if your project has open-source or license-compliance requirements.

Quickstart

pip install sealights-python-agent

sl-python scan --tokenfile sltoken.txt --buildsessionidfile buildSessionId --workspacepath .
sl-python start --tokenfile sltoken.txt --buildsessionidfile buildSessionId --teststage "Unit Tests"
sl-python pytest --teststage "Unit Tests"
sl-python end --tokenfile sltoken.txt --buildsessionidfile buildSessionId

Requires Python 3.10 or later (3.10, 3.11, 3.12, 3.13, 3.14). Requires a Tricentis Sealights account and authentication token (sltoken.txt).

Verify before relying

  • Whether the proprietary license permits use in commercial or open-source projects without additional agreements.
  • Performance overhead during build scanning and test execution in large codebases.
  • Integration depth and compatibility with CI/CD platforms beyond the documented test frameworks.

Package facts

License Other/Proprietary License (unclear)
Python support supports the current Python release (<4,>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 17 — colorama, pytz, six, tzlocal, pytz-deprecation-shim, tzdata, cryptography, cffi, pycparser, GitPython, gitdb, smmap, unittest_xml_reporting, urllib3, requests, idna, certifi
Maintenance actively maintained — 15 days since the last release
First released
Downloads 153,615/month — #10,874 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: sealights_python_agent-2.10.17-py2.py3-none-any.whl

Keywords: sealights, tricentis, python, agent, coverage, testing, quality, intelligence

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: Other/Proprietary LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Build Tools

Tags

code coverage collection pythontest impact analysis ci/cdquality intelligence platformsealights python integrationtest optimization coveragebuild scanning pythonci/cd quality analytics
code-coverageci-cd-integrationtest-optimization

More Build Tools packages

Further reading