cm_quiz
选择题、填空题、判分和错题记录工具。
pip install cm_quiz
import cm_quiz
q1 = cm_quiz.choice_question('Python 中列表用什么括号?', ['[]', '{}', '()'], '[]')
q2 = cm_quiz.blank_question('床前明月光,疑是___。', '地上霜')
questions = [q1, q2]
answers = ['A', '地上霜']
result = cm_quiz.grade(questions, answers)
print(result['score'], '/', result['total'])
print(cm_quiz.wrong_book(result))
Metadata
Release files for cm-quiz 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cm_quiz-1.0.0.tar.gz | 2.8 kB | Without provenance | Details for cm_quiz-1.0.0.tar.gz |
Release files / cm_quiz-1.0.0.tar.gz
| Download URL | cm_quiz-1.0.0.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0715cebdb0f3392e24d73069b9d40d93fc5e7c44f4e65037945ebb668732d0d6
|
|
BLAKE2b-256 checksum How to use checksums |
5188dda471ebcdbc2b40bc185cfd3f99561103b82047c3201355ca01531c7fc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Security for cm-quiz 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.