Skip to main content

A simple utility library for common operations used in ZionClouds projects

Project description

GCS Utils

A simple utility library for Google Cloud Storage operations.

Installation

pip install ZionClouds-Common-code==1.0.0

Usage

from gcs_utils import GCSClient

# Initialize with service account key
client = GCSClient(
    credentials_path="/path/to/service-account.json",
    project_id="your-project-id"
)

# Upload file
success, gcs_uri = client.upload_to_gcs(
    bucket_name="your-bucket",
    file_name="document.pdf",
    file_data=file_bytes,
    meta_data={"author": "John Doe"}
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zionclouds_common_code-0.1.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file zionclouds_common_code-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for zionclouds_common_code-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e60d9733be4d022c75d7904fae66d9459062f11b0fe394b349be8d5a818cb215
MD5 1edc40a02aed7f76e6f6ce5542384197
BLAKE2b-256 71d9de12d74996306e45b3b883abed01b92a1f86f22e80b43312cdd7dafcd924

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page