No description
- Python 100%
| .gitignore | ||
| genepy.py | ||
| pyproject.toml | ||
| README.md | ||
Genepy CLI
This is the genepy.org command line client.
Howto
First create an account on https://genepy.org.
Install genepy:
pip install genepy
Get some work to do:
genepy get
This will create a file, like fix-indentation-113.py, just edit the
file with your favorite code editor, then check your file:
genepy check fix-indentation-113.py
For teachers
You can use the genepy client to synchronize your exercises with a
local directory, allowing you to edit them locally, run tests on them,
backup them, or even version them using git.
$ genepy pull --page nsi
$ tree nsi
nsi
├── distance
│ ├── check.py
│ ├── initial_solution.py
│ ├── meta
│ ├── wording_en.md
│ └── wording_fr.md
└── print-42
├── check.py
├── initial_solution.py
├── meta
├── wording_en.md
└── wording_fr.md
3 directories, 10 files
$ genepy -v push
INFO:genepy:[fr] Uploading 'Print 42'
INFO:genepy:[en] Uploading 'Print 42'
INFO:genepy:[fr] Uploading 'Distance'
INFO:genepy:[en] Uploading 'Distance'
That's what I use to work on the main exercise set, with unit tests and all, here: https://git.afpy.org/mdk/genepy-exercises/