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.2
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.2.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.2.tar.gz.
File metadata
- Download URL: zionai_utils-1.0.2.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 |
871107153ea8450d52884a6558f4cd3d00dfcb4f9c01715634a1e7370240442e
|
|
| MD5 |
d5b932055aa9d92ae71d09adc31d112b
|
|
| BLAKE2b-256 |
6ade0b7aaac8ce3bea04732babd87e83da3ecd42d9baa5469366ad77aa01c499
|
File details
Details for the file zionai_utils-1.0.2-py3-none-any.whl.
File metadata
- Download URL: zionai_utils-1.0.2-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 |
6e82a11385b56ff0e48bb1e9c251c61970bad6fffe30f2d250612c0176dceebc
|
|
| MD5 |
80a034ed08ae661c7d386fc44c804f9a
|
|
| BLAKE2b-256 |
cbc83b56c72cf72680c8ae83ffa6b9be557d1eab6a80da82dcde93171ca1f5dc
|