Skip to main content

Mostx : Quiz Generator

import mostx

print(sorted(mostx.get_available_langs()))
# => ['chinese', 'english', 'japanese', 'korean', ]

qgen = mostx.QuizGenerator(lang='english')
q = qgen.generate(choices='ABC', n_adjectives=1)

for s in q.statements:
    print(s)
# B is quieter than A
# C is quieter than A
# B is quieter than C
print(q.question)  # => Which is the noisiest?
print(tuple(q.choices))  # => ('A', 'B', 'C')
print(q.answer)  # => A

Metadata

Release files for mostx 0.1.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 mostx 0.1.0
File Size Uploaded Provenance Actions
mostx-0.1.0.tar.gz 3.9 kB Without provenance Details for mostx-0.1.0.tar.gz

Release files / mostx-0.1.0.tar.gz

Download URL mostx-0.1.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0c77ecf0af148e6f96b4cbcb1243725db363d7464445892c47cbcd7825c6c77b
BLAKE2b-256 checksum
How to use checksums
d418f31161746008164270cf207d09b0e237a7825029647aab1e43f9e01702a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.1

Security for mostx 0.1.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.

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