Skip to main content

problemator - WolframAlpha's Unlimited AI-generated practice problems and answers API wrapper.


-How to use-

from problemator import Problemator
from random import choice

p = Problemator()  # Initialize
print(p.categories)  # See categories

category = 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 problem

print(problem['text'])  # Text of the problem
print(problem['image'])  # Image of the problem
print(problem['difficulty'])  # Difficulty of the problem

result = 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

Metadata

Release files for problemator 1.2.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 problemator 1.2.0
File Size Uploaded
problemator-1.2.0.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for problemator 1.2.0
File Interpreter ABI Platform
problemator-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / problemator-1.2.0.tar.gz

Download URL problemator-1.2.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b7c5761485532a2c642b966a9d6aca8d57790b388211dbab508e81bec9a554fe
BLAKE2b-256 checksum
How to use checksums
9ebf8ae85e770bbef22531cbb2d36a75844027f1b70543ea5871a68fcfd37913
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / problemator-1.2.0-py3-none-any.whl

Download URL problemator-1.2.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33d7b188c42b428473a02b3570390b3bafe6076c31051c2e8fde040bc497f7f1
BLAKE2b-256 checksum
How to use checksums
882476875cc559560b3bb2d22056093f467202931e248b743c793f2c974e3443
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

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