Skip to main content

file-analyzer-engine

The analyzer fleet for the file-analyzer platform.

Install this wherever analysis actually runs. It turns a source tree into a queryable SQLite/PostgreSQL database of code, schemas, data, archives, binaries and documents -- without executing the code -- and adds a live background repository monitor, an MCP agent-enrichment tier, and a document-intelligence engine (Parts A/B/C).

from file_analyzer.engine import analyze, RepositoryAnalyzer, AnalysisEngine

result = analyze("/path/to/repo")          # one-shot; returns an AnalysisResult
print(result.file_count, result.database)
with result.open() as db:                  # read-only handle (from the client wheel)
    print(db.query("SELECT * FROM v_file_inventory"))

Or from the command line (these entrypoints run only inside a container or VM -- see docs/runtime-containment.md):

file-analyzer /path/to/repo --out ./artifacts --quiet
file-analyzer-monitor /path/to/repo --interval 2
file-analyzer-mcp                          # MCP server over stdio (needs [agent])

The public import surface

The fleet's public API is file_analyzer.engine (the analyzers, AnalysisEngine, and the SDK classes FileAnalyzerClient / FileAnalyzerAgent / FileAnalyzerMonitor / FileAnalyzerMCPServer). The read-only FileAnalyzerDatabase and open_database come from the client wheel and are re-exported here so both installs hand out the same handle type.

FileAnalyzerClient.server() returns the database-hosting server, which ships separately in file-analyzer-server; it is imported lazily and raises a helpful error if that wheel is not installed.

Dependencies

  • Requires file-analyzer-client (pure stdlib foundation + read-only DB access).
  • The pure-stdlib fleet needs nothing else. Optional extras deepen individual formats and enable the MCP server:
    • pip install "file-analyzer-engine[agent]" -- the MCP server / agent connectors
    • pip install "file-analyzer-engine[document]" -- the full document engine (parse + ocr + pii + eval)
    • pip install "file-analyzer-engine[monitor-postgres]" / [monitor-mysql] -- point the monitor's durable dumps at a remote database
Wheel Install where Contains
file-analyzer-client anywhere client + read-only DB access (stdlib only)
file-analyzer-server the hosting server the database-hosting server
file-analyzer-engine wherever analysis runs the analyzer fleet that builds databases (this wheel)

Release files for file-analyzer-engine 1.1.1

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

Built distribution (wheel)

Table of built distributions (wheels) for file-analyzer-engine 1.1.1
File Interpreter ABI Platform
file_analyzer_engine-1.1.1-py3-none-any.whl Python 3 none any Details

Release files / file_analyzer_engine-1.1.1-py3-none-any.whl

Download URL file_analyzer_engine-1.1.1-py3-none-any.whl
Size 1.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
086209910dd0ca6699c0053065ba2a7898e7f66878093c33fd67127ee4d4a1e5
BLAKE2b-256 checksum
How to use checksums
5ac4a75d826f6cc354171761cb853e37da551a2fbc11f70eff1b5c0a5a3a6e24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 23, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.1 This release

1 release file

1.1.0

1 release file

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