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.34rc58
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.34rc58.tar.gz | 240.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| beamlit-0.0.34rc58-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 483.2 kB
Release files / beamlit-0.0.34rc58.tar.gz
| Download URL | beamlit-0.0.34rc58.tar.gz |
|---|---|
| Size | 240.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c265e50df1a4c2b79b9ea0bea5cb9a2059ea211b3bc963a71f63ebeee5ddad4e
|
|
BLAKE2b-256 checksum How to use checksums |
9e4479e7a8285fb4ee5dd623671c9bf5ecf87fc4a1c768b5c492fde560e48c3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.5.21
|
Release files / beamlit-0.0.34rc58-py3-none-any.whl
| Download URL | beamlit-0.0.34rc58-py3-none-any.whl |
|---|---|
| Size | 243.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
86355cea80a65c232900515d74b505ddbd8de92fd3c7796e4477551cfbf26f2d
|
|
BLAKE2b-256 checksum How to use checksums |
b64d50514fa2196ffeddbc1201731a882570ead2f14d19895dc3b13a63451a06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.5.21
|