How fluid40/aas-standard-parser works
AAS standard Parser is a Python library for turning AAS structures and descriptor JSON into queryable, domain-specific data. A typical workflow loads or converts JSON to BaSyx model objects, then uses the relevant parser to extract submodel structure, AID interface details, AIMC mappings, or concept and shell metadata. Helpers provide semantic/reference lookup and language selection. The README also describes structured logging; implementation details for that capability were not sampled, so it is represented only as a documented subsystem. Some relationships below rely on the source index or README rather than inspected implementation excerpts.
Main entry points: multi_language_parser.py Language parsing · concept_description_parser.py Concept parser · descriptor_json_helper.py Descriptor parser · utils.py JSON utilities
Components 20
Input and models
- JSON utilities
aas_standard_parser/utils.py
Domain parsers
- AAS parser
aas_standard_parser/aas_parser.py - AID parser
aas_standard_parser/aid_parser.py - AIMC parser
aas_standard_parser/aimc_parser.py - Concept parser
aas_standard_parser/concept_description_parser.py - Shell parser
aas_standard_parser/shell_parser.py - Submodel parser
aas_standard_parser/submodel_parser.py - Descriptor parser
aas_standard_parser/descriptor_json_helper.py - Submodel JSON
aas_standard_parser/submodel_json_helper.py
Parsing helpers
- Collection lookup
aas_standard_parser/collection_helpers.py - Reference lookup
aas_standard_parser/reference_helpers.py - Language parsing
aas_standard_parser/multi_language_parser.py - Version checks
aas_standard_parser/version_check.py - Structured logging
aas_standard_parser/demo/logging_handler.py
Result models
- Environment data
aas_standard_parser/classes/env_parser_classes.py - Mapping models
aas_standard_parser/classes/aimc_parser_classes.py - Concept models
aas_standard_parser/classes/concept_description_parser_classes.py - Descriptor models
aas_standard_parser/classes/descriptor_json_helper_classes.py
Other components
- Python caller
- BaSyx SDK
Connections 17
- Python caller → JSON utilities: loads JSON
README.md - Python caller → AAS parser: requests parsing
README.md - JSON utilities → BaSyx SDK: decodes models
aas_standard_parser/utils.py - AAS parser → Environment data: uses data model
aas_standard_parser/aas_parser.py - AID parser → Collection lookup: finds elements
aas_standard_parser/aid_parser.py - AIMC parser → Collection lookup: finds elements
aas_standard_parser/aimc_parser.py - AIMC parser → Mapping models: creates results
aas_standard_parser/aimc_parser.py - Concept parser → Concept models: creates results
aas_standard_parser/concept_description_parser.py - Concept parser → Language parsing: selects text
aas_standard_parser/concept_description_parser.py - Concept parser → Reference lookup: extracts keys
aas_standard_parser/concept_description_parser.py - Descriptor parser → Descriptor models: creates results
aas_standard_parser/descriptor_json_helper.py - Descriptor parser → Language parsing: selects text
aas_standard_parser/descriptor_json_helper.py - Descriptor parser → JSON utilities: encodes identifiers
aas_standard_parser/descriptor_json_helper.py - Shell parser → Language parsing: selects text
aas_standard_parser/shell_parser.py - Submodel parser → Language parsing: selects text
aas_standard_parser/submodel_parser.py - Python caller → Submodel JSON: requests parsing
README.md - Python caller → Structured logging: configures logging
README.md