Metadata-Version: 2.4
Name: genepy
Version: 1.0.1
Summary: Genepy client.
Author-email: Julien Palard <julien@palard.fr>
License-Expression: MIT
Project-URL: Homepage, https://git.afpy.org/mdk/genepy-cli/
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8
Requires-Dist: rich
Requires-Dist: requests
Requires-Dist: websocket-client
Requires-Dist: python-slugify
Provides-Extra: dev
Requires-Dist: pylint; extra == "dev"
Requires-Dist: mypy; extra == "dev"
Requires-Dist: tox; extra == "dev"

# Genepy CLI

This is the [genepy.org](https://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.

```bash
$ 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/
