Skip to main content

LogQbit

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

它的核心设计目标是:

  • 用简单的接口记录和管理实验数据。
  • 基于目录的实验数据组织,用通用可读的格式储存数据。

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

安装

常规安装:

pip install logqbit

如果还需要 GUI:

pip install "logqbit[gui]"

用例

用例 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

此功能需要安装 logqbit[gui]

你还可以通过 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.8.0.tar.gz (109.0 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.8.0-py3-none-any.whl (91.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: logqbit-0.8.0.tar.gz
  • Upload date:
  • Size: 109.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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.8.0.tar.gz
Algorithm Hash digest
SHA256 7928792a8656cc1d4e49811c1543dbd7922bb6e1f5dd80d33aa4c7174a1b6f86
MD5 5ccfb9a8bd44ff07d7dc0ac34f6ad462
BLAKE2b-256 59bdc62291c18dd1264317161f20ff36cce105280b54051a8f2e5081cf74f87b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: logqbit-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 91.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6451a9ef65eba0d322d91e469df3d88457176f145ec04ccc0c37d157c3624f5
MD5 caf7209e3aafbefb26550a48353637fa
BLAKE2b-256 f479a179a96361e7c12c307c7cd060cbf30524668c36880c0099d3cc7eec0d77

See more details on using hashes here.

Release history Release notifications | RSS feed

0.8.1

2 files

This release

0.8.0 This release

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

0.6.1

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