Name | problemator JSON |
Version |
1.2.0
JSON |
| download |
home_page | https://github.com/DedInc/problemator |
Summary | WolframAlpha's Unlimited AI-generated practice problems and answers API wrapper. |
upload_time | 2023-06-21 17:31:52 |
maintainer | |
docs_url | None |
author | Maehdakvan |
requires_python | >=3.0 |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<h1 align="center">problemator - WolframAlpha's Unlimited AI-generated practice problems and answers API wrapper.</h1>
<br>
<h1 align="center"> -How to use- </h1>
```python
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
```
Raw data
{
"_id": null,
"home_page": "https://github.com/DedInc/problemator",
"name": "problemator",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.0",
"maintainer_email": "",
"keywords": "",
"author": "Maehdakvan",
"author_email": "visitanimation@google.com",
"download_url": "https://files.pythonhosted.org/packages/9e/bf/8ae85e770bbef22531cbb2d36a75844027f1b70543ea5871a68fcfd37913/problemator-1.2.0.tar.gz",
"platform": null,
"description": "<h1 align=\"center\">problemator - WolframAlpha's Unlimited AI-generated practice problems and answers API wrapper.</h1>\r\n\r\n<br>\r\n\r\n<h1 align=\"center\"> -How to use- </h1>\r\n\r\n```python\r\nfrom problemator import Problemator\r\nfrom random import choice\r\n\r\np = Problemator() # Initialize\r\nprint(p.categories) # See categories\r\n\r\ncategory = p.get_category(0) # Get Addition\r\n\r\n# LVL: 0 - Beginner; 1 - Intermediate; 2 - Advanced\r\n# Count - Number of problems\r\n# type - Category\r\nproblem = p.generate_problem(lvl=0, type=category) # Generate a problem\r\n\r\nprint(problem['text']) # Text of the problem\r\nprint(problem['image']) # Image of the problem\r\nprint(problem['difficulty']) # Difficulty of the problem\r\n\r\nresult = p.check_problem(problem, 'x+5') # Check problem, where x+5 - answer\r\nprint(result['correct']) # True or False\r\nprint(result['attempt']) # Image of the Attempt\r\nprint(result['hint']) # Image of the Hint\r\nprint(result['solution']) # Image of the Solution\r\n```\r\n",
"bugtrack_url": null,
"license": "",
"summary": "WolframAlpha's Unlimited AI-generated practice problems and answers API wrapper.",
"version": "1.2.0",
"project_urls": {
"Bug Tracker": "https://github.com/DedInc/problemator/issues",
"Homepage": "https://github.com/DedInc/problemator"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "882476875cc559560b3bb2d22056093f467202931e248b743c793f2c974e3443",
"md5": "80bb2efda70893d7339034b158d753cb",
"sha256": "33d7b188c42b428473a02b3570390b3bafe6076c31051c2e8fde040bc497f7f1"
},
"downloads": -1,
"filename": "problemator-1.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "80bb2efda70893d7339034b158d753cb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.0",
"size": 4120,
"upload_time": "2023-06-21T17:31:50",
"upload_time_iso_8601": "2023-06-21T17:31:50.469196Z",
"url": "https://files.pythonhosted.org/packages/88/24/76875cc559560b3bb2d22056093f467202931e248b743c793f2c974e3443/problemator-1.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9ebf8ae85e770bbef22531cbb2d36a75844027f1b70543ea5871a68fcfd37913",
"md5": "4c75ca98720b437d43a6130a4a494360",
"sha256": "b7c5761485532a2c642b966a9d6aca8d57790b388211dbab508e81bec9a554fe"
},
"downloads": -1,
"filename": "problemator-1.2.0.tar.gz",
"has_sig": false,
"md5_digest": "4c75ca98720b437d43a6130a4a494360",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.0",
"size": 3807,
"upload_time": "2023-06-21T17:31:52",
"upload_time_iso_8601": "2023-06-21T17:31:52.073571Z",
"url": "https://files.pythonhosted.org/packages/9e/bf/8ae85e770bbef22531cbb2d36a75844027f1b70543ea5871a68fcfd37913/problemator-1.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-21 17:31:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "DedInc",
"github_project": "problemator",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "problemator"
}