Metadata-Version: 2.4
Name: exospherehost
Version: 0.0.6b1
Summary: Official Python SDK for ExosphereHost
Author-email: ExosphereHost <nivedit@exosphere.host>
Project-URL: Homepage, https://exosphere.host
Project-URL: Documentation, https://docs.exosphere.host
Project-URL: Repository, https://github.com/exospherehost/exospherehost/tree/main/python-sdk
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: aiohttp>=3.12.15
Requires-Dist: pydantic>=2.11.7

# ExosphereHost Python SDK
This is the official Python SDK for ExosphereHost and for interacting with ExosphereHost.

## Node Creation
You can simply connect to exosphere state manager and start creating your nodes, as shown in sample below: 

```python
from exospherehost import Runtime, BaseNode
from pydantic import BaseModel

class SampleNode(BaseNode):
    class Inputs(BaseModel):
        name: str

    class Outputs(BaseModel):
        message: str

    async def execute(self, inputs: Inputs) -> Outputs:
        print(inputs)
        return self.Outputs(message="success")

# EXOSPHERE_STATE_MANAGER_URI and EXOSPHERE_API_KEY are required to be set in the environment variables for authentication with exospherehost
runtime = Runtime(
    namespace="SampleNamespace", 
    name="SampleNode"
)

runtime.connect([SampleNode()])
runtime.start()
```

## Support
For first-party support and questions, do not hesitate to reach out to us at <nivedit@exosphere.host>.
