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/
Metadata
Release files for genepy 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| genepy-1.0.1.tar.gz | 8.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| genepy-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.0 kB
Release files / genepy-1.0.1.tar.gz
| Download URL | genepy-1.0.1.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dee03107aaa057e3a2654ee9be0bc53410ca90704e7af2ebe27163e8363e2b6c
|
|
BLAKE2b-256 checksum How to use checksums |
9484568c5fa7eb484b7286dfdff1c87b543da08415edfba50de8aabbe3deb269
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / genepy-1.0.1-py3-none-any.whl
| Download URL | genepy-1.0.1-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a0510bae46b9909db673783a3bc1a2755e0ee7ee44eb231f86fcd46a17a88aff
|
|
BLAKE2b-256 checksum How to use checksums |
b43944ccae5828d46a35ea7b75c5f70934ab1007c0a876bb01b35a1ba45d5032
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|