Skip to main content

DeepSeek Balance Monitor for Mac

一个面向 macOS 的 DeepSeek 余额监控菜单栏应用。

它会常驻菜单栏,帮助你快速查看余额、今日消耗、日均消耗和服务状态,并在余额不足或消耗异常时提醒你。

下载最新版本

项目定位

  • mac 原生菜单栏应用
  • 原生设置窗口
  • 原生历史记录窗口
  • 支持源码运行
  • 支持打包 .app
  • 支持打包 .dmg

当前仓库聚焦 mac 产品线,后续优先围绕 mac 版本持续演进。

主要功能

  • 查询 DeepSeek API 余额
  • 显示人民币 / 美元余额
  • 显示今日消耗
  • 显示日均消耗
  • 显示服务状态
  • 低余额提醒
  • 今日消耗阈值提醒
  • 本地 SQLite 历史记录
  • CSV 导出
  • 本地安全存储 API Key

界面预览

菜单栏主界面:

菜单栏主界面

设置窗口:

设置窗口

低余额提醒:

低余额提醒

为什么值得用

  • 菜单栏常驻,打开电脑就能看到余额状态
  • 不用反复打开网页,查询路径更短
  • 支持低余额阈值提醒和日消耗提醒
  • 支持历史记录沉淀,方便回看消耗变化
  • 支持本地运行、.app 分发和 .dmg 安装
  • 已开源,可自行审查代码和二次开发

快速开始

建议先准备好 Python 3.11+ 环境,再安装项目依赖。

cd /path/to/DeepSeekBalanceMonitorForMac
uv pip install -e '.[build]'
python main.py

也可以这样启动:

python -m deepseek_balance_monitor_mac

常用开发命令

运行应用:

python main.py

运行测试:

python -m unittest tests.test_core

检查关键入口是否可编译:

python -m py_compile \
  main.py \
  src/deepseek_balance_monitor_mac/mac/main.py \
  src/deepseek_balance_monitor_mac/mac/settings.py

打包命令

打包 .app:

bash scripts/build_mac.sh

打包 .dmg:

bash scripts/build_dmg.sh

下载与安装

普通用户建议直接前往 GitHub Releases 下载:

  • .dmg:适合 mac 用户安装使用
  • .zip:适合手动解压体验

下载地址:

项目结构

DeepSeekBalanceMonitorForMac/
  main.py
  pyproject.toml
  README.md
  docs/
  scripts/
  src/
    deepseek_balance_monitor_mac/
      core/
      infra/
      mac/
      assets/
  tests/

更多说明见:

开源前建议

  • 确认代码和文档里没有真实 API Key
  • 不提交 build/、dist/、*.egg-info/、__pycache__/
  • 检查截图和示例数据中是否包含隐私信息
  • 推送前先完成一次基础测试和打包验证

许可证

本项目使用 MIT License。

Metadata

Release files for deepseek-balance-monitor-mac 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deepseek-balance-monitor-mac 0.1.6
File Size Uploaded
deepseek_balance_monitor_mac-0.1.6.tar.gz 2.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for deepseek-balance-monitor-mac 0.1.6
File Interpreter ABI Platform
deepseek_balance_monitor_mac-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 4.6 MB

Release files / deepseek_balance_monitor_mac-0.1.6.tar.gz

Download URL deepseek_balance_monitor_mac-0.1.6.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
37b92d3a71861bef498ac04755522b6627c85ad71ac16d110184aa54a24aefe3
BLAKE2b-256 checksum
How to use checksums
30d6fe6daca016f0363f73c9bb944a4c64420a7876f1741c2b21cee9bb773c38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 20, 2026.

Transparency log

Release files / deepseek_balance_monitor_mac-0.1.6-py3-none-any.whl

Download URL deepseek_balance_monitor_mac-0.1.6-py3-none-any.whl
Size 2.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7c0235bfe6393e5474869f0272c0d0bae4194611cb1d1bdfdcf48fc0b88c2f59
BLAKE2b-256 checksum
How to use checksums
b2d1edc645fbc145b4cb200ef19ae7c468e887a535e95d6cc2621afd1b65a190
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 20, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release 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