{ } Raw JSON

bundles / papyri 0.0.10 / papyri / cli / upload / _load_from_zip

function

papyri.cli.upload:_load_from_zip

source: /papyri/cli/upload.py :44

Signature

def   _load_from_zip ( path : Path )  →  tuple[bytes, Bundle]

Summary

Extract and load the single .papyri artifact from a zip file.

Extended Summary

Raises BundleError if the zip contains zero or more than one .papyri member, or if the artifact itself is invalid.

Aliases

  • papyri.cli.upload._load_from_zip