Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dedinc/problemator
WolframAlpha's Unlimited AI-generated practice problems and answers API wrapper.
https://github.com/dedinc/problemator
api-wrapper math mathematics python-wrapper python-wrapper-api wolfram-alpha wrapper-api
Last synced: 27 days ago
JSON representation
WolframAlpha's Unlimited AI-generated practice problems and answers API wrapper.
- Host: GitHub
- URL: https://github.com/dedinc/problemator
- Owner: DedInc
- License: mit
- Created: 2022-10-29T07:37:08.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-21T17:33:59.000Z (over 1 year ago)
- Last Synced: 2024-12-13T14:40:28.115Z (27 days ago)
- Topics: api-wrapper, math, mathematics, python-wrapper, python-wrapper-api, wolfram-alpha, wrapper-api
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
problemator - WolframAlpha's Unlimited AI-generated practice problems and answers API wrapper.
-How to use-
```python
from problemator import Problemator
from random import choicep = Problemator() # Initialize
print(p.categories) # See categoriescategory = p.get_category(0) # Get Addition
# LVL: 0 - Beginner; 1 - Intermediate; 2 - Advanced
# Count - Number of problems
# type - Category
problem = p.generate_problem(lvl=0, type=category) # Generate a problemprint(problem['text']) # Text of the problem
print(problem['image']) # Image of the problem
print(problem['difficulty']) # Difficulty of the problemresult = p.check_problem(problem, 'x+5') # Check problem, where x+5 - answer
print(result['correct']) # True or False
print(result['attempt']) # Image of the Attempt
print(result['hint']) # Image of the Hint
print(result['solution']) # Image of the Solution
```