Skip to main content

TestMyCode client

Project description

tmc.py
======

This is a complete redo of tmc.py targeting exclusively Python3. It's not usable
yet, but it tries to have a little bit nicer structure.

note
----

The legacy branch has the python2 version. It's the version also in [PyPi](https://pypi.python.org/pypi/tmc/0.2.2)

todo
----

* Testing script

state
-----

Works

* Login
* Downloading
* Testing with ant
* Submitting

Needs Polish

* All

ToDo

* More docs
* Testing script

usage
----

### tmc configure

Set the server, user credentials and selected course.

### tmc select [--course]

Selects a exercise. If `--course` is given selects a course instead.

### tmc update [--course]

Update the list of exercises. If `--course` is given updates courses instead.

### tmc download [all|id]

Download all of the exercises or a exercise with the id.

### tmc test [id]

Test the current exercise or a exercise with the id.

### tmc submit [id]

Submit the current exercise or a exercise with the id.

### tmc next

Go to the next exercise.

### tmc run command

Executes `command exercise-path`. For example `tmc run gvim` would run
`gvim /home/x/tmc/k2014-algomooc/viikko1/01.1.Kertoma` which would open gvim
in that folder.

### tmc reset

Reset the database.



example
-------

while course is not completed:
tmc run subl3 && tmc test && tmc submit && tmc next

license
-------

MIT, see `LICENSE`

Project details


Release history Release notifications

History Node

1.0.2

History Node

1.0.1

History Node

0.3.18

History Node

0.3.17

History Node

0.3.16

History Node

0.3.15

History Node

0.3.14

History Node

0.3.13

History Node

0.3.12

History Node

0.3.11

History Node

0.3.10

History Node

0.3.9

History Node

0.3.8

History Node

0.3.7

History Node

0.3.6

History Node

0.3.5

History Node

0.3.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

This version
History Node

0.3.0

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
tmc-0.3.0.tar.gz (9.0 kB) Copy SHA256 hash SHA256 Source None Jul 25, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page