femic.bcdc_catalog

BC Data Catalogue lookup and direct-download helpers.

Functions

download_direct_bcdc_resources(result, *, ...)

Download direct-access resources from the top-ranked package only.

resolve_bcdc_candidates(query, *[, limit])

Resolve one query against the BC Data Catalogue API.

write_bcdc_manifest(result, path)

Write one resolve-result manifest as pretty-printed JSON.

Classes

BcdcCatalogError

Raised when the BC Data Catalogue API cannot be queried or parsed.

BcdcDownloadedResource(resource_name, ...)

One downloaded direct-access resource.

BcdcDownloadFailure(resource_name, ...)

One failed direct-download attempt.

BcdcDownloadResult(destination_root[, ...])

Direct-download outcome for the chosen top match.

BcdcPackageMatch(package_id, package_name, ...)

Normalized package match plus scored resource list.

BcdcResolveResult(query, limit, ...[, ...])

Normalized result for one BCDC query.

BcdcResourceMatch(resource_id, name, ...[, ...])

Normalized BC Data Catalogue resource metadata.