A framework for exam and assignment generation using LaTeX and pythontex
Project description
pygacity
A Python package to enable high-throughput generation of problems suitable for exams and problem sets for thermodynamics courses
You may have learned how to use Python to solve thermodynamics problems, like equilibrium compositions for a reacting system, or phase compositions in vapor-liquid equilibrium. Pygacity takes this idea and uses Python to generate new problems. The problems are generated in such a way that they can be typeset into PDF's using LaTeX. Pygacity relies on the pythontex package in LaTeX to allow Python code to run during document compilation and results of those calculations automatically included in the document.
Installation
Pygacity can be installed from Pypi the usual way:
pip install pygacity
Pygacity is under active development. To install a bleeding edge version:
git clone git@github.com:cameronabrams/pygacity.git
cd pygacity
pip install -e .
Pygacity includes the LaTeX class file autoprob.cls under [INSTALL-DIR]/pygacity/resources/autoprob-package/tex/latex/. All latex-like commands that are managed by pygacity append this directory in a --include-directory argument. If you would like to use autoprob.cls outside of pygacity, you will need to make your LaTeX installation aware of autoprob-package root.
Meta
Cameron F. Abrams – cfa22@drexel.edu
Distributed under the MIT license. See LICENSE for more information.
https://github.com/cameronabrams
Contributing
- Fork it (https://github.com/cameronabrams/pygacity/fork)
- Create your feature branch (
git checkout -b feature/fooBar) - Commit your changes (
git commit -am 'Add some fooBar') - Push to the branch (
git push origin feature/fooBar) - Create a new Pull Request
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
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 pygacity-0.10.2.tar.gz.
File metadata
- Download URL: pygacity-0.10.2.tar.gz
- Upload date:
- Size: 759.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34dbd9125c0f363b3f267289607bcf5673e0d89c87dd62372836670d51dc6534
|
|
| MD5 |
be795ef41afd5fd24d6344412218f7d2
|
|
| BLAKE2b-256 |
7b6d82e8b59e518ede75889ebd796f18f34d36dcac5dd48a60513c190a7dc957
|
Provenance
The following attestation bundles were made for pygacity-0.10.2.tar.gz:
Publisher:
release.yaml on cameronabrams/pygacity
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pygacity-0.10.2.tar.gz -
Subject digest:
34dbd9125c0f363b3f267289607bcf5673e0d89c87dd62372836670d51dc6534 - Sigstore transparency entry: 1097475073
- Sigstore integration time:
-
Permalink:
cameronabrams/pygacity@d4c30ed987562507c0317dd99efa7ef667575121 -
Branch / Tag:
refs/tags/v0.10.2 - Owner: https://github.com/cameronabrams
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@d4c30ed987562507c0317dd99efa7ef667575121 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pygacity-0.10.2-py3-none-any.whl.
File metadata
- Download URL: pygacity-0.10.2-py3-none-any.whl
- Upload date:
- Size: 77.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f89d607cae6c6c8be084bb28ee0e2ef89a0fdb395a12b0fbcd022add0b3e9222
|
|
| MD5 |
4967c67a3fa7c388afc5c207368e9f9e
|
|
| BLAKE2b-256 |
14c55fa848888d320e315c35e4876017af13abde6e4fa5fb93cbd3a3f602722f
|
Provenance
The following attestation bundles were made for pygacity-0.10.2-py3-none-any.whl:
Publisher:
release.yaml on cameronabrams/pygacity
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pygacity-0.10.2-py3-none-any.whl -
Subject digest:
f89d607cae6c6c8be084bb28ee0e2ef89a0fdb395a12b0fbcd022add0b3e9222 - Sigstore transparency entry: 1097475143
- Sigstore integration time:
-
Permalink:
cameronabrams/pygacity@d4c30ed987562507c0317dd99efa7ef667575121 -
Branch / Tag:
refs/tags/v0.10.2 - Owner: https://github.com/cameronabrams
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@d4c30ed987562507c0317dd99efa7ef667575121 -
Trigger Event:
push
-
Statement type: