Skip to main content

PyTraverser

PyTraverser is a Python library for text based traversing of MDSplus trees. It provides both a command line callable interfaces.

This package uses mdsthin to access MDSplus information. Define MDS_HOST environment to be the server to use. For example:

export MDS_HOST=alcdata

Features

  • Traverse trees and graphs with customizable strategies
  • Depth-first and breadth-first traversal support
  • Node filtering and transformation utilities
  • Easy integration with existing Python data structures

Installation

pip install pytraverser

Key Bindings

"[b]click[/b]/[b]⏎[/b] Expand/Collapse + select   "
"[b]⇥[/b] Decompile  "
"[b]⇧⇥[/b] Show Data  " 
"[b]←[/b] Collapse Parent   "
"[b]→[/b] Expand   "
"[b]↓[/b] Move Down + expand   "
"[b]↑[/b] move Up"

Usage Shell

usage: pytraverser [-h] [-d | -l] tree [shot]

Tree, optional shot, dark flag

positional arguments:
  tree         Tree string
  shot         Optional shot number (default -1)

options:
  -h, --help   show this help message and exit
  -d, --dark   Enable dark mode
  -l, --light  Enable light mode

Python Usage

$ python
Python 3.10.12 (main, Aug 15 2025, 14:32:43) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pytraverser import traverse
>>> node = traverse("cmod", -1) #type 'q' to exit 
>>> node
.EDGE.CRYOPUMP
>>> 

Contributing

Contributions are welcome! Please open issues or submit pull requests on GitHub.

License

This project is licensed under the MIT License.

Metadata

Release files for pytraverser 0.1.5

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

Source distribution (sdist)

Source distribution for pytraverser 0.1.5
File Size Uploaded Provenance
pytraverser-0.1.5.tar.gz 7.8 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pytraverser 0.1.5
File Interpreter ABI Platform
pytraverser-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 16.1 kB

Release files / pytraverser-0.1.5.tar.gz

Download URL pytraverser-0.1.5.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1abb0cf80ec1b9a312346555b460ae5c8959b047a188fc2acd5961b80ebb8f61
BLAKE2b-256 checksum
How to use checksums
bda77f2aff7c70296d0507c7029940e871373743a92fb43827ab96c798cb9151
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 30, 2025.

Transparency log

Release files / pytraverser-0.1.5-py3-none-any.whl

Download URL pytraverser-0.1.5-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d23bd269497d1da1a34bfbf58b11bd14e5f1a660c4a4e8141a68a09c0e75aae7
BLAKE2b-256 checksum
How to use checksums
0ed9481a64f8e3db56183a40074ef060a77728e63b40620f2910f691c49b8c59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 30, 2025.

Transparency log

Security for pytraverser 0.1.5

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 pytraverser-0.1.5.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 Sep 30, 2025.

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.

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