semvec/pypi-packages huggingface dataset:
stinger-python-utils 0.1.7
Common utilities for Stinger Python services.
Requires Python: >=3.7

# stinger-python-utils

Shared utilities for Stinger Python services, providing convenient message creation for MQTT communication.



## Installation

```bash
uv add stinger-python-utils
```

## MessageCreator

`MessageCreator` is a utility class for creating MQTT messages with standardized properties and payloads.

### Basic Usage

```python
from pydantic import BaseModel
from stinger_python_utils.message_creator import MessageCreator

class MyPayload(BaseModel):
    name: str
    value: int

payload = MyPayload(name="test", value=42)
message = MessageCreator.signal_message("my/topic", payload)
```

### Methods

| Method | Purpose | Return Code |
|--------|---------|-------------|
| `signal_message(topic, payload)` | Send a signal with one-time delivery | QoS 1, no retain |
| `status_message(topic, payload, expiry_seconds)` | Send status that expires | QoS 1, retained, with expiry |
| `error_response_message(topic, return_code, correlation_id, debug_info)` | Error response to a request | QoS 1, user properties: `ReturnCode` |
| `response_message(topic, payload, return_code, correlation_id)` | Successful response to a request | QoS 1, user properties: `ReturnCode` |
| `property_state_message(topic, payload, state_version)` | Publish property state | QoS 1, retained, JSON content type |
| `property_update_request_message(topic, payload, version, response_topic, correlation_id)` | Request property update | QoS 1, user property: `PropertyVersion` |
| `property_response_message(topic, payload, version, return_code, correlation_id, debug_info)` | Respond to property update | QoS 1, user properties: `ReturnCode`, `PropertyVersion` |
| `request_message(topic, payload, response_topic, correlation_id)` | Send a request (auto-generates UUID if no correlation_id) | QoS 1, auto correlation ID |

### Example: Request/Response Pattern

```python
from pydantic import BaseModel
from stinger_python_utils.message_creator import MessageCreator

class Request(BaseModel):
    action: str

request = Request(action="start")
msg = MessageCreator.request_message(
    "devices/cmd",
    request,
    response_topic="devices/response"
)
# Returns a Message with auto-generated correlation ID
```

### Example: Error Response

```python
msg = MessageCreator.error_response_message(
    "devices/response",
    return_code=500,
    correlation_id="req-123",
    debug_info="Device not found"
)
# User properties include: ReturnCode=500, DebugInfo=Device not found
```
gscompressor 1.2.1
Refactored python training and inference code for 3D Gaussian Splatting

# gscompressor: compress 3DGS scenes by Draco

## Install (PyPI)

```shell
pip install gscompressor
```

(No Linux version because not supported by PyPI: [Binary wheel can't be uploaded on pypi using twine](https://stackoverflow.com/questions/59451069/binary-wheel-cant-be-uploaded-on-pypi-using-twine))

## Install (Development)

Install [`gaussian-splatting`](https://github.com/yindaheng98/gaussian-splatting).
You can download the wheel from [PyPI](https://pypi.org/project/gaussian-splatting/):
```shell
pip install --upgrade gaussian-splatting
```
Alternatively, install the latest version from the source:
```sh
pip install --upgrade git+https://github.com/yindaheng98/gaussian-splatting.git@master
```

Install [`reduced-3dgs`](https://github.com/yindaheng98/reduced-3dgs).
You can download the wheel from [PyPI](https://pypi.org/project/reduced-3dgs/):
```shell
pip install --upgrade reduced-3dgs
```
Alternatively, install the latest version from the source:
```sh
pip install --upgrade git+https://github.com/yindaheng98/reduced-3dgs.git@main
```

(Optional) Install [`lapis-gs`](https://github.com/yindaheng98/lapis-gs).
You can download the wheel from [PyPI](https://pypi.org/project/lapis-gs/):
```shell
pip install --upgrade lapis-gs
```
Alternatively, install the latest version from the source:
```sh
pip install --upgrade git+https://github.com/yindaheng98/lapis-gs.git@main
```

```shell
git clone --recursive https://github.com/yindaheng98/gscompressor
cd gscompressor
pip install tqdm plyfile tifffile
pip install --target . --upgrade --no-deps .
```

(Optional) If you prefer not to install `gaussian-splatting` and `reduced-3dgs` in your environment, you can install them in your `lapis-gs` directory:
```sh
pip install --target . --no-deps --upgrade git+https://github.com/yindaheng98/gaussian-splatting.git@master
pip install --target . --no-deps --upgrade git+https://github.com/yindaheng98/reduced-3dgs.git@main
pip install --target . --no-deps --upgrade git+https://github.com/yindaheng98/lapis-gs.git@main # Optional
```
bloqade-geometry 0.5.2
Components for defining and manipulating geometric objects in Bloqade for neutral atom quantum computing.
Requires Python: >=3.10

# Welcome to Bloqade-Geometry

Bloqade-Geometry is a collection of tools for transforming and modeling geometric
objects used for defining layouts and operation of neutral atom quantum computers.

Currently the only supported geometry is a grid, but more geometries will be added in
the future. For a full list of features, see the [API Reference](https://queracomputing.github.io/bloqade-geometry/dev/reference/bloqade/geometry/prelude/).

## Installation

```bash
uv add bloqade-geometry
```

See [Installation](install.md) for more details.

## Other useful links

- [Documentation](https://queracomputing.github.io/bloqade-geometry/dev/)
- [Bloqade Shuttle](https://queracomputing.github.io/bloqade-shuttle/dev/): a related
project that uses Bloqade Geometry to define and manipulate atom shuttling operations
in neutral atom quantum computers.
cartonnage 0.1.7
Cartonnage is a Database-First ORM—designed as a 'Live Database Reflection ORM' or 'Record Reflection Layer (RRL)'—that reflects your existing database at runtime, speaking its schema fluently: not model-first, not schema-first, but runtime-bound, making it the ORM for existing databases.
Requires Python: >=3.8
Keywords: orm, database, sqlite, mysql, postgresql, oracle, sql

# Cartonnage

Cartonnage is a Database-First ORM—designed as a 'Live Database Reflection ORM' or 'Record Reflection Layer (RRL)'—that reflects your existing database at runtime, speaking its schema fluently: not model-first, not schema-first, but runtime-bound, making it the ORM for existing databases:

- SQLite
- MySQL
- PostgreSQL
- Oracle
- Microsoft SQL Server

## Installation

```bash
pip install cartonnage
```

With database drivers:
```bash
pip install cartonnage[mysql]     # MySQL support
pip install cartonnage[postgres]  # PostgreSQL support
pip install cartonnage[oracle]    # Oracle support
pip install cartonnage[mssql]     # SQL Server support
pip install cartonnage[all]       # All databases
```

## License

MIT