semvec/pypi-packages huggingface dataset:
higcps 0.0.1
GCP Utilities for BigQuery
Requires Python: >=3.6

# hi-gcp

A Python utility package for working with Google Cloud Platform (GCP) services, primarily focusing on BigQuery operations.

## Installation

```bash
pip install higcps
```

## Features

- Easy-to-use BigQuery client wrapper
- Simplified query execution and data retrieval
- Efficient data loading and export operations

## Usage

```python
from hi_gcp import BigQueryClient

# Initialize the client

gg = BigQueryClient(
    project_id = "project_id",
    dataset_id = "dataset_id",
    table_id = "table_id",
    key_file='path/to/service_account_key.json'
)

# Execute a query
df = gg.sql2df("SELECT * FROM `project_id.dataset_id.table_id` LIMIT 100")
```

## License

MIT License
dumbee 0.2.3
A dumb database, not for production

# dumbee

Pretend it's a database

## Installation

```
pip install dumbee
```

## Getting started

```python
import dumbee

# create an Engine
db = dumbee.Engine(
    driver=dumbee.drivers.Filesystem("./data", extensions=[(".", "json")]),
    middlewares=dumbee.Pipeline(
        [
            dumbee.ext.logging.Logger(),
            dumbee.ext.jsonschema.Validator(
                {
                    "schema": {
                        "type": "object",
                        "properties": {
                            "name": {
                                "type": "string"
                            },
                            "age":{
                                "type":"number"
                            }
                        },
                        "required":["name"]
                    },
                    "paths":[
                        "./users/[A-Za-z]+$"
                    ]
                }
            ),
            dumbee.ext.json.Serializer(),
        ]
    ),
)

# write and read back a record
me = (
    db
    .collections["users"]
    .get("me")
    .write({"name":"David", "age":32})
    .read()
)

# nested collection
repos = (
    db
    .collections["users"]
    .get("me")
    .collections["repositories"]
    .get("OSS")
    .write(["easychart","easytree","doubledate","dumbee"])
    .read()
)
```