generator_zadan
Utworzone na użytek własny. Licencja poniżej.
Pakiet generator_zadan zawiera zdefiniowane funkcje generujące różnego typu zadania dla studentów pierwszego roku uczelni technicznej.
Wszystkie funkcje generujące oparte są na losowo generowanych danych, by uzyskać maksymalną różnorodność w zakresie danego typu zadania.
Zadania mają mieć eleganckie parametry i wyniki mają być przyjazne dla człowieka.
Z biegiem czasu pewnie będzie więcej typów.
Instalacja
Wymagana wersja python==3.11
pip install generator_zadan
lub (nawet lepsze, bo od razu można generować zestawy)
git clone https://github.com/DyonOylloug/generator_zadan
cd generator_zadan
pip install .
Jak to działa?
Funkcje zwracają zadanie w formacie krotki składającej się z dwóch części:
- Polecenie w formacie
LaTeX - Rozwiązanie w formacie
LaTeX(może zawierać obrazy)
Np.
import generator_zadan.generatory as gz
zadanie = gz.rownanie_prostej()
zadanie
('Wyznaczyć równanie prostej przechodzącej przez punkty\n\t\\[\n\t\tP_1 = (5, 5, 3), \\quad P_2 = (2, -1, 5).\n\t\\]\n\tObliczyć odległość wyznaczonej prostej od punktu\n\t\\[\n\t\tP_3 = (5, 2, 1).\n\t\\]',
'$l\\colon \\frac{x - 5}{-3}= \\frac{y - 5}{-6}= \\frac{z - 3}{2}; \\qquad d(P_3,l) = 3$')
W bardziej czytelnej postaci wygląda to następująco
print(zadanie[0]) # pierwszy element to polecenie
print('-'*80) # oddzielenie części
print(zadanie[1]) # drugi element to rozwiązanie
Wyznaczyć równanie prostej przechodzącej przez punkty
\[
P_1 = (5, 5, 3), \quad P_2 = (2, -1, 5).
\]
Obliczyć odległość wyznaczonej prostej od punktu
\[
P_3 = (5, 2, 1).
\]
--------------------------------------------------------------------------------
$l\colon \frac{x - 5}{-3}= \frac{y - 5}{-6}= \frac{z - 3}{2}; \qquad d(P_3,l) = 3$
Docelowa forma wygląda następująco
Zadanie
Wyznaczyć równanie prostej przechodzącej przez punkty
$$ P_1 = (5, 5, 3), \quad P_2 = (2, -1, 5).$$
Obliczyć odległość wyznaczonej prostej od punktu
$$ P_3 = (5, 2, 1).$$
Rozwiązanie
$$l\colon \frac{x - 5}{-3}= \frac{y - 5}{-6}= \frac{z - 3}{2}; \qquad d(P_3,l) = 3$$
I to w zasadzie tyle. Więcej przykładów w odpowiednich sekcjach tematyczynych dokumentacji.
W sekcji Generuj zestaw zadań po uruchomieniu interaktywnej sesji notebooka można wygenerować swój zestaw.
Dokumentacja
- Dokumentacja na stronie readthedocs.
Contributing
Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.
License
generator_zadan was created by Adam Bohonos. It is licensed under the terms of the MIT license.
Credits
generator_zadan was created with cookiecutter and the py-pkgs-cookiecutter template.
Metadata
Release files for generator_zadan 0.2.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| generator_zadan-0.2.11.tar.gz | 3.2 MB | Without provenance | Details for generator_zadan-0.2.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| generator_zadan-0.2.11-py3-none-any.whl | Python 3 | none | any | Details for generator_zadan-0.2.11-py3-none-any.whl |
Total release size: 6.6 MB
Release files / generator_zadan-0.2.11.tar.gz
| Download URL | generator_zadan-0.2.11.tar.gz |
|---|---|
| Size | 3.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ff58f8737d62c4c1290fc3662269b26868e821bfccde1a3aa0661be2233a5840
|
|
BLAKE2b-256 checksum How to use checksums |
f2cb095b5593467b768b28a652d43420c8c7cdcb13377c2f5525c9875d643755
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.5 Windows/10
|
Release files / generator_zadan-0.2.11-py3-none-any.whl
| Download URL | generator_zadan-0.2.11-py3-none-any.whl |
|---|---|
| Size | 3.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3069ea8101b7304246b1c1e89544450a95904e2d0e8fc2f290e1bfed7ac6a2e1
|
|
BLAKE2b-256 checksum How to use checksums |
a6b1f2c598ccb9a7e60bed0b0e0d1b289e22e009b184bd72bbd5b8e2cdd94786
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.5 Windows/10
|
Security for generator_zadan 0.2.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.