mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
hanzo-tools-browser: the zapd router envelope (frame.rs mirror) is no longer reimplemented — zapd_consumer now uses zap.frame + zap.ZapClient (dep zap-proto>=1.2.0). The end-to-end browser command codec stays local and untagged to match the extension's decodeCmd (frame.encode_cmd is tagged and would corrupt it); a new test proves the byte layout. hanzo-zap: wire.py now delegates the zero-copy codec (Message/Builder/ ObjectBuilder/object readers) to canonical zap.wire instead of a 3rd hand-rolled copy; the hanzo cloud-service schema + handshake + frame I/O remain as a thin layer. dep zap-proto>=1.2.0. 114 tests pass.
50 lines
1.5 KiB
TOML
50 lines
1.5 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "hanzo-zap"
|
|
version = "0.7.0"
|
|
description = "Zero-copy Agent Protocol (ZAP) SDK - 1000x faster than MCP"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = { text = "MIT" }
|
|
authors = [{ name = "Hanzo AI", email = "[email protected]" }]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
"Typing :: Typed",
|
|
]
|
|
keywords = ["agent", "ai", "hanzo", "mcp", "protocol", "zap", "zero-copy"]
|
|
dependencies = [
|
|
"httpx>=0.23.0",
|
|
# Canonical zero-copy wire codec (zap.wire). hanzo-zap layers its cloud
|
|
# service schema on top of this; the codec is never reimplemented here.
|
|
"zap-proto>=1.2.0",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/hanzoai/python-sdk"
|
|
Repository = "https://github.com/hanzoai/python-sdk/tree/main/pkg/hanzo-zap"
|
|
Documentation = "https://hanzo.ai/docs/zap"
|
|
|
|
[project.optional-dependencies]
|
|
crypto = ["luxcrypto>=0.1.0"]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"pytest-asyncio>=0.26.0",
|
|
]
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["hanzo_zap*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
hanzo_zap = ["py.typed"]
|