Pre-release
This release is a pre-release and may not be stable for production use.
beamlit
A client library for accessing Beamlit Control Plane
Usage
First, create a client:
from beamlit.authentication import (RunClientWithCredentials, load_credentials,
new_client_with_credentials)
WORKSPACE_NAME = "development"
credentials = load_credentials(WORKSPACE_NAME)
config = RunClientWithCredentials(
credentials=credentials,
workspace=WORKSPACE_NAME,
)
client = new_client_with_credentials(config)
Now call your endpoint and use your models:
from typing import List
from beamlit.api.models import list_models
from beamlit.types import Response
from beamlit.models.model import Model
with client as client:
models: List[Model] = list_models.sync(client=client)
# or if you need more info (e.g. status_code)
response: Response[List[Model]] = list_models.sync_detailed(client=client)
Or do the same thing with an async version:
from typing import List
from beamlit.api.models import list_models
from beamlit.types import Response
from beamlit.models.model import Model
async with client as client:
models: List[Model] = await list_models.asyncio(client=client)
response: Response[List[Model]] = await list_models.asyncio_detailed(client=client)
Metadata
Release files for beamlit 0.0.28rc24
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| beamlit-0.0.28rc24.tar.gz | 154.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| beamlit-0.0.28rc24-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 388.0 kB
Release files / beamlit-0.0.28rc24.tar.gz
| Download URL | beamlit-0.0.28rc24.tar.gz |
|---|---|
| Size | 154.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ddfb3bd1daae1c1f69d55d33a2f5d056b7cb5c06991848595650a5ebc17d08a
|
|
BLAKE2b-256 checksum How to use checksums |
e76c4752c919e8466a87cc14e2f83eb8ba1fef597e0a3c88f03bc37ad199e171
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.5.14
|
Release files / beamlit-0.0.28rc24-py3-none-any.whl
| Download URL | beamlit-0.0.28rc24-py3-none-any.whl |
|---|---|
| Size | 233.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
476bba64cc33f88572d694489438a392ab24adf71c3cd3dd5ae1baea62bc07dd
|
|
BLAKE2b-256 checksum How to use checksums |
480fbe16bc913b3ff940891930a778009743c2d9957814c528b8535fe7432ec8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.5.14
|