Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.15"
".": "0.1.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 7
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-39aa058a60035c34a636e7f580b4b9c76b05400ae401ef04a761572b20a5425b.yml
openapi_spec_hash: bb79a204f9edb6b6ccfe783a0a82a423
config_hash: 4dfa4d870ce0e23e31ce33ab6a53dd21
config_hash: 5c90b7df80e8f222bb945b14b8d1fec0
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.1.0 (2025-05-21)

Full Changelog: [v0.1.0-alpha.15...v0.1.0](https://github.com/onkernel/kernel-python-sdk/compare/v0.1.0-alpha.15...v0.1.0)

### Features

* **api:** update via SDK Studio ([0950b19](https://github.com/onkernel/kernel-python-sdk/commit/0950b197ae15bd4f5feecaee80a8de3c54a1e900))

## 0.1.0-alpha.15 (2025-05-20)

Full Changelog: [v0.1.0-alpha.14...v0.1.0-alpha.15](https://github.com/onkernel/kernel-python-sdk/compare/v0.1.0-alpha.14...v0.1.0-alpha.15)
Expand Down
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The REST API documentation can be found on [docs.onkernel.com](https://docs.onke

```sh
# install from PyPI
pip install --pre kernel
pip install kernel
```

## Usage
Expand All @@ -36,7 +36,10 @@ client = Kernel(
deployment = client.apps.deployments.create(
entrypoint_rel_path="main.ts",
file=b"REPLACE_ME",
env_vars={"OPENAI_API_KEY": "x"},
env_vars={
"OPENAI_API_KEY": "x",
"LOG_LEVEL": "debug",
},
version="1.0.0",
)
print(deployment.apps)
Expand Down Expand Up @@ -67,7 +70,10 @@ async def main() -> None:
deployment = await client.apps.deployments.create(
entrypoint_rel_path="main.ts",
file=b"REPLACE_ME",
env_vars={"OPENAI_API_KEY": "x"},
env_vars={
"OPENAI_API_KEY": "x",
"LOG_LEVEL": "debug",
},
version="1.0.0",
)
print(deployment.apps)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "kernel"
version = "0.1.0-alpha.15"
version = "0.1.0"
description = "The official Python library for the kernel API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/kernel/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "kernel"
__version__ = "0.1.0-alpha.15" # x-release-please-version
__version__ = "0.1.0" # x-release-please-version