Datasets:
Formats:
csv
Languages:
English
Size:
1K - 10K
Tags:
mathematics
inverse-problems
observability
noncommutative-algebra
symbolic-computation
calibration-rigidity
Download scripts/make_manifest.py from PureOne/AELYRION-NOULITH-III: direct link, hf CLI and curl.
- Browser
- Download file 844 Bytes
-
https://huggingface.co/datasets/PureOne/AELYRION-NOULITH-III/resolve/main/scripts/make_manifest.py
- Command line
-
hf download hf://datasets/PureOne/AELYRION-NOULITH-III/scripts/make_manifest.py
-
curl -L -o make_manifest.py https://huggingface.co/datasets/PureOne/AELYRION-NOULITH-III/resolve/main/scripts/make_manifest.py
844 Bytes
| #!/usr/bin/env python3 | |
| """Create SHA256SUMS for release files; not a cryptographic authorship signature.""" | |
| import hashlib | |
| from pathlib import Path | |
| ROOT=Path(__file__).resolve().parents[1] | |
| IGNORE_DIRS={'.git','.pytest_cache','__pycache__','.venv','_renders'} | |
| IGNORE_SUFFIX={'.aux','.log','.out','.toc','.fls','.fdb_latexmk','.bbl','.blg','.pyc'} | |
| entries=[] | |
| for path in sorted(ROOT.rglob('*')): | |
| rel=path.relative_to(ROOT) | |
| if not path.is_file() or any(part in IGNORE_DIRS or part.endswith('.egg-info') for part in rel.parts): continue | |
| if path.name in {'SHA256SUMS','main.pdf'} or path.suffix in IGNORE_SUFFIX: continue | |
| entries.append(f'{hashlib.sha256(path.read_bytes()).hexdigest()} {rel.as_posix()}') | |
| (ROOT/'SHA256SUMS').write_text('\n'.join(entries)+'\n',encoding='utf-8') | |
| print(f'Wrote SHA256SUMS for {len(entries)} files.') | |