Module trase.tools.data_release_package.spec

The data release package specification (doc/Data-Release-Package.md), as constants and the handful of functions that read a package folder, shared between validate and snapshot.

Functions

def pointer_files(package_dir: pathlib.Path) ‑> Iterator[pathlib.Path]

Every *.data.txt pointer file of a package, in a stable order.

def read_pointer(path: pathlib.Path) ‑> str

The S3 URL held in a *.data.txt pointer file.