Python client SDK for Stamm federated learning registry
Project description
Stamm SDK
Lightweight Python SDK to interact with the Stamm ML registry API (FastAPI backend), focused on authentication and read-only registry discovery.
Install
Install from PyPI:
pip install stamm-sdk
Quick Start
from stamm_sdk import Client
sdk = Client(base_url="http://188.245.241.118:8080")
sdk.login(email="you@example.com", password="your-password")
projects = sdk.ml.list_projects()
print(projects)
project_id = "your-project-id"
project_info = sdk.ml.get_project_info(project_id)
print(project_info)
variables = sdk.ml.get_variables(project_id)
print(variables)
models = sdk.ml.list_models(project_id)
print(models)
models_full = sdk.ml.list_models_full(project_id)
print(models_full)
sdk.logout()
sdk.close()
Implemented Modules
stamm_sdk.core: config and authenticated HTTP sessionstamm_sdk.registry: ML endpoint wrappers, artifact bundle, storage managerstamm_sdk.schemas: pydantic schemas for model/federation metadatastamm_sdk.tracking: local experiment logger with optional remote pushstamm_sdk.learning: centralized/federated stubs for training orchestration
Environment Variables
STAMM_API_BASE_URL: default API base URLSTAMM_API_TIMEOUT: request timeout in seconds
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
stamm_sdk-0.1.3.tar.gz
(15.3 kB
view details)
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
stamm_sdk-0.1.3-py3-none-any.whl
(10.4 kB
view details)
File details
Details for the file stamm_sdk-0.1.3.tar.gz.
File metadata
- Download URL: stamm_sdk-0.1.3.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
184918e5027c8a83b984ee10e0490c6ff2d6d9980d56a2c6e6c9a8c4176358c5
|
|
| MD5 |
8c93b4b8394cfda5c2b7bae13a60a9a9
|
|
| BLAKE2b-256 |
cd99f4a4ba7a3574418cb95fdef0b7c94be8e8e9fe528ff76239ed4e7559b8f6
|
File details
Details for the file stamm_sdk-0.1.3-py3-none-any.whl.
File metadata
- Download URL: stamm_sdk-0.1.3-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7f502b742363541c20b1aba6894ee528ba94baffa75c64ae0ee29fd53f38f71
|
|
| MD5 |
6603239caa7497cf155cb46efd6ab33a
|
|
| BLAKE2b-256 |
abeaea1cd72d94af82ce3db1cb17a96521b19d41ff1eeab14651fa3eaa078044
|