Skip to main content

cm_picker

《计算概论C》课堂随机点名、分组、抽奖和座位表工具。

安装

pip install cm_picker

示例

import cm_picker

names = ['张三', '李四', '王五', '赵六', '钱七', '孙八']

print(cm_picker.pick_one(names))
print(cm_picker.group_by_count(names, 2))
print(cm_picker.lucky_draw(names, ['一等奖', '二等奖']))

chart = cm_picker.make_exam_seating_chart(names, rows=2, cols=3)
cm_picker.save_result(chart, '座位表.csv')

这个库适合在学完列表、随机数、循环之后使用。库负责随机策略和表格保存,学生仍然需要自己准备名单、设计交互和展示结果。

Metadata

Release files for cm-picker 1.0.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 cm-picker 1.0.0
File Size Uploaded Provenance Actions
cm_picker-1.0.0.tar.gz 3.1 kB Without provenance Details for cm_picker-1.0.0.tar.gz

Release files / cm_picker-1.0.0.tar.gz

Download URL cm_picker-1.0.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
66ea12059c84ea500a12dd12cb6efa6a5e09138b72cfa79de02e86b464d6c00b
BLAKE2b-256 checksum
How to use checksums
5b13065816fb23463d8bc4fcba16ab541ef7f0766e243d080fdd1ad653f62d97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Security for cm-picker 1.0.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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file 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