Exercises for WSE applications
Project description
WSE Exercise Series
from wse_exercises.core.math import (
AddingExercise,
RandomOperandGenerator,
)
random_operand_generator = RandomOperandGenerator()
config = {
'min_value': 2,
'max_value': 9,
}
exercise = AddingExercise(
operand_generator=random_operand_generator,
config=config,
)
task = exercise.create_task()
print(f'{task.question.text = }')
print(f'{task.answer.text = }')
Install development mode
curl -SL https://install.python-poetry.org | python3 -
export PATH="$HOME/.local/bin:$PATH"
Dependencies
python = "^3.10" pydantic = ">=2.12.3,<3.0.0"
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
wse_exercises-0.5.0.tar.gz
(7.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wse_exercises-0.5.0.tar.gz.
File metadata
- Download URL: wse_exercises-0.5.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.13.5 Linux/6.12.48+deb13-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d2a91606c4209f83968580771c4b00459cb6857fd341203e87e96832a1d431d
|
|
| MD5 |
3a191797d46aea41b7da94fa7d61b99e
|
|
| BLAKE2b-256 |
d0c02ed766c5a4ca5c5c4acf4f2dbb7ee5742c82cc9d39684b732d980ea69d17
|
File details
Details for the file wse_exercises-0.5.0-py3-none-any.whl.
File metadata
- Download URL: wse_exercises-0.5.0-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.13.5 Linux/6.12.48+deb13-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96a5f7b4858257cf19ea39dfbc5d7127bdf30eb3e19b5daf45b3f022f779b74e
|
|
| MD5 |
10bfcdf8a13722390e74a0fbf6728225
|
|
| BLAKE2b-256 |
d5cb1cf811cd5ac719b488d0b987d2d0a97276f1419966a2f9c4c2ff2dab20c3
|