Skip to main content

scitex-bridge

PyPI Python Tests Install Test Coverage Docs License: AGPL v3

SciTeX

Cross-module adapters between scitex.stats / matplotlib / vis-FigureModel.

Full Documentation · pip install scitex-bridge


Installation

pip install scitex-bridge

Quick Start

import scitex_bridge as br

1 Interfaces

Python API
import scitex_bridge as br

# Add stats results to either backend (auto-detects)
br.add_stats_from_results(target, stat_results, format_style="asterisk")

# Stats → matplotlib annotation
br.add_stat_to_axes(ax, stat_result)
br.format_stat_for_plot(stat_result, style="asterisk")
br.extract_stats_from_axes(ax)

# Stats → vis (FigureModel)
br.stat_result_to_annotation(stat_result)
br.add_stats_to_figure_model(fig_model, stat_results)
br.position_stat_annotation(fig_model, stat_result, prefer_corner="top-right")

# plt ↔ vis
br.matplotlib_to_figure_model(fig)
br.figure_model_to_matplotlib(fig_model)

# Protocols (Position duck-typing target)
from scitex_bridge import Position

Status

Standalone fork of scitex.bridge. Deps: matplotlib + scipy.

Decoupling notes:

  • scitex.io.bundle.kinds._stats.Position → vendored as a tiny dataclass in _compat.py. When scitex (umbrella) is installed, the real Position is preferred so produced objects round-trip cleanly through bundle code paths.
  • The optional scitex.io.bundle.kinds._plot._models imports remain inside try/except ImportError so the package works fully standalone.

The umbrella package's scitex.bridge import path is preserved via a sys.modules-alias bridge.

Part of SciTeX

scitex-bridge is part of SciTeX.

Four Freedoms for Research

  1. The freedom to run your research anywhere — your machine, your terms.
  2. The freedom to study how every step works — from raw data to final manuscript.
  3. The freedom to redistribute your workflows, not just your papers.
  4. The freedom to modify any module and share improvements with the community.

AGPL-3.0 — because we believe research infrastructure deserves the same freedoms as the software it runs on.

License

AGPL-3.0-only (see LICENSE).


SciTeX

Metadata

Release files for scitex-bridge 0.1.9

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

Source distribution (sdist)

Source distribution for scitex-bridge 0.1.9
File Size Uploaded Provenance
scitex_bridge-0.1.9.tar.gz 32.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for scitex-bridge 0.1.9
File Interpreter ABI Platform
scitex_bridge-0.1.9-py3-none-any.whl Python 3 none any Details

Total release size: 67.7 kB

Release files / scitex_bridge-0.1.9.tar.gz

Download URL scitex_bridge-0.1.9.tar.gz
Size 32.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d05ec45924de3b29abc3331fd8eab235e8669d9e40ac04ee48ebc76f78d7bf58
BLAKE2b-256 checksum
How to use checksums
70a19f67874b87223ee2a197221fca6f094f4b825a8278611d56d31ca9d06b17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 1, 2026.

Transparency log

Release files / scitex_bridge-0.1.9-py3-none-any.whl

Download URL scitex_bridge-0.1.9-py3-none-any.whl
Size 35.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
517c1d906215b16dc5d57ef050516344586dab9fc7f5e17f52c7ca1112f7f677
BLAKE2b-256 checksum
How to use checksums
c9de4341a82fdd40926533ecff57c4521f9059dd27695050dfd9d025bba905a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 1, 2026.

Transparency log

Security for scitex-bridge 0.1.9

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for scitex_bridge-0.1.9.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 1, 2026.

Transparency log

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.

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