Skip to content

Quick and dirty python object to implement the JSV api for UGE/S(o)GE submission verification.

Notifications You must be signed in to change notification settings

BeocatKSU/pyjsv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pyjsv

Quick and dirty python object to implement the JSV api for UGE/S(o)GE script verifcation.

When you create your own JSV, import the jsv and subclass your jsv object to the master. override the jsv_on_verify and/or the jsv_on_start functions. I haven't tested env handling yet, but everything else seems to work. Should work in both python2 and python3, and I've no reason to believe it shouldn't work in pypy or other python interpreters.

from JSV import JSV
class MyJSV(JSV):
  def jsv_on_verify(self):
    self.jsv_accept("")
    
j = MyJSV()
j.jsv_main()

This does no inherent type introspection, all jsv_(sub_)?get_ operations will return strings and/or dictionaries. cast them if necessary.

About

Quick and dirty python object to implement the JSV api for UGE/S(o)GE submission verification.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages