Skip to main content

LogQbit

LogQbit 是一个面向实验室场景的轻量数据记录工具包,适合记录中小规模实验数据。

它的核心设计目标是:

  • 用简单的接口记录和管理实验数据。
  • 基于目录的实验数据组织,用通用可读的格式储存数据。
  • 在需要时再启用浏览器和实时绘图等 GUI 能力。

完整文档见:https://qiujv.github.io/logqbit/

安装

常规安装:

pip install logqbit

如果还需要 GUI:

pip install "logqbit[gui]"

更详细的安装说明见:https://qiujv.github.io/logqbit/install/

用例

用例 1:记录一组实验数据

from logqbit import LogFolder

lf = LogFolder.new("./demo_data", title="My Experiment")

lf.add_row(x=0.0, y=1.2)
lf.add_row(x=1.0, y=1.8)
lf.flush()

lf.meta.plot_axes = ["x"]
lf.const["temperature"] = "300 K"

print(lf.df)

用例 2:打开数据查看器

logqbit browser

如果希望启动后立即释放当前终端,可以使用 detached 模式:

logqbit browser --detach

或者也可以通过 logqbit shortcuts 创建桌面快捷方式(仅 Windows 可用)。

用例 3:生成示例数据并打开浏览器

logqbit browser-demo

这会在当前目录创建 logqbit_example/,生成五组示例数据并启动图形化浏览器。其中两组 包含一百万个数据点,首次生成可能需要一点时间。

更多内容:

Download files

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

Source Distribution

logqbit-0.6.1.tar.gz (79.6 kB view details)

Uploaded Source

Built Distribution

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

logqbit-0.6.1-py3-none-any.whl (72.1 kB view details)

Uploaded Python 3

File details

Details for the file logqbit-0.6.1.tar.gz.

File metadata

  • Download URL: logqbit-0.6.1.tar.gz
  • Upload date:
  • Size: 79.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for logqbit-0.6.1.tar.gz
Algorithm Hash digest
SHA256 0a60b87cf86450e5c60c7aaa89dfb4a876b3f1812ec4e1339271da18d32f3c35
MD5 7d87ffd71bf9003513e993fdf97fdcad
BLAKE2b-256 bdb3fcc620f58263972948ea498efaae2c15025dd6f377fde9f6c290d9181d8e

See more details on using hashes here.

File details

Details for the file logqbit-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: logqbit-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 72.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for logqbit-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d6222ec6059e1a932c852f7d04047931863c38a2b234ad3c8f9f73cc67629db1
MD5 d1a8ac79e04948fc6c76290ee846c66a
BLAKE2b-256 8b3a2c2265ef6c5aab551e3254f1a3e0428e69ce782a822b2c44dcf7a095942f

See more details on using hashes here.

Release history Release notifications | RSS feed

0.8.1

2 files

0.8.0

2 files

0.7.3

2 files

0.7.2

2 files

0.7.1

2 files

0.7

3 files

0.6.2

2 files

This release

0.6.1 This release

2 files

0.6

2 files

0.5.1

2 files

0.5

2 files

0.4.1

2 files

0.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

0.0.1

2 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