Skip to main content

Hugging Bay Python SDK

This source is the unpublished hugging-bay 0.4.11 candidate for Python 3.9 or newer. It restores find_model(..., snapshot=...), retains hardware and memory filters, and preserves the optional oneAnswer finder verdict. Version 0.4.10 is already on PyPI. Pip installs the package's dependencies, including httpx and cryptography.

Install in a virtual environment with python -m pip install 'hugging-bay==0.4.10'. Follow the Python quickstart for the tested install and search example. Public catalog reads need no account or token.

Read the catalog

Use Client for search, repository resolution, artifact records and download plans. Search returns rows; use a returned row's id for later requests. Keep nextCursor unchanged with the same query and filters for pagination.

A download plan describes file availability and recorded hashes. A catalog match or a hosted file does not establish a complete model, hardware compatibility, quality or permission to use it. Inspect the current plan and license before downloading; compare downloaded bytes with the expected hash.

Handle errors

For an unsuccessful HTTP response, the client raises HuggingBayError with status, body and retry_after_seconds. Error codes and request IDs may also be available. A network or timeout failure can raise an httpx exception before an HTTP response exists.

Honor retry hints, limit total attempts and keep API errors separate from empty results. For multiple workers, share a queue, request budget and cooldown. Server extensions depend on the deployment; a package export does not prove that its backing route is enabled.

Reference

Bay Run is a separate service with separate credentials and limits. This catalog quickstart does not call it. The hosted single-file SDK is also a separate distribution; use the PyPI package for the guide linked above.

License

MIT.

Metadata

Release files for hugging-bay 0.4.11

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

Source distribution (sdist)

Source distribution for hugging-bay 0.4.11
File Size Uploaded Provenance
hugging_bay-0.4.11.tar.gz 79.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for hugging-bay 0.4.11
File Interpreter ABI Platform
hugging_bay-0.4.11-py3-none-any.whl Python 3 none any Details

Total release size: 131.9 kB

Release files / hugging_bay-0.4.11.tar.gz

Download URL hugging_bay-0.4.11.tar.gz
Size 79.0 kB
Tags Source
SHA-256 checksum
How to use checksums
73c5c296591770cae32d6be6dbc040e968f447ba8c4e98e3f2463888954e6e12
BLAKE2b-256 checksum
How to use checksums
c5ef2bce8883f5e3fb6b6d612d59a935af3da22d0a960bc16810a77b934ff839
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Release files / hugging_bay-0.4.11-py3-none-any.whl

Download URL hugging_bay-0.4.11-py3-none-any.whl
Size 52.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57f34db3f2541b54df98a08e121eee44485d787d297f34643d0552f0a05dc8f4
BLAKE2b-256 checksum
How to use checksums
fa0d49407c2758cccb6a367b999de0b4b517871cf0b4b73d68b249f4aad6a79d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Security for hugging-bay 0.4.11

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.

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