gitronics 0.5.24__tar.gz → 0.5.25__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.
- {gitronics-0.5.24 → gitronics-0.5.25}/Cargo.lock +1 -1
- {gitronics-0.5.24 → gitronics-0.5.25}/Cargo.toml +1 -1
- {gitronics-0.5.24 → gitronics-0.5.25}/PKG-INFO +1 -1
- {gitronics-0.5.24 → gitronics-0.5.25}/README.md +9 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/docs/examples.md +12 -4
- {gitronics-0.5.24 → gitronics-0.5.25}/docs/index.md +10 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/mkdocs.yml +4 -4
- {gitronics-0.5.24 → gitronics-0.5.25}/src/build_model.rs +1 -1
- {gitronics-0.5.24 → gitronics-0.5.25}/src/migrate_model.rs +0 -1
- {gitronics-0.5.24 → gitronics-0.5.25}/.github/workflows/ci.yml +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/.github/workflows/docs.yml +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/.github/workflows/release.yml +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/.gitignore +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/.vscode/settings.json +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/LICENSE +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/docs/assets/logo.png +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/docs/best_practices.md +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/docs/getting_started/assessments.md +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/docs/getting_started/building_a_model.md +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/docs/getting_started/card_id_numbers.md +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/docs/getting_started/concepts.md +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/docs/getting_started/configuration_file.md +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/docs/getting_started/file_types.md +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/docs/getting_started/migrating.md +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/docs/getting_started/new_project.md +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/docs/getting_started/project_structure.md +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/docs/getting_started.md +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/docs/hooks/version_from_git.py +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/docs/installation.md +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/docs/requirements.txt +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/docs/usage/build.md +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/docs/usage/migrate.md +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/example_project/assessment_specific/filler_model_3.mcnp +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/example_project/assessment_specific/filler_model_3.metadata +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/example_project/assessment_specific/small_override.yaml +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/example_project/configurations/valid_configuration.yaml +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/example_project/output/.gitignore +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/example_project/reference_model/data_cards/fine_mesh.tally +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/example_project/reference_model/data_cards/materials.mat +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/example_project/reference_model/data_cards/my_transform.transform +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/example_project/reference_model/data_cards/volumetric_source.source +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/example_project/reference_model/envelope_structure.mcnp +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/example_project/reference_model/envelope_structure.metadata +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/example_project/reference_model/filler_models/filler_model_1.mcnp +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/example_project/reference_model/filler_models/filler_model_1.metadata +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/example_project/reference_model/filler_models/filler_model_2.mcnp +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/example_project/reference_model/filler_models/filler_model_2.metadata +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/pyproject.toml +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/python/gitronics/__init__.py +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/python/gitronics/__main__.py +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/python/gitronics/gitronics.pyi +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/python/tests/test_build_model.py +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/python/tests/test_cli_works.py +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/resources/simple_model.mcnp +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/src/build_report.rs +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/src/cli.rs +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/src/lib.rs +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/src/main.rs +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/src/model_config.rs +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/src/project_manager/load_metadata.rs +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/src/project_manager/load_model_config.rs +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/src/project_manager/load_project_files.rs +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/src/project_manager.rs +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/src/python.rs +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/src/report.css +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/src/types.rs +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/src/utils.rs +0 -0
- {gitronics-0.5.24 → gitronics-0.5.25}/tests/test_example_project.rs +0 -0
|
@@ -15,6 +15,8 @@ Gitronics lets you decompose a monolithic [MCNP](https://mcnp.lanl.gov/) input f
|
|
|
15
15
|
|
|
16
16
|
**Full documentation: [fusion4energy.github.io/gitronics](https://fusion4energy.github.io/gitronics/latest/)**
|
|
17
17
|
|
|
18
|
+
The Gitronics methodology is already used to maintain the most complex neutronics models of the [ITER](https://www.iter.org/) fusion reactor, and [JT-60SA](https://www.jt60sa.org/) tokamak.
|
|
19
|
+
|
|
18
20
|
## Why?
|
|
19
21
|
|
|
20
22
|
| Problem with monolithic models | Gitronics solution |
|
|
@@ -98,6 +100,13 @@ The full documentation covers installation, CLI reference, configuration options
|
|
|
98
100
|
|
|
99
101
|
**[fusion4energy.github.io/gitronics](https://fusion4energy.github.io/gitronics/latest/)**
|
|
100
102
|
|
|
103
|
+
## Publication
|
|
104
|
+
|
|
105
|
+
Gitronics is described in the following publication:
|
|
106
|
+
|
|
107
|
+
- Cubi, A., et al. *Novel modular and Git-based approach for the management and development of radiation transport models*. [Fusion Engineering and Design](https://www.sciencedirect.com/journal/fusion-engineering-and-design), 2025. [https://doi.org/10.1016/j.fusengdes.2025.115248](https://doi.org/10.1016/j.fusengdes.2025.115248)
|
|
108
|
+
|
|
109
|
+
|
|
101
110
|
## License
|
|
102
111
|
|
|
103
112
|
[EUPL-1.2](LICENSE)
|
|
@@ -15,10 +15,18 @@ example_project/
|
|
|
15
15
|
└── reference_model/
|
|
16
16
|
├── envelope_structure.mcnp
|
|
17
17
|
├── envelope_structure.metadata
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
├── filler_models/
|
|
19
|
+
│ ├── filler_model_1.mcnp
|
|
20
|
+
│ ├── filler_model_1.metadata
|
|
21
|
+
│ └── filler_model_2.mcnp
|
|
22
|
+
├── source/
|
|
23
|
+
│ └── volumetric_source.mcnp
|
|
24
|
+
├── materials/
|
|
25
|
+
│ └── materials.mcnp
|
|
26
|
+
├── transformations/
|
|
27
|
+
│ └── my_transform.mcnp
|
|
28
|
+
└── tallies/
|
|
29
|
+
└── fine_mesh.mcnp
|
|
22
30
|
```
|
|
23
31
|
|
|
24
32
|
### Configuration
|
|
@@ -14,6 +14,8 @@ This workflow enables:
|
|
|
14
14
|
- **Parallelism** — teams can develop different sub-models independently.
|
|
15
15
|
- **Reproducibility** — each assembled model records the git commit hash and build timestamp in its metadata.
|
|
16
16
|
|
|
17
|
+
The Gitronics methodology is already used to maintain the most complex neutronics models of the [ITER](https://www.iter.org/) fusion reactor, and [JT-60SA](https://www.jt60sa.org/) tokamak.
|
|
18
|
+
|
|
17
19
|
---
|
|
18
20
|
|
|
19
21
|
## How it works
|
|
@@ -43,6 +45,14 @@ If you have never used Gitronics before, please take a few minutes to read the w
|
|
|
43
45
|
|
|
44
46
|
---
|
|
45
47
|
|
|
48
|
+
## Publication
|
|
49
|
+
|
|
50
|
+
Gitronics is described in the following publication:
|
|
51
|
+
|
|
52
|
+
- Cubi, A., et al. *Novel modular and Git-based approach for the management and development of radiation transport models*. [Fusion Engineering and Design](https://www.sciencedirect.com/journal/fusion-engineering-and-design), 2025. [https://doi.org/10.1016/j.fusengdes.2025.115248](https://doi.org/10.1016/j.fusengdes.2025.115248)
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
46
56
|
## Quick links
|
|
47
57
|
|
|
48
58
|
- [Installation](installation.md)
|
|
@@ -11,14 +11,14 @@ theme:
|
|
|
11
11
|
favicon: assets/logo.png
|
|
12
12
|
palette:
|
|
13
13
|
- scheme: default
|
|
14
|
-
primary: deep purple
|
|
15
|
-
accent: teal
|
|
14
|
+
# primary: deep purple
|
|
15
|
+
# accent: teal
|
|
16
16
|
toggle:
|
|
17
17
|
icon: material/brightness-7
|
|
18
18
|
name: Switch to dark mode
|
|
19
19
|
- scheme: slate
|
|
20
|
-
primary: deep purple
|
|
21
|
-
accent: teal
|
|
20
|
+
# primary: deep purple
|
|
21
|
+
# accent: teal
|
|
22
22
|
toggle:
|
|
23
23
|
icon: material/brightness-4
|
|
24
24
|
name: Switch to light mode
|
|
@@ -92,7 +92,7 @@ pub fn build_model(config_path: &Path, output_path: &Path) -> Result<(), Gitroni
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
static ENVELOPE_RE: LazyLock<Regex> =
|
|
95
|
-
LazyLock::new(|| Regex::new(r"\$\s*@env:\s*(
|
|
95
|
+
LazyLock::new(|| Regex::new(r"\$\s*@env:\s*([[:alnum:]_.-]+)\s*").unwrap());
|
|
96
96
|
|
|
97
97
|
fn collect_build_report(
|
|
98
98
|
config_path: &Path,
|
|
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
|
{gitronics-0.5.24 → gitronics-0.5.25}/example_project/assessment_specific/filler_model_3.mcnp
RENAMED
|
File without changes
|
{gitronics-0.5.24 → gitronics-0.5.25}/example_project/assessment_specific/filler_model_3.metadata
RENAMED
|
File without changes
|
{gitronics-0.5.24 → gitronics-0.5.25}/example_project/assessment_specific/small_override.yaml
RENAMED
|
File without changes
|
{gitronics-0.5.24 → gitronics-0.5.25}/example_project/configurations/valid_configuration.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{gitronics-0.5.24 → gitronics-0.5.25}/example_project/reference_model/data_cards/fine_mesh.tally
RENAMED
|
File without changes
|
{gitronics-0.5.24 → gitronics-0.5.25}/example_project/reference_model/data_cards/materials.mat
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gitronics-0.5.24 → gitronics-0.5.25}/example_project/reference_model/envelope_structure.mcnp
RENAMED
|
File without changes
|
{gitronics-0.5.24 → gitronics-0.5.25}/example_project/reference_model/envelope_structure.metadata
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
|