Skip to main content

tracera-core

Shared Autotest HTTP client, step context, and result upload for Tracera adapters.

Tested on Python 3.11–3.15.

pip install tracera-core

Import package name is tracera.

Foreign thread: capture get_context() on the test thread, then wrap the worker in with run_with_context(ctx):. Without a pin, steps, comments, errors, and attachments on that thread are dropped.

Several test processes: Pabot shares one run automatically. Parallel Behave needs a worker label (BEHAVE_WORKER, …) on each process — see the Behave adapter README. The last process to finish closes the run; you do not create it by hand.

from tracera import step

step("title", lambda: None)


@step("open {path}")
def open_login(path: str): ...


with step("title"):
    ...

async with step("title"):
    ...

Used by the official Python adapters. Customer how-to: Autotest adapters. Prefer a framework package unless you write a custom runner integration.

Plugin / runner helpers (begin_reporting, create_test_context, …) live in submodules (tracera.session, tracera.context, …) — not on the tracera package root.

License

Apache-2.0. Copyright 2026 Tracera.

Metadata

Release files for tracera-core 2.0.1

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

Source distribution (sdist)

Source distribution for tracera-core 2.0.1
File Size Uploaded Provenance Actions
tracera_core-2.0.1.tar.gz 36.2 kB Without provenance Details for tracera_core-2.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tracera-core 2.0.1
File Interpreter ABI Platform Actions
tracera_core-2.0.1-py3-none-any.whl Python 3 none any Details for tracera_core-2.0.1-py3-none-any.whl

Total release size: 81.2 kB

Release files / tracera_core-2.0.1.tar.gz

Download URL tracera_core-2.0.1.tar.gz
Size 36.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7c29c766ceee7de4edf6a0d0ce3bbc59f2d8e84bb509cfcbffc9e7cbae7a99fe
BLAKE2b-256 checksum
How to use checksums
45f77703516af1dda389611ad5f0722839b6b781ad761b68500a3a5ea0d2a618
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

Release files / tracera_core-2.0.1-py3-none-any.whl

Download URL tracera_core-2.0.1-py3-none-any.whl
Size 45.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8bfc146d980dc1ec57895111f8acbf4b93fbe1c8ec94857f78dcca9bff6d459
BLAKE2b-256 checksum
How to use checksums
08f5f95426713cc6efa7d6ad45b6e5960d084c92a496d8f5ee9a01cb14d5607f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

Security for tracera-core 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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