Skip to main content

bhooai-nexus-ai

Greenfield Python library for BhooAI Nexus AI gateway + image service (Pillow + Real-ESRGAN). Contract-first from contracts/ai-openapi.yaml.

pip install -e ./libraries/python            # core (Pillow included)
pip install -e "./libraries/python[images]"  # + avif
pip install -e "./libraries/python[realesrgan]" # + Real-ESRGAN super-resolution (torch)
pytest
uvicorn bhooai_nexus.server:app --port 8000  # or python -m bhooai_nexus.server

Images — resize / upscale / quality

Library:

from bhooai_nexus.images import resize, upscale, generate_variants
out, info = resize(data, width=256, height=256, fit="cover", format="webp", quality=80)
out, info = upscale(data, scale=2, algorithm="realesrgan")  # fallback to lanczos if not installed
variants = generate_variants(data, sizes={"thumb":150,"small":480,"medium":1280,"large":2048}, formats=["webp"])

HTTP (single server, same port 8000):

POST /images/health
POST /images/resize   {b64, width, height, fit, format, quality}
POST /images/upscale  {b64, scale, algorithm}
POST /images/transform {b64, width, height, fit, format, quality, scale}
POST /images/variants/json {b64, sizes:{thumb:150}, formats:["webp"], quality:80}

Node auto-generates storage.imageTransform.sizes variants on put() via NEXUS_IMAGES_URL (default 127.0.0.1:8000); fallback to original if unreachable. Bridge: new PythonBridge({baseUrl}).images.variants({b64, sizes}).

Metadata

Release files for bhooai-nexus-ai 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bhooai-nexus-ai 0.2.0
File Size Uploaded Provenance Actions
bhooai_nexus_ai-0.2.0.tar.gz 12.8 kB Without provenance Details for bhooai_nexus_ai-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bhooai-nexus-ai 0.2.0
File Interpreter ABI Platform Actions
bhooai_nexus_ai-0.2.0-py3-none-any.whl Python 3 none any Details for bhooai_nexus_ai-0.2.0-py3-none-any.whl

Total release size: 30.7 kB

Release files / bhooai_nexus_ai-0.2.0.tar.gz

Download URL bhooai_nexus_ai-0.2.0.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6745f077c3461fcebdcaa0dffbd40300cc6ff21eea0a010aaff317558eb06ea3
BLAKE2b-256 checksum
How to use checksums
93fdbff68c505c8c1902d3423fdf871222ac2e6deec84c0c6ec93d5ee10ee470
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / bhooai_nexus_ai-0.2.0-py3-none-any.whl

Download URL bhooai_nexus_ai-0.2.0-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cba76ce4091bad33273a9a3e0f775539fbc264a58b9f768bed0d6188ea899bc0
BLAKE2b-256 checksum
How to use checksums
26df91c808b93dc89bc542cf63dbc932ba34af9d82718c3aa2a71619b25dded4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for bhooai-nexus-ai 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page