sysmlpy 0.32.0__tar.gz → 0.32.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/PKG-INFO +2 -2
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/README.md +1 -1
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/pyproject.toml +1 -1
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/__init__.py +1 -1
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/__main__.py +24 -2
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/definition.py +1 -1
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/formatting.py +1 -1
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/grammar/classes.py +1 -1
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/usage.py +2 -2
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/LICENSE +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/antlr/README.md +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/antlr/SysMLv2Lexer.interp +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/antlr/SysMLv2Lexer.py +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/antlr/SysMLv2Lexer.tokens +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/antlr/SysMLv2Parser.interp +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/antlr/SysMLv2Parser.py +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/antlr/SysMLv2Parser.tokens +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/antlr/SysMLv2ParserListener.py +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/antlr/SysMLv2ParserVisitor.py +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/antlr/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.interp +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/antlr/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.py +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/antlr/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.tokens +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/antlr_parser.py +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/antlr_visitor.py +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/examples/attribute_values.py +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/examples/part_attributes.py +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/examples/tuples_sequences.py +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/grammar/antlr4/README.md +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.g4 +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.interp +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.py +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.tokens +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/grammar/antlr4/SysMLv2Parser.g4 +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/grammar/antlr4/SysMLv2Parser.interp +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/grammar/antlr4/SysMLv2Parser.py +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/grammar/antlr4/SysMLv2Parser.tokens +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/grammar/antlr4/SysMLv2ParserListener.py +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/grammar/antlr4/SysMLv2ParserVisitor.py +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/grammar/antlr4/desc.xml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/grammar/antlr4/examples/camera.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/grammar/antlr4/examples/toaster-system.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/grammar/antlr4/examples/vehicle-model.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/grammar/antlr4/pom.xml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/LICENSE +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/README.md +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/__init__.py +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Analysis/AnalysisTooling.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Analysis/SampledFunctions.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Analysis/StateSpaceRepresentation.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Analysis/TradeStudies.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Cause and Effect/CausationConnections.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Cause and Effect/CauseAndEffect.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Geometry/ShapeItems.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Geometry/SpatialItems.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Metadata/ImageMetadata.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Metadata/ModelingMetadata.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Metadata/ParametersOfInterestMetadata.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Metadata/RiskMetadata.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/ISQ.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/ISQAcoustics.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/ISQAtomicNuclear.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/ISQBase.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/ISQCharacteristicNumbers.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/ISQChemistryMolecular.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/ISQCondensedMatter.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/ISQElectromagnetism.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/ISQInformation.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/ISQLight.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/ISQMechanics.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/ISQSpaceTime.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/ISQThermodynamics.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/MeasurementRefCalculations.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/MeasurementReferences.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/Quantities.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/QuantityCalculations.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/SI.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/SIPrefixes.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/TensorCalculations.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/Time.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/USCustomaryUnits.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/VectorCalculations.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Requirement Derivation/DerivationConnections.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Requirement Derivation/RequirementDerivation.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/Base.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/BaseFunctions.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/BooleanFunctions.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/Clocks.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/CollectionFunctions.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/Collections.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/ComplexFunctions.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/ControlFunctions.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/ControlPerformances.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/DataFunctions.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/FeatureReferencingPerformances.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/IntegerFunctions.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/KerML.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/Links.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/Metaobjects.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/NaturalFunctions.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/NumericalFunctions.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/Objects.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/Observation.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/OccurrenceFunctions.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/Occurrences.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/Performances.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/RationalFunctions.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/RealFunctions.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/ScalarFunctions.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/ScalarValues.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/SequenceFunctions.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/SpatialFrames.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/StatePerformances.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/StringFunctions.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/Transfers.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/TransitionPerformances.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/TrigFunctions.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/Triggers.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/VectorFunctions.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/VectorValues.kerml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/Actions.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/Allocations.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/AnalysisCases.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/Attributes.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/Calculations.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/Cases.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/Connections.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/Constraints.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/Flows.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/Interfaces.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/Items.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/Metadata.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/Parts.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/Ports.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/Requirements.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/StandardViewDefinitions.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/States.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/SysML.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/UseCases.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/VerificationCases.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/systems/Views.sysml +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/navigate.py +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/plantuml.py +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/project.py +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/semantic.py +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/store.py +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/us_customary_units.txt +0 -0
- {sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/validator.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sysmlpy
|
|
3
|
-
Version: 0.32.
|
|
3
|
+
Version: 0.32.1
|
|
4
4
|
Summary:
|
|
5
5
|
License-File: LICENSE
|
|
6
6
|
Author: Jon R. Fox (mycr0ft)
|
|
@@ -41,7 +41,7 @@ The project had diverged so much from sysml2py that a new name, sysmlpy, was sel
|
|
|
41
41
|
|
|
42
42
|
**v0.31.0:** Documentation overhaul — all docs rewritten to showcase the modern public API. New Model Parsing and Model Navigation sections. Semantic Analysis updated with `AnalysisResult`. Grammar round-trip: 77/77 (100%). 211 core tests passing.
|
|
43
43
|
|
|
44
|
-
**v0.
|
|
44
|
+
**v0.32.1:** Fixed critical round-trip data loss bug — `Usage.load_from_grammar()` in `usage.py` silently dropped definition-type children (`part def`, `item def`, etc.) when mixed with usage-type children in the same body, due to an incorrect `hasattr(child, 'body')` guard. Nested structures with mixed definition/usage children now survive parse → dump → parse round-trip correctly.
|
|
45
45
|
|
|
46
46
|
**v0.28.0:** Complete Gap 4 coverage — Block Definition Diagram (BDD), Internal Block Diagram (IBD), Parametric Diagram, and Package Diagram views. All 6 specialized SysML v2 view types now implemented (144 PlantUML tests). IBD shows flow/connection arrows with endpoint extraction. Parametric view extracts constraint parameters with types. Package diagram renders nested folder-style hierarchy.
|
|
47
47
|
|
|
@@ -16,7 +16,7 @@ The project had diverged so much from sysml2py that a new name, sysmlpy, was sel
|
|
|
16
16
|
|
|
17
17
|
**v0.31.0:** Documentation overhaul — all docs rewritten to showcase the modern public API. New Model Parsing and Model Navigation sections. Semantic Analysis updated with `AnalysisResult`. Grammar round-trip: 77/77 (100%). 211 core tests passing.
|
|
18
18
|
|
|
19
|
-
**v0.
|
|
19
|
+
**v0.32.1:** Fixed critical round-trip data loss bug — `Usage.load_from_grammar()` in `usage.py` silently dropped definition-type children (`part def`, `item def`, etc.) when mixed with usage-type children in the same body, due to an incorrect `hasattr(child, 'body')` guard. Nested structures with mixed definition/usage children now survive parse → dump → parse round-trip correctly.
|
|
20
20
|
|
|
21
21
|
**v0.28.0:** Complete Gap 4 coverage — Block Definition Diagram (BDD), Internal Block Diagram (IBD), Parametric Diagram, and Package Diagram views. All 6 specialized SysML v2 view types now implemented (144 PlantUML tests). IBD shows flow/connection arrows with endpoint extraction. Parametric view extracts constraint parameters with types. Package diagram renders nested folder-style hierarchy.
|
|
22
22
|
|
|
@@ -39,6 +39,16 @@ def main():
|
|
|
39
39
|
action="store_true",
|
|
40
40
|
help="Display the dictionary/JSON representation"
|
|
41
41
|
)
|
|
42
|
+
parser.add_argument(
|
|
43
|
+
"-i", "--in-place",
|
|
44
|
+
action="store_true",
|
|
45
|
+
help="Format the file in-place (overwrites the input file)"
|
|
46
|
+
)
|
|
47
|
+
parser.add_argument(
|
|
48
|
+
"--check",
|
|
49
|
+
action="store_true",
|
|
50
|
+
help="Check if the file is already formatted; exit 1 if not"
|
|
51
|
+
)
|
|
42
52
|
|
|
43
53
|
args = parser.parse_args()
|
|
44
54
|
|
|
@@ -65,8 +75,20 @@ def main():
|
|
|
65
75
|
grammar_dict = load_grammar(content)
|
|
66
76
|
import json
|
|
67
77
|
print(json.dumps(grammar_dict, indent=2))
|
|
68
|
-
elif args.dump:
|
|
69
|
-
|
|
78
|
+
elif args.dump or args.in_place or args.check:
|
|
79
|
+
formatted = model.dump()
|
|
80
|
+
if args.check:
|
|
81
|
+
if formatted == content:
|
|
82
|
+
sys.exit(0)
|
|
83
|
+
else:
|
|
84
|
+
print(f"{file_path} would be reformatted")
|
|
85
|
+
sys.exit(1)
|
|
86
|
+
elif args.in_place:
|
|
87
|
+
with open(file_path, 'w') as f:
|
|
88
|
+
f.write(formatted)
|
|
89
|
+
print(f"Formatted {file_path}")
|
|
90
|
+
else:
|
|
91
|
+
print(formatted)
|
|
70
92
|
else:
|
|
71
93
|
# Default or --python flag: show repr()
|
|
72
94
|
print(repr(model))
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Created on Fri Jun 30 23:23:31 2023
|
|
5
5
|
|
|
6
|
-
@author:
|
|
6
|
+
@author: mycr0ft
|
|
7
7
|
"""
|
|
8
8
|
|
|
9
9
|
|
|
@@ -790,7 +790,7 @@ class Usage(Searchable):
|
|
|
790
790
|
|
|
791
791
|
for child in children:
|
|
792
792
|
# Handle different child types
|
|
793
|
-
if hasattr(child, 'definition')
|
|
793
|
+
if hasattr(child, 'definition'):
|
|
794
794
|
# It's a Definition (PartDefinition, ItemDefinition, etc.)
|
|
795
795
|
sc = child
|
|
796
796
|
elif hasattr(child, 'children'):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/antlr/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.interp
RENAMED
|
File without changes
|
{sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/antlr/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.py
RENAMED
|
File without changes
|
{sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/antlr/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.tokens
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Analysis/SampledFunctions.sysml
RENAMED
|
File without changes
|
{sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Analysis/StateSpaceRepresentation.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Cause and Effect/CauseAndEffect.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Metadata/ModelingMetadata.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/ISQAcoustics.sysml
RENAMED
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/ISQBase.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/ISQLight.sysml
RENAMED
|
File without changes
|
{sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/ISQMechanics.sysml
RENAMED
|
File without changes
|
{sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/ISQSpaceTime.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/Quantities.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/SIPrefixes.sysml
RENAMED
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/domain/Quantities and Units/Time.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.0 → sysmlpy-0.32.1}/src/sysmlpy/library/kernel/FeatureReferencingPerformances.kerml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|