Skip to main content

Genepy client.

Project description

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/

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

genepy-1.0.1.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genepy-1.0.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file genepy-1.0.1.tar.gz.

File metadata

  • Download URL: genepy-1.0.1.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for genepy-1.0.1.tar.gz
Algorithm Hash digest
SHA256 dee03107aaa057e3a2654ee9be0bc53410ca90704e7af2ebe27163e8363e2b6c
MD5 4beeeec9361eeaad2085482511865790
BLAKE2b-256 9484568c5fa7eb484b7286dfdff1c87b543da08415edfba50de8aabbe3deb269

See more details on using hashes here.

File details

Details for the file genepy-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: genepy-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for genepy-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a0510bae46b9909db673783a3bc1a2755e0ee7ee44eb231f86fcd46a17a88aff
MD5 ebb2b731a19cb8baad6962620961c036
BLAKE2b-256 b43944ccae5828d46a35ea7b75c5f70934ab1007c0a876bb01b35a1ba45d5032

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page