Skip to main content

💡 赛博灯泡 / Cyber Bulb

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

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

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.0.tar.gz (96.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.0-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file cyber_bulb-0.3.0.tar.gz.

File metadata

  • Download URL: cyber_bulb-0.3.0.tar.gz
  • Upload date:
  • Size: 96.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.0.tar.gz
Algorithm Hash digest
SHA256 74fc53e51fcba6efad2f9e9dd71283e57b4a2807c18cf85b2f80dc50b42377af
MD5 a54ebcde38b96123a6897a620beacea3
BLAKE2b-256 38c930d4b79e9246db813fc728ed7005594de68c9e4eb79c2caa3b6ff7d54e6f

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyber_bulb-0.3.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: cyber_bulb-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 18.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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4f83cd163bf9c0b69d64e86eb916a4adcfb781e21999a2788e3ec7af530861f
MD5 1e57e0b145c7086f0c96b076e350578f
BLAKE2b-256 8ff6bd124e3ad9ee3dd0a5d852a5a558e8f81db503040f7ffa50ae52acd41a0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyber_bulb-0.3.0-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.0 This release

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