r/coolgithubprojects • • 4d ago

Strand update v2026-11-20.4

https://github.com/Biggest-Bee/Strand

New Features

When scanning a strand, the new pyproject.toml support means that plugin modules specified in [project.entry-points] will be picked up as edges (from the given configuration file). This supports src layout, extras and monorepos. When scanning a file, the project root is resolved (nearest parent with a manifest) and scanned. This gives full context on imports/entry points.

Bugs Fixed

Import statements (import_module("a.b"), __import__("a.b"), and importlib.import_module(...)) with string literals will create edges. Computed names and f-strings are ignored. (present in .3. Verified.)

When scanning files, no longer stop at member crate Cargo.toml. Will prefer workspaces roots so that cross-crate imports are resolved.

~ / package.json in the home directory could cause the entire user home directory to be scanned. This can no longer happen.

On windows, \\? canonicalised paths no longer appear in the scanned data.

Avoided a backwards compatible error in toml 1.x. Value::from_str parses values, not documents. All pyprojects were silently parsed with no values returned until switched to using toml::from_str.

Other

Crates.io is checked every 10 minutes while open (.3).

The update checker checks all 5 strand crates against hard coded versions (.2).

All en/dashes removed.

Still not visible (but documented):

Entry points in setup.cfg/setup.py, computed module names, getattr dispatch, and macro generated modules.

Github: https://github.com/Biggest-Bee/Strand

1 Upvotes

0 comments sorted by