semvec/pypi-packages huggingface dataset:
spssstar 0.1.3
A library for encoding session-specific data into star maps.
Requires Python: >=3.6

# spssstar

A Python library for encoding session-specific data into star maps. This library generates star properties (positions, colors, twinkling patterns) based on unique session identifiers.

## Features

- Encode session IDs into star positions, colors, and twinkling patterns.
- Embed blockchain hashes for tamper-proof validation.
- Generate reproducible but unique star maps.
- Lightweight and easy to integrate with rendering libraries like `spssimage`.

## Installation

Install the library using pip:

```bash
pip install spssstar
```

USAGE:
from spssstar.core import StarEncoder

# Initialize the encoder

encoder = StarEncoder(width=400, height=400)

# Encode a session ID into a star map

star_map = encoder.encode_star_map("test-session", num_stars=10)

# Export the star map for rendering

exported_data = star_map.export()
print(exported_data)
hi-gcp 0.0.6
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. Features more robust to prevent accidentallly delete or clean tables.

## Installation

```bash
pip install hi-gcp
```

## Features

- Easy-to-use BigQuery client wrapper
- Simplified query execution and data retrieval
- Efficient data loading and export operations
- Additional step for sensitive operations (table deletion and cleaning)
- Environment variable support for configuration

## 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