Skip to main content

PyPI version Python Version License Downloads GitHub Stars GitHub Issues Dependencies

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!

Metadata

Release files for jupyterlab-client 0.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyterlab-client 0.0.0
File Size Uploaded
jupyterlab_client-0.0.0.tar.gz 29.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jupyterlab-client 0.0.0
File Interpreter ABI Platform
jupyterlab_client-0.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 31.8 kB

Release files / jupyterlab_client-0.0.0.tar.gz

Download URL jupyterlab_client-0.0.0.tar.gz
Size 29.4 kB
Tags Source
SHA-256 checksum
How to use checksums
36c7aa8b84984b88fb106fc12bdc07d6273d5bb397b9ca8e47e2b851e099620f
BLAKE2b-256 checksum
How to use checksums
67e45c52ec6930289c6a0c2635f4e04c9ffe4f75a649ba4b43ea26a8f9c3c33c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 24, 2025.

Transparency log

Release files / jupyterlab_client-0.0.0-py3-none-any.whl

Download URL jupyterlab_client-0.0.0-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05138f94c2bc7cd8a1f7fd87bb15351c233fb550a393007ac87f45d8e713850b
BLAKE2b-256 checksum
How to use checksums
d372404c9db6c80416bcca3e1976b4440130e5fbee067e77d9ff96f5a3173639
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 24, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page