Shared data models and service protocols for NextPoints and its ML backend
Project description
nextpoints-sdk
Shared data models and simple synchronous service protocol client between NextPoints and its ML backend.
MVP scope:
- Pydantic models for project metadata, annotations, calibration.
- Synchronous HTTP client (httpx) for three service endpoints: pre-annotation, reconstruction, calibration.
- Minimal error and artifact models.
Install (local)
pip install -e .
Run tests
pytest -q
Basic Usage
from nextpoints_sdk.client.services import ServicesClient
from nextpoints_sdk.models.requests import PreAnnotationRequest
# build project_meta ...
client = ServicesClient(base_url="http://ml-backend:8000", api_key="your-key")
resp = client.pre_annotate(PreAnnotationRequest(project_meta=project_meta))
print(resp.annotations.keys())
This is an early skeleton. Models will be filled incrementally.
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
nextpoints_sdk-0.2.0.tar.gz
(16.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
File details
Details for the file nextpoints_sdk-0.2.0.tar.gz.
File metadata
- Download URL: nextpoints_sdk-0.2.0.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6bc838b6cbeb7f5ae07d987a513cadb1b8b699401dbeecce71f17e0d2fd074b
|
|
| MD5 |
477b583eb6a5f87f07e75d912685076e
|
|
| BLAKE2b-256 |
ba5ee77f3046a85f85c112ca2784d32c486b50003db89e96b34260966f6e84f1
|
File details
Details for the file nextpoints_sdk-0.2.0-py3-none-any.whl.
File metadata
- Download URL: nextpoints_sdk-0.2.0-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a77c0a6bdbe8fc116f49433b7f8c0ef5718cd1f8cf32921ead5c8b99fbdfa7ec
|
|
| MD5 |
5e743697a3fc7b07de7bf9720950093f
|
|
| BLAKE2b-256 |
4b12ff1f0e0b5a04fe2d1b137bfa0288b4e3312fcbb54b32c6ec27f267fa119b
|