💡 赛博灯泡 / Cyber Bulb
一个使用 PyQt5 编写的七段数码管时钟,支持三种外观、响应式控制和多种段级动画。 / A PyQt5 seven-segment clock with three styles, responsive controls, and segment-level animations.
本仓库同时也是使用 uv 管理 Python 项目并通过 GitHub Actions 发布至 PyPI 的参考模板。 / This repository is also a reference template for managing a Python project with uv and publishing it to PyPI through GitHub Actions.
🖼️ 运行预览 / Preview
☀️ 白天模式 / Light Mode
🌙 夜晚模式 / Dark Mode
📦 从 PyPI 安装 / Install from PyPI
uv venv
uv pip install cyber-bulb
uv run cyber-bulb
🛠️ 从源码运行 / Run from Source
uv sync
uv run cyber-bulb
⚙️ 运行参数 / Runtime Options
| 参数 / Option | 默认值 / Default | 说明 / Description |
|---|---|---|
--theme {system,light,dark} |
system |
设置初始主题模式。 / Set the initial theme mode. |
--segment-style {classic,rounded,outline} |
classic |
设置数码管外观。 / Set the segment style. |
--digit-animation {none,afterglow,pulse,scan,wave,glitch} |
afterglow |
设置数字动画。 / Set the digit animation. |
--colon-animation {none,blink,pulse,double,alternate} |
blink |
设置冒号动画。 / Set the colon animation. |
--no-theme-transition, --no-style-transition |
关闭 / Off | 分别禁用主题或外观渐变。 / Disable theme or style transitions. |
--width, --height <像素 / pixels> |
777 × 666 |
设置初始窗口尺寸。 / Set the initial window dimensions. |
-h, --help |
无 / None | 显示命令帮助。 / Show command help. |
📚 uv 官方安装文档 / Official uv Installation Guide
uv还是太好用了,已经不用pyenv了,推荐使用。 / uv works so well that I no longer use pyenv. Highly recommended.
https://docs.astral.sh/uv/getting-started/installation/
⚡ uv 自动安装并换源 / Automated uv Installation and Mirror Setup
一键安装uv并配置镜像源,非常推荐。 / Install uv and configure a package mirror in one step. Highly recommended.
Metadata
Release files for cyber-bulb 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cyber_bulb-0.3.0.tar.gz | 96.5 kB | With provenance | Details for cyber_bulb-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cyber_bulb-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for cyber_bulb-0.3.0-py3-none-any.whl |
Total release size: 115.3 kB
Release files / cyber_bulb-0.3.0.tar.gz
| Download URL | cyber_bulb-0.3.0.tar.gz |
|---|---|
| Size | 96.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74fc53e51fcba6efad2f9e9dd71283e57b4a2807c18cf85b2f80dc50b42377af
|
|
BLAKE2b-256 checksum How to use checksums |
38c930d4b79e9246db813fc728ed7005594de68c9e4eb79c2caa3b6ff7d54e6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.
Transparency logRelease files / cyber_bulb-0.3.0-py3-none-any.whl
| Download URL | cyber_bulb-0.3.0-py3-none-any.whl |
|---|---|
| Size | 18.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4f83cd163bf9c0b69d64e86eb916a4adcfb781e21999a2788e3ec7af530861f
|
|
BLAKE2b-256 checksum How to use checksums |
8ff6bd124e3ad9ee3dd0a5d852a5a558e8f81db503040f7ffa50ae52acd41a0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.
Transparency logSecurity for cyber-bulb 0.3.0
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for cyber_bulb-0.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.
Transparency logA 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.