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 your-gcs-utils

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 Distribution

zionclouds_common_code-1.0.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file zionclouds_common_code-1.0.0.tar.gz.

File metadata

  • Download URL: zionclouds_common_code-1.0.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for zionclouds_common_code-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d9c2ba8b3532995495fc10a5c32f98a4d5319a19511ea3f60c8972544aa02bfe
MD5 fc2dd9dea8325dd3d8efac37e8df6340
BLAKE2b-256 100ec3eb6f73ee0431b81c5b3f0236a83c0ebfd29092f17fed5e8fcbbc3ca4f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zionclouds_common_code-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4b4c29915e8570fa77ae2c3b2cd1020ebca34360e680592b1f1a6563245a4b9
MD5 a1d470cb1c90e9ad7620be4d4eb231ac
BLAKE2b-256 39281bcedcbe4bb3d016d52234ca38bb3119aa688c27316309a9e7c9e4c131ae

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