abckkf321/-mcd-fair-split

No repository description was reported by the source.

Open original source ↗

Older snapshot: check the original source for current information.

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

一起点餐,按各自吃的分账。 有人只喝了一杯饮料,有人分走套餐里的汉堡,鸡块大家一起吃。一张订单里的优惠和配送费该怎么算?麦麦公平账先整理餐品归属和大家同意的规则,再算出每人应付多少,并列出计算明细。 当前版本 0.1.2。Python 3.10+,只用标准库。可独立运行命令行,也可作为 Skill 使用。独立开发,非麦当劳官方产品。 用浏览器打开 exports/demo.html,可以展开每个人的金额来源,查看优惠换一种分法后的差额。示例中的人员、价格、优惠和支付均为合成数据。 四人示例合计 88 元,当前规则下的结果为: 另外两个例子:--demo bundle 演示两人按 2:1 拆套餐,--demo onecent 演示一分钱的尾分处理。 在支持 SKILL.md 的客户端中,将完整目录导入技能目录并启用;scripts、references 和 assets 都需要保留。启用后可以说: 退款、多人垫付、已有转账追踪和在线认领尚未支持。结算页提供转账建议,不执行付款或核验到账。 在 麦当劳 MCP 平台 申请 Token,通过客户端的安全连接设置,或本地进程环境变量 MCDMCPTOKEN 提供。真实凭证不要写进仓库、命令行参数或分享材料。配置示例里的环境变量占位符需要客户端支持变量替换。 probe 只检查连接。需要找近期订单时使用 orders;已有订单号可直接使用 order。 导入前,分别核实总额和配送费字符串的单位。如果两者均已确认为元: 确认是分的字段使用 fen。总额与配送费可以使用不同单位;省略 --delivery-unit 时配送费保持待确认。打包费和餐具费按官方字段声明的元转换。不要根据数值大小选择单位。 草稿还需要补齐餐品金额、认领和优惠范围。按 账单格式 整理,经用户同意后设置 rulesconfirmed=true、清空 unresolved,再运行: 如需比较优惠分法,在 solve 后加 --compare equal 或 --compare proportional。比较只生成候选结果,仍需重新确认。 private 目录用于存放自己的订单与账本,不要上传。导出前也请核对昵称是否适合分享。…

abckkf321/-mcd-fair-split on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-10-29T12:26:27.965Z

Inside the original README — Document outline
  1. 麦麦公平账 · McFairSplit
  2. 先跑一个例子
  3. 能处理哪些账
  4. 接入自己的订单
  5. 金额为什么需要核对
  6. 检查与验证
  7. 参赛文件

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Documentation belongs to its respective authors. Reported project/model license: Other. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

The source does not provide a repository description. Read the project README before evaluating it.

Repository facts

Owner
abckkf321
Primary language
Python
Stars
262
Forks
12
Open issues + pull requests
0
License
Other
Archived
No
Default branch
main
Created
2026-10-23T14:51:37.000Z
Last push
2026-10-24T11:35:46.000Z

Topics and intended use

No topics were included in the latest source metadata.

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-10-30T12:16:30.730Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

public-apis/public-apis

EbookFoundation/free-programming-books

donnemartin/system-design-primer

vinta/awesome-python

practical-tutorials/project-based-learning

NousResearch/hermes-agent