--- id: sealights-python-agent version: "2.10.17" license: Other/Proprietary License license_treatment: unclear maintenance: active --- # sealights-python-agent — Tricentis Sealights Python Agent - Quality Intelligence and Code Coverage License: unclear · Maintenance: active · Downloads: 153.6K/mo ## 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 above — 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 pip install sealights-python-agent uv add sealights-python-agent 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_current - Install friction: low - Maintenance: active - Downloads: 153.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags code coverage collection python, test impact analysis ci/cd, quality intelligence platform, sealights python integration, test optimization coverage, build scanning python, ci/cd quality analytics, code-coverage, ci-cd-integration, test-optimization [View on SkillFed](https://skillfed.io/packages/sealights-python-agent) · [View on PyPI](https://pypi.org/project/sealights-python-agent/)