Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Holon Python SDK

CI Docs PyPI Python Apache 2.0 License Discord

This repository contains the Python runtime for holon.

Install

uv add --prerelease allow holon-sh
uv add --dev holon-types

Create an app

uvx create-holon-app foo

Invoking MCP Servers

Declare dependencies under sh.holon.requires in a server.json beside the server, here the public Hugging Face MCP server:

{
  "name": "com.example/foo",
  "version": "0.1.0",
  "description": "Example Foo",
  "_meta": {
    "io.modelcontextprotocol.registry/publisher-provided": {
      "sh.holon": {
        "requires": {
          "huggingface": { "url": "https://huggingface.co/mcp" }
        }
      }
    }
  }
}

Type-checking MCP invocations

uv run holon types check

A wrong tool name or argument is a type error:

from holon.apps import apps

await apps.huggingface.tools.hub_repo_search(query="llama")

await apps.huggingface.tools.hub_repo_search(limit="3")
# error: Argument "limit" to "hub_repo_search" of "HuggingfaceTools" has incompatible type "str"; expected "float"  [arg-type]

await apps.huggingface.tools.hub_repo_details()
# error: Missing named argument "repo_ids" for "hub_repo_details" of "HuggingfaceTools"  [call-arg]

await apps.huggingface.tools.hub_search(query="llama")
# error: "HuggingfaceTools" has no attribute "hub_search"; maybe "hub_repo_search"?  [attr-defined]

Community

Ask questions and share what you're building on the Holon Discord.

Metadata

Release files for holon-sh 0.0.1.dev11

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

Source distribution (sdist)

Source distribution for holon-sh 0.0.1.dev11
File Size Uploaded Provenance Actions
holon_sh-0.0.1.dev11.tar.gz 52.7 kB Without provenance Details for holon_sh-0.0.1.dev11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for holon-sh 0.0.1.dev11
File Interpreter ABI Platform Actions
holon_sh-0.0.1.dev11-py3-none-any.whl Python 3 none any Details for holon_sh-0.0.1.dev11-py3-none-any.whl

Total release size: 97.0 kB

Release files / holon_sh-0.0.1.dev11.tar.gz

Download URL holon_sh-0.0.1.dev11.tar.gz
Size 52.7 kB
Tags Source
SHA-256 checksum
How to use checksums
87141e6503355b887df13e2453a312332bed8b59172aea2c0f9ab2112d981245
BLAKE2b-256 checksum
How to use checksums
e6b17a9c56f1b7ffe5fe5f4bed413e3caf585e682d71365e45e2e23668b90a9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / holon_sh-0.0.1.dev11-py3-none-any.whl

Download URL holon_sh-0.0.1.dev11-py3-none-any.whl
Size 44.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f24106829442c63d78aa8e2d4f11a377f7d72b8f7e43dcf9f62381aa1c276f3e
BLAKE2b-256 checksum
How to use checksums
175bf22289f2ebbac773330f5b4f872a32b20d3b420d1a0001ddf642b09c9cd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for holon-sh 0.0.1.dev11

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