Metadata-Version: 2.4
Name: ZionClouds-Common-code
Version: 1.0.1
Summary: A simple utility library for common operations used in ZionClouds projects
Home-page: https://github.com/ZionClouds/ZionClouds.git
Author: Harshith Gundela
Author-email: harshith.gundela@zionclouds.com
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: google-cloud-storage>=2.0.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# GCS Utils

A simple utility library for Google Cloud Storage operations.

## Installation

```bash
pip install ZionClouds-Common-code==1.0.0
```

## Usage

```python
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"}
)
```
