Initial commit: Python SDK for Dragonchain (Prime)

Synchronous Python SDK modeled on prime-sdk-go. Provides DC1-HMAC-SHA256
auth, dataclass models, and resource clients for system, transaction,
transaction-type, smart-contract, and block endpoints, plus a YAML
credentials loader.
This commit is contained in:
2026-05-29 16:53:16 -04:00
commit 4a7d8b875a
15 changed files with 1686 additions and 0 deletions

27
pyproject.toml Normal file
View File

@@ -0,0 +1,27 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "prime-sdk-python"
version = "0.1.0"
description = "A self-contained Python SDK for interacting with Dragonchain nodes."
readme = "README.md"
requires-python = ">=3.9"
license = { text = "Apache-2.0" }
authors = [{ name = "Dragonchain" }]
keywords = ["dragonchain", "blockchain", "sdk", "prime"]
dependencies = [
"requests>=2.25",
"PyYAML>=5.4",
]
[project.urls]
Homepage = "https://git.dragonchain.com/dragonchain/prime-sdk-python"
Repository = "https://git.dragonchain.com/dragonchain/prime-sdk-python"
[project.optional-dependencies]
dev = ["pytest>=7.0"]
[tool.hatch.build.targets.wheel]
packages = ["prime_sdk"]