mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
- New hanzo-cli package (0.1.0) providing the `hanzo` command - Auth: browser OAuth + ROPC password login against hanzo.id (Casdoor) - IAM subcommands: users, user, set-password, orgs, apps, sync-app - KMS subcommands: list, get, set, delete, inject - PaaS subcommands: orgs, projects, envs, deploy (create/status/logs/redeploy/env/delete) - PaaS deploy supports both Docker images (--image) and git repos (--repo) - Sticky org/project/env context for PaaS commands - PaaS client with IAM→PaaS session exchange and auto-refresh - hanzo-iam SDK v1.1.0: bearer_token auth, admin helpers, set_password/get_applications/update_application Co-authored-by: Hanzo Dev <[email protected]>
58 lines
1.3 KiB
TOML
58 lines
1.3 KiB
TOML
[project]
|
|
name = "hanzo-cli"
|
|
version = "0.1.0"
|
|
description = "Hanzo unified CLI — IAM, KMS, Deploy"
|
|
readme = "README.md"
|
|
license = { text = "MIT" }
|
|
requires-python = ">=3.9"
|
|
authors = [{ name = "Hanzo AI", email = "[email protected]" }]
|
|
keywords = ["hanzo", "cli", "iam", "devops"]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
]
|
|
|
|
dependencies = [
|
|
"click>=8.0",
|
|
"rich>=13.0",
|
|
"httpx>=0.25.0",
|
|
"pyjwt>=2.8.0",
|
|
"hanzo-iam>=1.0.0",
|
|
"hanzo-kms>=1.0.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0.0",
|
|
"ruff>=0.5.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
hanzo = "hanzo_cli.cli:main"
|
|
|
|
[project.urls]
|
|
Homepage = "https://hanzo.ai"
|
|
Repository = "https://github.com/hanzoai/python-sdk"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["hanzo_cli"]
|
|
|
|
[tool.ruff]
|
|
target-version = "py39"
|
|
line-length = 100
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "W", "F", "I", "B", "C4", "UP"]
|
|
ignore = ["E501"]
|