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.33rc47
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.33rc47.tar.gz | 240.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| beamlit-0.0.33rc47-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 485.9 kB
Release files / beamlit-0.0.33rc47.tar.gz
| Download URL | beamlit-0.0.33rc47.tar.gz |
|---|---|
| Size | 240.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc577abdaa8126156eced56ec5974e3b023dd7d7f59ad5a0e98b77fcd11542a9
|
|
BLAKE2b-256 checksum How to use checksums |
79458c8364eeb6dc513514efc0552aa4ff9e51234a40c5a63a066f50db6de7e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.5.18
|
Release files / beamlit-0.0.33rc47-py3-none-any.whl
| Download URL | beamlit-0.0.33rc47-py3-none-any.whl |
|---|---|
| Size | 245.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
20b6202f68519c8354cbc8d819e03e037b60fffaa89915bdab040473b30bd4ee
|
|
BLAKE2b-256 checksum How to use checksums |
c4dde91e6391a407851a75d23277adcf5bc30758e3c9c2b075434fa48e09de78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.5.18
|