Skip to main content

A Python client library for programmatically interacting with JupyterLab services

Project description

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyterlab_client-0.0.0.tar.gz (29.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyterlab_client-0.0.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

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

Hashes for jupyterlab_client-0.0.0.tar.gz
Algorithm Hash digest
SHA256 36c7aa8b84984b88fb106fc12bdc07d6273d5bb397b9ca8e47e2b851e099620f
MD5 20f7f3297cedab59c44037ed635dc410
BLAKE2b-256 67e45c52ec6930289c6a0c2635f4e04c9ffe4f75a649ba4b43ea26a8f9c3c33c

See more details on using hashes here.

Provenance

The following attestation bundles were made for jupyterlab_client-0.0.0.tar.gz:

Publisher: publish-to-pypi.yml on Haskely/jupyterlab-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jupyterlab_client-0.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_client-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05138f94c2bc7cd8a1f7fd87bb15351c233fb550a393007ac87f45d8e713850b
MD5 b9d85b596a35569cb83449f27e813ab6
BLAKE2b-256 d372404c9db6c80416bcca3e1976b4440130e5fbee067e77d9ff96f5a3173639

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page