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 zionai-utils==1.0.3
Usage
from zionai_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
zionai_utils-1.0.3.tar.gz
(2.5 kB
view details)
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 zionai_utils-1.0.3.tar.gz.
File metadata
- Download URL: zionai_utils-1.0.3.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c99dab0b7049b7c2727bb0dfcf5d70d2de4ce6fd109ac48ff064eb631760ec7c
|
|
| MD5 |
27fafaa0abbcae61c95aacc0a0e76657
|
|
| BLAKE2b-256 |
e034cdde6632eea0b860a215ae91afa2030bc024d9d027468349d88c9fe0af7c
|
File details
Details for the file zionai_utils-1.0.3-py3-none-any.whl.
File metadata
- Download URL: zionai_utils-1.0.3-py3-none-any.whl
- Upload date:
- Size: 2.8 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 |
e4ebbe47a605b51a358b176089dda84ba19a338a45f87f74c19fde4c910caabd
|
|
| MD5 |
8b0701f999655e95a8a2050ee8a6e5a6
|
|
| BLAKE2b-256 |
14047a0696d902cf4268656c2c94dc2f103509d25e30aed65ab2e1a743b848a5
|