WolframAlpha's Unlimited AI-generated practice problems and answers API wrapper.
Project description
problemator - WolframAlpha's Unlimited AI-generated practice problems and answers API wrapper.
-How to use-
from problemator import *
from random import choice
loadSession() # Initialize
print(getCategories()) # See categories
category = getCategory(0) # Get Addition
# LVL: 0 - Beginner; 1 - Intermediate; 2 - Advanced
# Count - Number of problems
# type - Category
problem = generateProblem(lvl=0, type=category) # Generate a problem
print(problem['text']) # Text of the problem
print(problem['image']) # Image of the problem
print(problem['difficulty']) # Difficulty of the problem
c = checkProblem(problem, 'x+5') # Check problem, where x+5 - answer
print(c['correct']) # True or False
print(c['hint']) # Image of the Hint
print(c['solution']) # Image of the Solution
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
problemator-1.0.5.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for problemator-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab9d04d20140454e2300688ea09a3d28ee78a2694bddafe521f083554568ff50 |
|
MD5 | d5cd9b84add06dca0ed5ff77980ecccd |
|
BLAKE2b-256 | 27afd4e25f7c578b1577c9bd8a91619c787a3b4f8086156526993d9471a67d0f |