This release is a pre-release and may not be stable for production use.
💡 赛博灯泡 / 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. |
-V, --V, --version-h, --help |
无 / None | 显示版本或命令帮助。 / Show version or 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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
File details
Details for the file cyber_bulb-0.3.1b1.tar.gz.
File metadata
- Download URL: cyber_bulb-0.3.1b1.tar.gz
- Upload date:
- Size: 98.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09af62f116c27795c013815ab3073b2dbe89b33a57ab7da75e7c1dbd37fcbb95
|
|
| MD5 |
0a293b841146cf21616046a149cec16b
|
|
| BLAKE2b-256 |
e585582781cf565262625358fee03e0b97f8c1ece979db550e50be3e86659477
|
Provenance
The following attestation bundles were made for cyber_bulb-0.3.1b1.tar.gz:
Publisher:
publish.yml on VincentZyuApps/cyber-bulb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cyber_bulb-0.3.1b1.tar.gz -
Subject digest:
09af62f116c27795c013815ab3073b2dbe89b33a57ab7da75e7c1dbd37fcbb95 - Sigstore transparency entry: 2678587699
- Sigstore integration time:
-
Permalink:
VincentZyuApps/cyber-bulb@44dbd2f6ccfac7c0287bc6518099762d663bccbb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/VincentZyuApps
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@44dbd2f6ccfac7c0287bc6518099762d663bccbb -
Trigger Event:
push
-
Statement type:
File details
Details for the file cyber_bulb-0.3.1b1-py3-none-any.whl.
File metadata
- Download URL: cyber_bulb-0.3.1b1-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1582b44a06bbc874ac16d237d02f7f66c720ec51a6c4fd55a1c4e39c17e2363
|
|
| MD5 |
7e89010a02859e17861134d7635ce391
|
|
| BLAKE2b-256 |
7662a893b85868a8354d65415afa9ee63efc069ccc168841061571899e5f05cb
|
Provenance
The following attestation bundles were made for cyber_bulb-0.3.1b1-py3-none-any.whl:
Publisher:
publish.yml on VincentZyuApps/cyber-bulb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cyber_bulb-0.3.1b1-py3-none-any.whl -
Subject digest:
d1582b44a06bbc874ac16d237d02f7f66c720ec51a6c4fd55a1c4e39c17e2363 - Sigstore transparency entry: 2678587726
- Sigstore integration time:
-
Permalink:
VincentZyuApps/cyber-bulb@44dbd2f6ccfac7c0287bc6518099762d663bccbb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/VincentZyuApps
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@44dbd2f6ccfac7c0287bc6518099762d663bccbb -
Trigger Event:
push
-
Statement type: