LogQbit
LogQbit 是一个面向实验室场景的轻量数据记录工具包,适合记录中小规模实验数据。
它的核心设计目标是:
- 用简单的接口记录和管理实验数据。
- 基于目录的实验数据组织,用通用可读的格式储存数据。
完整文档见: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
此功能需要安装 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.7.tar.gz
(99.4 kB
view details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
logqbit-0.7.0-py3-none-any.whl
(85.1 kB
view details)
logqbit-0.7-py3-none-any.whl
(84.8 kB
view details)
File details
Details for the file logqbit-0.7.tar.gz.
File metadata
- Download URL: logqbit-0.7.tar.gz
- Upload date:
- Size: 99.4 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86955e3aff32a2dc78d6a11ff38e6e3095c9c6dc77e5c470610789b7ceab379c
|
|
| MD5 |
3c8fe9ec886c3441942e0f8bfc9e86f7
|
|
| BLAKE2b-256 |
cfafcfea16fe7acb784a69df714e880c7fe248d3f0fb54b7fa53d6ef08e5b5d5
|
File details
Details for the file logqbit-0.7.0-py3-none-any.whl.
File metadata
- Download URL: logqbit-0.7.0-py3-none-any.whl
- Upload date:
- Size: 85.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77edcec20441e0c0f4e5879e96811e43df063a32c27f9582fd9cff3723412f9b
|
|
| MD5 |
bfbdca8bb99dc603e922585ac119dfd4
|
|
| BLAKE2b-256 |
0976d76139dc36a629dd6ff2c6a542ea104027cb5915bbf74117808a9a6af9f7
|
File details
Details for the file logqbit-0.7-py3-none-any.whl.
File metadata
- Download URL: logqbit-0.7-py3-none-any.whl
- Upload date:
- Size: 84.8 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
716811cc5ed4238fa831b0464cf9fc107d0899ad137123b2425e7b50db1c6c95
|
|
| MD5 |
71a5b9fb0b22eb79c6400d0d49bcb1ac
|
|
| BLAKE2b-256 |
4d3b80dfe6f6f0f40e7ae384f7b9623b0caa4e9f69f791d8ed42dd2b993aa98f
|