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
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zionclouds_common_code-0.1.1-py3-none-any.whl.
File metadata
- Download URL: zionclouds_common_code-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e60d9733be4d022c75d7904fae66d9459062f11b0fe394b349be8d5a818cb215
|
|
| MD5 |
1edc40a02aed7f76e6f6ce5542384197
|
|
| BLAKE2b-256 |
71d9de12d74996306e45b3b883abed01b92a1f86f22e80b43312cdd7dafcd924
|