A Python client library for programmatically interacting with JupyterLab services
Project description
jupyterlab-client
一个用于以编程方式与 JupyterLab 服务进行交互的 Python 客户端库。
功能特点
- 远程执行 Jupyter Notebook 中的 Python 代码
- 执行服务器端命令行指令
- 文件操作
- 上传文件至 JupyterLab 服务器
- 从 JupyterLab 服务器下载文件
安装
pip install jupyterlab-client
使用示例
from jupyterlab_client import JupyterLabClient
# 连接到 JupyterLab 服务
client = JupyterLabClient("http://your-jupyterlab-server:8888", token="your-token")
# TODO: 添加示例代码
开发
安装依赖
uv sync --all-extras --dev
pre-commit install
运行测试
uv run pytest
提交代码
cz commit
发布
# 1. 确保有符合规范的提交
cz commit
# 2. 如果是首次发布,先初始化
cz init
# 3. 升级版本号
cz bump
# 4. 推送标签和更改
git push --follow-tags
贡献指南
欢迎提交 Issue 和 Pull Request!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jupyterlab_client-0.0.0.tar.gz.
File metadata
- Download URL: jupyterlab_client-0.0.0.tar.gz
- Upload date:
- Size: 29.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36c7aa8b84984b88fb106fc12bdc07d6273d5bb397b9ca8e47e2b851e099620f
|
|
| MD5 |
20f7f3297cedab59c44037ed635dc410
|
|
| BLAKE2b-256 |
67e45c52ec6930289c6a0c2635f4e04c9ffe4f75a649ba4b43ea26a8f9c3c33c
|
Provenance
The following attestation bundles were made for jupyterlab_client-0.0.0.tar.gz:
Publisher:
publish-to-pypi.yml on Haskely/jupyterlab-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jupyterlab_client-0.0.0.tar.gz -
Subject digest:
36c7aa8b84984b88fb106fc12bdc07d6273d5bb397b9ca8e47e2b851e099620f - Sigstore transparency entry: 173766530
- Sigstore integration time:
-
Permalink:
Haskely/jupyterlab-client@21a34ea1619d4b03776c21d6eb1311733516c2a6 -
Branch / Tag:
refs/tags/v0.0.0 - Owner: https://github.com/Haskely
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@21a34ea1619d4b03776c21d6eb1311733516c2a6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file jupyterlab_client-0.0.0-py3-none-any.whl.
File metadata
- Download URL: jupyterlab_client-0.0.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05138f94c2bc7cd8a1f7fd87bb15351c233fb550a393007ac87f45d8e713850b
|
|
| MD5 |
b9d85b596a35569cb83449f27e813ab6
|
|
| BLAKE2b-256 |
d372404c9db6c80416bcca3e1976b4440130e5fbee067e77d9ff96f5a3173639
|
Provenance
The following attestation bundles were made for jupyterlab_client-0.0.0-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on Haskely/jupyterlab-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jupyterlab_client-0.0.0-py3-none-any.whl -
Subject digest:
05138f94c2bc7cd8a1f7fd87bb15351c233fb550a393007ac87f45d8e713850b - Sigstore transparency entry: 173766534
- Sigstore integration time:
-
Permalink:
Haskely/jupyterlab-client@21a34ea1619d4b03776c21d6eb1311733516c2a6 -
Branch / Tag:
refs/tags/v0.0.0 - Owner: https://github.com/Haskely
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@21a34ea1619d4b03776c21d6eb1311733516c2a6 -
Trigger Event:
push
-
Statement type: