Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/h/e/helios-HEAD/models/modelsbase.py   helios(Download)
  def get_sk(self):
    if not self.private_key_json: return None
    return algs.EGSecretKey.fromJSONDict(utils.from_json(self.private_key_json))
 
  def get_voters(self, category=None, after=None, limit=None):

src/h/e/helios-HEAD/tests/electionalgs.py   helios(Download)
print tally
 
sk = algs.EGSecretKey.fromJSONDict(utils.from_json("""
{"pk": {"g":
"68111451286792593845145063691659993410221812806874234365854504719057401858372594942893291581957322023471947260828209362467690671421429979048643907159864269436501403220400197614308904460547529574693875218662505553938682573554719632491024304637643868603338114042760529545510633271426088675581644231528918421974",