Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

💡 赛博灯泡 / Cyber Bulb

GitHub Gitee

PyPI 包版本 / Package Version 支持的 Python 版本 / Supported Python Versions PyQt5 版本 / PyQt5 Version

一个使用 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

赛博灯泡动画演示 / Cyber Bulb animated demo

☀️ 白天模式 / Light Mode

赛博灯泡白天模式 / Cyber Bulb light mode

🌙 夜晚模式 / Dark Mode

赛博灯泡夜晚模式 / Cyber Bulb 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.

https://gitee.com/wangnov/uv-custom/releases

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cyber_bulb-0.3.1b1.tar.gz (98.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cyber_bulb-0.3.1b1-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

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

Hashes for cyber_bulb-0.3.1b1.tar.gz
Algorithm Hash digest
SHA256 09af62f116c27795c013815ab3073b2dbe89b33a57ab7da75e7c1dbd37fcbb95
MD5 0a293b841146cf21616046a149cec16b
BLAKE2b-256 e585582781cf565262625358fee03e0b97f8c1ece979db550e50be3e86659477

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyber_bulb-0.3.1b1.tar.gz:

Publisher: publish.yml on VincentZyuApps/cyber-bulb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for cyber_bulb-0.3.1b1-py3-none-any.whl
Algorithm Hash digest
SHA256 d1582b44a06bbc874ac16d237d02f7f66c720ec51a6c4fd55a1c4e39c17e2363
MD5 7e89010a02859e17861134d7635ce391
BLAKE2b-256 7662a893b85868a8354d65415afa9ee63efc069ccc168841061571899e5f05cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyber_bulb-0.3.1b1-py3-none-any.whl:

Publisher: publish.yml on VincentZyuApps/cyber-bulb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.3.1b1 This release

2 files

0.3.0

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