Skip to main content

baocan-cli

柏慧通报餐系统智能配菜 CLI 工具

功能特性

  • 查询功能:查询菜品信息、分类、热门菜品、餐厅列表等
  • 发布功能:发布菜谱、更新菜品信息
  • 统计功能:统计发布状态、发布历史
  • 配置管理:管理 API 配置、登录认证

安装

pip install baocan-cli

或从源码安装:

pip install git+https://gitlab.bhuitong.com/bhtskills/baocan-skill.git#subdirectory=baocan-cli

快速开始

登录

baocan login

查询菜品

baocan dish list

发布菜谱

baocan publish

命令列表

  • baocan login - 登录到报餐系统
  • baocan logout - 退出登录
  • baocan config - 查看/设置配置
  • baocan dish - 查询菜品信息
  • baocan category - 查询菜品分类
  • baocan popular - 查询热门菜品
  • baocan restaurant - 查询餐厅列表
  • baocan publish - 发布菜谱
  • baocan add-dish - 添加菜品
  • baocan update-dish - 更新菜品
  • baocan status - 查看发布状态

开发

安装开发依赖

pip install -e ".[dev]"

运行测试

pytest

许可证

MIT License

支持

如有问题,请联系开发团队或提交 Issue。

Metadata

Release files for baocan-cli 0.3.0

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

Source distribution (sdist)

Source distribution for baocan-cli 0.3.0
File Size Uploaded Provenance
baocan_cli-0.3.0.tar.gz 18.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for baocan-cli 0.3.0
File Interpreter ABI Platform
baocan_cli-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 41.6 kB

Release files / baocan_cli-0.3.0.tar.gz

Download URL baocan_cli-0.3.0.tar.gz
Size 18.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3c087c6e11cc6d289352fcb24b8f878c79d17cacfbda39933301de41314d8759
BLAKE2b-256 checksum
How to use checksums
42b5a741877bdc54d0a50ba64c6068a8d6f4a3e4b907b0c3bbafb889e1543c98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / baocan_cli-0.3.0-py3-none-any.whl

Download URL baocan_cli-0.3.0-py3-none-any.whl
Size 23.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
89efabcff6205528f94e1e23cf94ad2ef96c6931af3f49afd1066211c569fe26
BLAKE2b-256 checksum
How to use checksums
f0dd54a2fa3c8ff94bda6cc1d148cd69c2e343edee43049d4d1039d6af24c89f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Security for baocan-cli 0.3.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files No provenance

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