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/ 中追加一批示例记录,并启动图形化浏览器。

更多内容:

Metadata

Release files for logqbit 0.8.1

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

Source distribution (sdist)

Source distribution for logqbit 0.8.1
File Size Uploaded Provenance
logqbit-0.8.1.tar.gz 110.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for logqbit 0.8.1
File Interpreter ABI Platform
logqbit-0.8.1-py3-none-any.whl Python 3 none any Details

Total release size: 202.2 kB

Release files / logqbit-0.8.1.tar.gz

Download URL logqbit-0.8.1.tar.gz
Size 110.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4e99e38978e0ad42d7e030954c9f493831104ceb739605f20eef38595ecbdf79
BLAKE2b-256 checksum
How to use checksums
605345c67682a2197d958954b5fa6bd3cd4ceac693eafb30aedc99afcabfb487
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","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}

Release files / logqbit-0.8.1-py3-none-any.whl

Download URL logqbit-0.8.1-py3-none-any.whl
Size 92.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
762d241e003c17482d16f97e0b13f0fe93ef529bb2730130316128aa0ae80a75
BLAKE2b-256 checksum
How to use checksums
289eb9da4a358c54135d4c689ca707895eb29d7c2231b9a0557f2dcd407e35ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","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}

Security for logqbit 0.8.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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