Skip to main content

simplicio-mapper

README globalization release: the GitHub README now ships with 15 language entry points, Star History, ecosystem graph, and a proof-first structure. The package contract below remains the canonical PyPI technical reference.

Python-first project mapper for the Simplicio ecosystem. It scans a repository and emits machine-readable artifacts that agents and tooling can consume without parsing the human-readable markdown docs:

  • .simplicio/project-map.json (simplicio.project-map/v1) — file inventory, architecture signals, entry points, tests, modules, entities, dependencies and recent changes.
  • .simplicio/precedent-index.json (simplicio.precedent-index/v1) — high-signal code examples tagged by change type, file, language, roles and snippet.
  • .simplicio/architecture-inventory.json (simplicio.architecture-inventory/v1) — modules, layers, responsibilities, evidence pointers, tests, symbols and relationships.
  • .simplicio/symbol-index.json (simplicio.symbol-index/v1) — detected classes, functions, methods and exports with file/line evidence.
  • .simplicio/call-graph.json (simplicio.call-graph/v1) — import and heuristic caller/callee relationships with confidence scores.

The full contract is documented in SIMPLICIO_INTEGRATION.md.

Install

Requires Python 3.10+. The package installs lightweight performance dependencies (orjson for JSON serialization and diskcache for persistent file-processing cache).

pip install simplicio-mapper

Usage

# Map the current directory into .simplicio/
simplicio-mapper map

# Refresh artifacts and record changed files since the last run
simplicio-mapper update

# Idempotent orchestration entry point for SendSprint and other runners
simplicio-mapper index path/to/project --json
simplicio-mapper index --update path/to/project --json

# Compare frontend/API-client calls against runtime server routes
simplicio-mapper endpoints path/to/web --against path/to/api --json

# Render architecture inventory markdown for wiki/docs review
simplicio-mapper docs path/to/project --json
simplicio-mapper export-docs path/to/project --target ./wiki-export --json
simplicio-mapper index path/to/project --docs --background

# Map another project root, with hints when .starter-meta.json is absent
simplicio-mapper map --root path/to/project --stack python --product-name "My App"

# Re-run automatically while files change locally
simplicio-mapper map --watch

The llm-project-mapper console script is provided as an alias.

Options

Option Description
index <path> Scriptable index command. Returns 0 when refreshed or already fresh, 1 on failure. Quiet by default.
endpoints <path> Extract normalized client calls and server routes, including Python API clients, direct page-level Python calls and Angular HttpClient services. Use --against <server-root> to report missing_from_server with source files using schema simplicio.endpoint-inventory/v1.
docs <path> Render architecture inventory Markdown under .simplicio/docs/.
export-docs <path> Copy rendered Markdown docs to a local target directory. Remote publication is intentionally opt-in and not automatic.
--against <dir> Server/API project root for endpoint comparison.
--target <dir> Local target directory for export-docs.
--docs Render Markdown docs after map or index.
--no-docs Keep map/index JSON-only.
--docs-only Render the Markdown docs without emitting the index JSON payload.
--json-only Compatibility alias for keeping map/index JSON-only.
--changed-only Compatibility alias for incremental refresh workflows.
--background Start a detached index refresh and write .simplicio/background-index.log.
--json Emit stable simplicio.mapper-index/v1 output for the index command.
--update Compatibility alias for index refresh workflows.
--verbose Show progress during index refreshes.
--root <dir> Project root to map. Defaults to the current directory.
--out <dir> Artifact directory. Defaults to .simplicio.
--stack <name> Stack hint when .starter-meta.json is absent.
--product-name <name> Product name hint when .starter-meta.json is absent.
--incremental Record changed files and update existing artifacts.
--watch Re-run mapping when local files change.
--silent Minimal output.
-V, --version Show version and exit.
-h, --help Show help.

Consuming the artifacts

from pathlib import Path
import json

base = Path(".simplicio")
project_map = json.loads((base / "project-map.json").read_text())
precedents = json.loads((base / "precedent-index.json").read_text())

top_files = sorted(
    project_map["files"], key=lambda f: f.get("importance", 0), reverse=True
)[:8]

License

MIT

Metadata

Release files for simplicio-mapper 0.26.27

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

Source distribution (sdist)

Source distribution for simplicio-mapper 0.26.27
File Size Uploaded
simplicio_mapper-0.26.27.tar.gz 2.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for simplicio-mapper 0.26.27
File Interpreter ABI Platform
simplicio_mapper-0.26.27-py3-none-any.whl Python 3 none any Details

Total release size: 5.2 MB

Release files / simplicio_mapper-0.26.27.tar.gz

Download URL simplicio_mapper-0.26.27.tar.gz
Size 2.6 MB
Tags Source
SHA-256 checksum
How to use checksums
adbb8bbaea5beb2abb508aa01f1f6d97ef283522be79a6ea2445551f812bb2f6
BLAKE2b-256 checksum
How to use checksums
8943c5717ab7861da7ad1c62abc9211a511a291d0333ad1e06cd6cf28e821f9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / simplicio_mapper-0.26.27-py3-none-any.whl

Download URL simplicio_mapper-0.26.27-py3-none-any.whl
Size 2.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d8178578253663413ba3e9f0d051e1b4e5b6770efdaeafefd6144efface53125
BLAKE2b-256 checksum
How to use checksums
609e228a09f380c37a519229bd7c2b58210db621d44421cd092b5f2edee5c6df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

0.26.27 This release

2 release files

0.26.2

2 release files

0.26.0

2 release files

0.24.2

2 release files

0.24.1

2 release files

0.23.1

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

1 release file

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.10

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

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