Skip to main content

Desktop workflow tools for PLD parameter capture and raw-data visualization

Project description

pldflow

pldflow is a desktop workflow package for PLD parameter capture and raw-data visualization.

PyPI package name: pldflow
Python import package: pld_workflow

Install from PyPI

python -m pip install pldflow

This installs the parameter form and exposes:

pld-parameter-form

Development install from a Git clone

From the repository root:

python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -r requirements-dev.txt

This gives you an editable install of the package plus the optional analysis, visualization, docs, and build dependencies.

Launch commands:

pld-parameter-form
pld-raw-visualizer
python -m pld_workflow
python examples/pld_app_parameter.py
python examples/pld_app_visualizer.py

How from pld_workflow.app import main works

That import does not by itself mean the package is editable-installed. It works in three cases:

  1. The package is installed normally with pip install . or pip install pldflow.
  2. The package is installed in editable mode with pip install -e ..
  3. The caller adds src/ to sys.path before importing.

In this repository, examples/pld_app_parameter.py uses option 3. It prepends src/ to sys.path, so you can run the example directly from the repo root even if the package is not installed. Using pip install -r requirements-dev.txt is still the cleaner setup for daily work.

Visualization dependencies

The raw-data visualizer depends on the companion packages:

  • AFM-tools
  • XRD-utils
  • xrayutilities

Those are included by requirements-dev.txt and by the package extra:

python -m pip install -e ".[visualization]"

If you only want the form application, PyQt5 is the only required runtime dependency.

Windows executable build

PyInstaller build support is included through the build extra:

python -m pip install -e ".[build,visualization]"
python scripts/build_windows_exe.py

Detailed packaging notes are in DISTRIBUTION.md.

Release workflow

GitHub Actions now follows the same release markers used in the AFM and XRD repos.

  • #major bumps +1.0.0
  • #minor bumps +0.1.0
  • #patch bumps +0.0.1
  • no marker runs CI only and does not publish

The workflow builds on every push and pull request to main. When a push to main contains one of the release markers, it creates the next vX.Y.Z tag and publishes to PyPI.

Before the first automated publish, configure PyPI trusted publishing for the pldflow project so GitHub Actions is allowed to upload releases.

Read the Docs

Docs build from docs/source/ using .readthedocs.yaml. Read the Docs should install:

  • docs/requirements.txt
  • the package itself from the repo root

Current scope

  • Parameter form for PLD growth records
  • JSON and HTML export
  • Standalone raw-data visualizer for XRD, RSM, and AFM inputs

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

pldflow-2.0.0.tar.gz (14.8 MB view details)

Uploaded Source

Built Distribution

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

pldflow-2.0.0-py3-none-any.whl (27.0 kB view details)

Uploaded Python 3

File details

Details for the file pldflow-2.0.0.tar.gz.

File metadata

  • Download URL: pldflow-2.0.0.tar.gz
  • Upload date:
  • Size: 14.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pldflow-2.0.0.tar.gz
Algorithm Hash digest
SHA256 d778c53bdd078843eef55734ac076068ba71a2a0df7426b95474810a32ef2798
MD5 c96f9ae39bda437c9b4c96e2fea2b1e9
BLAKE2b-256 ecbeadb591b92b8c111beefc28ff7b2ed97b96185204c76a3182c9af082b1da6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pldflow-2.0.0.tar.gz:

Publisher: main.yml on yig319/PLD_Workflow

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

File details

Details for the file pldflow-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: pldflow-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 27.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pldflow-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 23727871cda0a90c725f20069c7a7211916ed9738afbdbdc407f078f47aaa8f0
MD5 e0ef9bd9005b9176a04e5b3cd33d5a87
BLAKE2b-256 be5bcea98a0dd7358b39114a843ae58b47f883853a8c60dc54c3c2000f119441

See more details on using hashes here.

Provenance

The following attestation bundles were made for pldflow-2.0.0-py3-none-any.whl:

Publisher: main.yml on yig319/PLD_Workflow

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