Skip to main content

SigmaPlot macro conversion utilities for matplotlib

Project description

scitex-gists

SciTeX

SigmaPlot macro printers — version-controlled VB-style macros emitted from Python.

Full Documentation · uv pip install scitex-gists[all]

pypi python docs

tests install-check cov


Problem and Solution

# Problem Solution
1 SigmaPlot v12 macro files live outside version control — one lab machine has them, nobody else does Python prints the macrosigmacro_process_figure_s() emits VB-style macro text; copy-paste into SigmaPlot editor; macros are now part of the repo

Installation

pip install scitex-gists

Architecture

scitex_gists/
├── __init__.py
├── _SigMacro_processFigure_S.py  ← prints figure-processing VB macro
├── _SigMacro_toBlue.py           ← prints color-tweak VB macro
└── _skills/                      ← agent-facing skill pages

A two-function library: each _SigMacro_*.py module wraps a multi-line VB-style macro string and a print() helper. Adding a new macro = add a new _SigMacro_<name>.py and re-export from __init__.py.

1 Interfaces

Python API
from scitex_gists import sigmacro_process_figure_s, sigmacro_to_blue

sigmacro_process_figure_s()
sigmacro_to_blue()

Each function prints VB-style macro text to stdout. Pipe into your clipboard or redirect to a file, then paste into the SigmaPlot macro editor.

Demo

flowchart LR
    A["python -c 'from scitex_gists import sigmacro_process_figure_s; sigmacro_process_figure_s()'"]
        --> B["VB macro printed to stdout"]
    B --> C["copy / pipe to clipboard"]
    C --> D["paste into SigmaPlot v12<br/>macro editor"]
    D --> E["run macro on figure"]
$ python -c "from scitex_gists import sigmacro_to_blue; sigmacro_to_blue()" | pbcopy
# now paste into the SigmaPlot macro editor and run

Quick Start

from scitex_gists import sigmacro_process_figure_s, sigmacro_to_blue

sigmacro_process_figure_s()   # prints the figure-processing macro
sigmacro_to_blue()            # prints the color macro

Part of SciTeX

scitex-gists is part of SciTeX. Install via the umbrella with pip install scitex[gists] to use as scitex.gists (Python) or scitex gists ... (CLI).

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


SciTeX

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scitex_gists-0.1.7.tar.gz (8.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scitex_gists-0.1.7-py3-none-any.whl (8.5 MB view details)

Uploaded Python 3

File details

Details for the file scitex_gists-0.1.7.tar.gz.

File metadata

  • Download URL: scitex_gists-0.1.7.tar.gz
  • Upload date:
  • Size: 8.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scitex_gists-0.1.7.tar.gz
Algorithm Hash digest
SHA256 a0f7913a41a08b8cd9181a5036b5e728c1847e2e3f375da1bbabf0bc8511d1c2
MD5 af5222982b3a1df68fa8f66f68eecb76
BLAKE2b-256 c0b0e2f309666b4047d2db8a8a30f7a56081b76542682730c344a6382ab1daa0

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_gists-0.1.7.tar.gz:

Publisher: pypi-publish-and-github-release-on-tag.yml on ywatanabe1989/scitex-gists

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scitex_gists-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: scitex_gists-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 8.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scitex_gists-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ba5e8ba4a6e70881d54bce32cc85de09fc8f038e7f0b21276af6e4c6c566954e
MD5 b1f3a9834a11493582857edead9f878e
BLAKE2b-256 14cb6cb1b0c71d5cce2d4f0b4cef9da98f5e6f4c4cda325aabb7d200e854f333

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_gists-0.1.7-py3-none-any.whl:

Publisher: pypi-publish-and-github-release-on-tag.yml on ywatanabe1989/scitex-gists

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page