semvec/pypi-packages huggingface dataset:
swift-deps-map 0.1.0
Lightweight Swift file-level dependency mapper
Requires Python: >=3.9

# swift-deps-map

Lightweight Swift file-level dependency mapper that scans a source tree for symbol definitions/references and reports cross-file edges. Generates human-readable summaries plus optional graph/JSON exports for visualization.

## Features
- Default root is the current working directory for drop-in use on any Swift repo.
- Supports focus prefixes for zooming into specific folders.
- Exports graphs in Mermaid, Graphviz DOT, or Cytoscape JSON.
- Optional JSON report with symbols and edges for further processing.
- `--max-files` guard to avoid runaway scans on very large projects.
- Proper exit codes with errors sent to stderr for automation friendliness.

## Quick start
From PyPI (after publishing):
```
uvx swift-deps-map --help
uvx swift-deps-map --root /path/to/src --graph-format mermaid --graph-output deps.mmd
```

Local, without publishing (run at repo root):
```
uvx --from . swift-deps-map --root . --graph-format cytoscape --graph-output deps.cyto.json
```

You can also call the module directly:
```
python -m swift_deps_map --help
```

## CLI options
- `--root PATH` (default: `.`) Root directory to scan.
- `--focus PREFIX...` Limit printed focus sections to matching relative paths.
- `--limit N` Max rows per focus section (default: 20).
- `--max-files N` Abort if more than N Swift files are detected (0 disables).
- `--json PATH` Write the JSON report to PATH.
- `--graph-format {mermaid,dot,cytoscape}` Choose graph export format.
- `--graph-output PATH` Write graph output to PATH (stdout if omitted).
- `--include-viewer` When using `--graph-format cytoscape` with `--graph-output`, also drop `cyto_viewer.html` beside the JSON so you can open it directly.
- `--version` Show the CLI version.

## Outputs
- **Console summary:** Total Swift files, unique symbols, duplicate symbol hints, and feature-level edges.
- **Graph exports:** Mermaid/DOT snippets or Cytoscape JSON for visual viewers.
- **JSON report:** Includes `root`, `focus`, `dependencies`, and per-file `defines`/`references`.

## Development
- Requires Python 3.9+.
- Install/iterate locally: `uvx --from . swift-deps-map --help` or `python -m swift_deps_map --help`.
- Package data includes `cyto_viewer.html` for Cytoscape visualization if you want an offline viewer.

## License
Apache-2.0. See `LICENSE`.
pyorthogonalrouting 2.0.0
Yet another orthogonal router
Keywords: orthogonal, routing, python, pyut

![](https://github.com/hasii2011/code-ally-basic/blob/master/developer/agpl-license-web-badge-version-2-256x48.png "AGPL")

[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/hasii2011/py-orthogonal-routing/tree/master.svg?style=shield)](https://dl.circleci.com/status-badge/redirect/gh/hasii2011/py-orthogonal-routing/tree/master)
[![PyPI version](https://badge.fury.io/py/pyorthogonalrouting.svg)](https://badge.fury.io/py/pyorthogonalrouting)

This is a port of [Orthogonal Connectors](https://gist.github.com/jose-mdz/4a8894c152383b9d7a870c24a04447e4).

## Developer Notes
This project uses [buildlackey](https://github.com/hasii2011/buildlackey) for day-to-day development builds

___

## Note
For all kinds of problems, requests, enhancements, bug reports, etc.,
drop me an e-mail.
Written by <a href="mailto:email@humberto.a.sanchez.ii@gmail.com?subject=Hello Humberto">Humberto A. Sanchez II</a>  (C) 2025



![Humberto's Modified Logo](https://raw.githubusercontent.com/wiki/hasii2011/gittodoistclone/images/SillyGitHub.png)

I am concerned about GitHub's Copilot project



I urge you to read about the
[Give up GitHub](https://GiveUpGitHub.org) campaign from
[the Software Freedom Conservancy](https://sfconservancy.org).

While I do not advocate for all the issues listed there, I do not like that
a company like Microsoft may profit from open source projects.

I continue to use GitHub because it offers the services I need for free.  But I continue
to monitor their terms of service.

Any use of this project's code by GitHub Copilot, past or present, is done
without my permission.  I do not consent to GitHub's use of this project's
code in Copilot.