Python SDK for the IEEE 2874-2025 Spatial Web standard (HSML/HSTP)
Project description
spatial-web-sdk
Python SDK for the IEEE 2874-2025 Spatial Web standard — the first open-source implementation of HSML (Hyperspace Modeling Language) and HSTP (Hyperspace Transaction Protocol).
About IEEE 2874-2025
IEEE 2874-2025 is the Spatial Web Protocol, Architecture and Governance standard, ratified May 29, 2025. It defines:
- HSML — Hyperspace Modeling Language: a human- and machine-readable semantic modeling language for describing entities (people, places, things, AI agents) and their relationships
- HSTP — Hyperspace Transaction Protocol: the protocol defining how Spatial Web entities interact, including spatial range queries, verifiable credentialing, and automated contracting
- UDG — Universal Domain Graph: the distributed metagraph of all Spatial Web relationships
- Agent Framework — governance and interoperability for autonomous AI agents
Described as the third foundational web protocol after TCP/IP (1970s) and HTTP/HTML (1990s).
Status
Pre-Alpha. Core HSML entity serialization and HSTP query client are in active development.
Planned Features
Entity— HSML entity definition and JSON serializationSpatialQuery— HSTP spatial range query constructionSWID— Spatial Web Identifier (did:swid) generation per W3C DID specUDGNode— Local Universal Domain Graph node utilities- Domain-specific ontology extensions (healthcare, manufacturing, energy)
Installation
pip install spatial-web-sdk
Quick Start (Coming Soon)
from spatial_web_sdk import Entity, EntityType, SpatialQuery
entity = Entity(
entity_type=EntityType.DEVICE,
name="Sensor A1",
location={"lat": 37.7749, "lon": -122.4194},
)
print(entity.to_hsml()) # HSML JSON document
print(entity.swid) # did:swid:...
Resources
License
Apache 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spatial_web_sdk-0.1.0.tar.gz.
File metadata
- Download URL: spatial_web_sdk-0.1.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3def0d5dfdd960fa185e13ed3e946d03e05d90908f99cca01cf8d34627a9866d
|
|
| MD5 |
ed8b0ce6c6c17ff1a74ab754d2d43343
|
|
| BLAKE2b-256 |
aed44b83d254a0ff3377289e4d382229aa619c77ccd257ae93c3fd34558897ec
|
File details
Details for the file spatial_web_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: spatial_web_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8f562d8c30126e7b102ec3ab40aa9ab2b73c5472ca83bc71cd18b0755785e27
|
|
| MD5 |
628f2dc048672ef163aa56a6525c7eb1
|
|
| BLAKE2b-256 |
dbaa06c9c00db79ef501bbda3633b93063d43d6b59743a789bd3089f869712c9
|