Store packages in GCS

class, bucket_factory=None, service_account_json_filename=None, project_id=None, use_iam_signer=False, iam_signer_service_account_email=None, **kwargs)[source]

Bases: ObjectStoreStorage

Storage backend that uses GCS

property bucket[source]

Delete the package

classmethod get_bucket(bucket_name, settings)[source]
list(factory=<class 'pypicloud.models.Package'>)[source]

Return a list or generator of all packages

classmethod package_from_object(obj, factory)[source]

Create a package from a GCS object

test = False[source]
upload(package, datastream)[source]

Upload the package to GCS