Metadata-Version: 2.5
Name: formlabs-preform-api
Version: 1.0.0a1
Summary: Generated Python client for the PreFormServer Local API v1
Author: Formlabs
License: Proprietary
Requires-Python: >=3.11
Requires-Dist: attrs>=22.2.0
Requires-Dist: httpx<0.29.0,>=0.23.1
Description-Content-Type: text/markdown

# formlabs-preform-api

Python client for the PreFormServer Local API (starting with v1).

The package is generated by the PreForm build from `lib/LibPreFormServer/openapi-v1.yml`
with [openapi-python-client](https://github.com/openapi-generators/openapi-python-client).
It is versioned by the Local API version, independently of the PreForm version.

This is the low-level layer: one module per operation under `formlabs_preform_api.api.<tag>`
and attrs models under `formlabs_preform_api.models`. Nothing here is hand written. The spec
the package was generated from ships with it as `formlabs_preform_api/openapi-v1.yml`. For the
ergonomic, typed facade use `formlabs-sdk`, which depends on this package.

```python
from formlabs_preform_api import Client
from formlabs_preform_api.api.scenes import list_scenes

with Client(base_url="http://localhost:44388") as client:
    response = list_scenes.sync_detailed(client=client)
    print(response.status_code, response.parsed)
```
