Skip to main content

A terminal file tree traverser.

Project description

PyTraverser

PyTraverser is a Python library for traversing and manipulating data structures such as trees and graphs. It provides flexible APIs for walking, searching, and transforming nested data, making it easier to implement algorithms and data processing workflows.

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

$ export MDS_HOST=alcdata
$ pytraverser tree-name [shot-numer] [-d --dark | -l --light]
```gh
## Usage Python

$ export MDS_HOST=alcdata $ 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.

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

pytraverser-0.1.3.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

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

pytraverser-0.1.3-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file pytraverser-0.1.3.tar.gz.

File metadata

  • Download URL: pytraverser-0.1.3.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pytraverser-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f5f8f0255ee3068fea66d2baa012604d982cccededa7e12ee70eb432eb0457dc
MD5 55a7d51c047b5f6a48cc70ba5e105ef9
BLAKE2b-256 55a2b67ebcd791f232042613d9ab5e5c7535c5de21116cb07f942806299f4553

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytraverser-0.1.3.tar.gz:

Publisher: publish.yml on joshStillerman/pytraverser

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

File details

Details for the file pytraverser-0.1.3-py3-none-any.whl.

File metadata

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

File hashes

Hashes for pytraverser-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1e40992311904609324d7f72004763fe306038f8690dbc18fb16ba7ddf2f1a6a
MD5 d0c37495764821caa67836384e8c6f29
BLAKE2b-256 2e8117f2aa62d81a706c1682000d7f4cfcb7b539900d60108d365810b318783f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytraverser-0.1.3-py3-none-any.whl:

Publisher: publish.yml on joshStillerman/pytraverser

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