NebulaPy.database package

Subpackages

Submodules

NebulaPy.database.installer module

Install the versioned NebulaPy auxiliary database.

NebulaPy.database.installer.build_parser()[source]
NebulaPy.database.installer.download_atlas(database, args)[source]
NebulaPy.database.installer.download_core(database, args)[source]

Install the versioned NebulaPy-produced components from Zenodo.

NebulaPy.database.installer.download_powr_grids(database, args)[source]
NebulaPy.database.installer.main(argv=None)[source]

NebulaPy.database.sources module

Official source metadata for the NebulaPy database installer.

NebulaPy.database.verification module

Authoritative verification for installed NebulaPy databases.

exception NebulaPy.database.verification.InstallerError[source]

Bases: RuntimeError

Report a database installation or verification failure.

NebulaPy.database.verification.authoritative_file_metadata(relative)[source]

Return fixed metadata for one immutable database file.

NebulaPy.database.verification.valid_fits(path)[source]

Return whether a file starts with the standard FITS signature.

NebulaPy.database.verification.validate_sed(content, source)[source]

Validate the structure and completeness of a PoWR ASCII SED.

NebulaPy.database.verification.verify_component_checksums(database, checksum_name)[source]

Verify a Zenodo component using its installed SHA-256 list.

NebulaPy.database.verification.verify_database_inventory(database)[source]

Verify the installation against its freshly written local inventory.

NebulaPy.database.verification.verify_installation(database, args)[source]

Verify requested components against the fixed versioned manifest.

NebulaPy.database.verification.write_database_inventory(database)[source]

Record the files in this particular database installation.

Module contents

Database installation, source metadata, and verification.