Async-ready context and logging manager for multi-tenant services
Project description
Grox
Grox is a lightweight async-ready Python library for building multi-tenant AI agents, project-scoped services with graph orchestrated LLM execution flows, structured logging, request correlation, and centralized configuration.
✨ Features
- Singleton
GroxContextwith thread-safe project registration GroxExecutionContextobject per request/input (withtenant_idandproject_code)- Per-request correlation ID and user-scoped structured logging via
structlog - YAML-based config loading with Pydantic
- Clean separation between global project data and per-request logic
🛠️ Installation
pip install grox
For development
Poetry
poetry install --extras "test"
PIP
pip3 install ".[test]"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
grox-0.1.0.tar.gz
(17.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
grox-0.1.0-py3-none-any.whl
(19.8 kB
view details)
File details
Details for the file grox-0.1.0.tar.gz.
File metadata
- Download URL: grox-0.1.0.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.13 Linux/6.11.0-1015-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
568c508b74bbb54cf57c240139c4e429a936f104eb140b6b275fd41695a4cb09
|
|
| MD5 |
50a9da0380c11315de5b1ff41d332b37
|
|
| BLAKE2b-256 |
6de2a2264d6df23a5f8237d50d6865346cadd08f014d88a693c30852a90693e7
|
File details
Details for the file grox-0.1.0-py3-none-any.whl.
File metadata
- Download URL: grox-0.1.0-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.13 Linux/6.11.0-1015-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e8a09ef7958a70e3bcc18e28ded96022d86d4dcbc55a69c696b78b9b946a27b
|
|
| MD5 |
d9fcea071be8ad5755daa2b85afd29fd
|
|
| BLAKE2b-256 |
de069d38ce62dd7b3c164a890e57fb743eaf3e505167b36204a4144652842b1e
|