ENDERU
GitHub22 RepositoriesDaily Tech3 Abonnentenaudion.devdas ProduktregalRSSVeröffentlichungen
← Alle NotizenProjects

Project File Map

Русский · Reference · Install

Where everything lives. This document is for whoever maintains the project; a user does not need it.

Working folders (input, output, logs, report, release, workspace, runtime, wheelhouse) are described by role rather than file by file — their contents are produced by runs and rebuilt.


Root

FileWhat it is
Start.exeCompiled window launcher: opens App\AudionAddressProcessor.exe
address_cli.cmdThe console command: the same operations without a window; the window itself stands on it
builder_main.cmdPortable environment build
cleanup_project.cmdCleanup of generated artifacts
pytest.iniTest settings
release_manifest.jsonManifest of the last release build
README.mdPublic project description

CMD files must stay UTF-8 without BOM with CRLF line endings. After editing, run install\Check-CmdEncoding.cmd.


App and Source — The Window

PathWhat it is
Source/The window sources: Avalonia 12 / .NET 10. Core/ — running the command, the manifest, field values, the journal, settings; Views/ — the form, panels, dialogs; MainWindow.*.cs — sections, working area, running, OKTMO; Ps/ — source of the program's own PowerShell; Tools/ — icons and the check without a mouse
Source/config/i18n.jsonThe English pairs of every Russian text of the window
App/The built window (AudionAddressProcessor.exe) and the own PowerShell AudionPs.exe for the build scripts; built by install\Build-App.cmd, travels with a release as it is

config — Settings

FileWhat it is
project.yamlEngine settings: city, reference column, target columns, linked columns, safety limits
window_layout.yamlThe layout of the window: sections, the operations in them, the buttons of the working area and of the result panel, icons
tool_manifest.yamlEvery operation and field of the window; the interface is built from it
version.jsonVersion and the language of the root README
path_history.jsonHistory and pins of source and target paths
window_settings.jsonThe window's settings: size, language, theme, font (made by the window itself)
oktmo_current_keys.txtCurrent OKTMO search keys
oktmo_region_pins.jsonPinned regions
oktmo_municipality_pins.jsonPinned municipalities
oktmo_pins_bundle.jsonThe combined pin set

system_core — Code

Top Level

FileWhat it does
Ultimate_GT_Aligner.pyThe matching engine: address parsing, passes, linked column transfer
safe_table_join.pyComparison of two workbooks and column transfer through Excel
excel_layout.pyResult workbook formatting: column widths, text wrap, fill
remove_empty_rows.pyRemoval of entirely empty rows
Parser_Diagnostic.pyAddress parsing diagnostics
inspect_md_tables.pyMarkdown table inspection
doctor.pyEnvironment and import checks
main.pyDirect matching run without the window
cli.pyThe console command: describe, run, options, oktmo, serve, stop-office, version
office_session.pyKeeps track of an operation's own Excel and Word, so a stop closes only them

address_engine — The Address Engine

FileWhat it does
audion_address_core.pyAddress decomposition, recognition of address-like text
address_slots.pySlots: definition, filling, address line assembly
slot_fill.pyFilling slots from evidence
models.pyData structures: observation, address parts, fingerprint, cluster
source_intake.pyReading sources in every supported format
source_table_assembly.pyCollecting addresses from sources into a workbook
source_cleanup.pyFiltering out Office temporary files
reference_builder.pyBuilding the reference directory; slot and column definitions
reference_processor.pySorting and decomposing the directory by slots
oktmo_lookup.pyOKTMO index, disk cache, region / municipality / settlement lookup
oktmo_user_keys.pyThe project key file and pins
rosstat_update.pyDownloading and updating the Rosstat registry
region_reference.pyRegion reference
russian_morphology.pyGrammatical forms of names
universal_address.pyThe common address normalizer
normalizer_runtime.pyConfiguring the normalizer per run
address_diagnostics.pyDiagnostic extracts
legacy_office_converter.pyDOC/XLS conversion

services — The Service Layer

address_aligner_service.py is the only file. Every window command points to a function here: the service takes the parameters, calls the engine, and writes the log, the report, and the artifact list.

core — Core

FileWhat it does
jobs.pyRunning operations, cancellation, progress, the live line of a long stage
operation_model.pyThe rules that assemble the parameters of a run: defaults, conditions for showing fields, slot order; the manifest as the window takes it
window_layout.pyReading window_layout.yaml and checking that every operation stands in the window
manifest.pyParsing tool_manifest.yaml
paths.pyManaged project folders
config.pyReading settings
ansi_terminal.pyStripping the colour control codes from program output
cmd_encoding.pyCMD encoding checks
output_decode.pyDecoding subprocess output
logging_utils.pyLogging

Other

PathWhat it is
icons/The program icon
start_launcher/Source of Start.exe

install — Install and Build

FileWhat it does
Build_Portable_Env.cmd / .ps1Portable environment build
install_portable_offline.cmdInstall from the local wheelhouse
verify_portable_env.cmdVerify the built environment
init_folders.cmdCreate the working folders
Check-CmdEncoding.cmdCheck CMD encodings
Clean-Install-Cache.cmd / .ps1Clean the build cache
Update-Requirements-Lock.cmdUpdate the dependency lock file
Build-StartLauncher.cmd / .ps1Build Start.exe
Build-App.cmdBuild the window App\ from Source\
requirements_full.inDependency list
README_INSTALL.mdInstall notes

data — Data

PathWhat it is
regions_reference.yamlRegion reference
rosstat/data-*.csvThe OKTMO registry, downloaded by a button in the window
rosstat/oktmo_lookup_cache.jsonThe parsed OKTMO index

docs — Documentation

FileWhat it is
README_RU.md, README_EN.mdProject description, the entry point
USER_GUIDE_RU.md, USER_GUIDE_EN.mdUser guide
OKTMO_RU.md, OKTMO_EN.mdThe OKTMO registry, keys, and pins
REFERENCE_RU.md, REFERENCE_EN.mdTechnical reference
INSTALL_RU.md, INSTALL_EN.mdInstall and launch
tools/PROJECT_FILES_GUIDE_*.mdThis document
tools/WINDOW_INVENTORY.mdThe inventory of the earlier window (NiceGUI) and its check against the new one: what is covered where (in Russian)
PDF/Rendered PDFs of every document in two themes

PDFs are built by a separate tool from every .md in docs, nested folders included. The folder structure is preserved.


tests — Tests

FileWhat it covers
test_address_aligner_regression.pyThe matching passes
test_safe_table_join.pyMoving columns by address
test_excel_layout.pyResult workbook formatting
test_console_output.pyStripping colour codes from output, the encodings of subprocess output
test_cli_door.pyThe console command: the same run parameters as the earlier window, stopping, Excel and Word
test_window_avalonia.pyThe window and the command read the same keys; the English pairs; the self-check of the built window
former_window_parameters.jsonThe parameters of the 14 operations recorded from the earlier window on 11.10.2026: the command is checked against them

The window is checked not by a page in a browser but by itself: App\AudionAddressProcessor.exe --self-check builds every section and compares them with the manifest.


licenses — Licenses

License texts of third-party components, THIRD_PARTY_NOTICES.txt, COMPONENTS.json, the scan report, and the pack manifest. Produced by the Audion Build Licenses tool from the finished contents of the project, not edited by hand.

Bearbeitet 11.10.2026