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

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

src/l/i/lisa-server-0.1.1.31/lisa/server/libs/server.py   lisa-server(Download)
# -*- coding: UTF-8 -*-
import os, json, sys, uuid
from lisa.server.libs import RulesEngine, Commands, Wit
from twisted.internet.protocol import Factory, Protocol
from twisted.protocols.basic import LineReceiver
    def __init__(self):
        self.wit = Wit(configuration)
        self.clients = []
        self.syspath = sys.path
 

src/l/i/lisa-server-0.1.1.31/lisa/server/core/intents.py   lisa-server(Download)
from pymongo import MongoClient
from lisa.server.service import configuration
from lisa.server.libs import Wit
 
from lisa.server.web.manageplugins.models import Intent as oIntents
    def list(self, jsonInput):
        intentstr = []
        oWit = Wit(self.configuration)
        listintents = oWit.list_intents()
        for oIntent in oIntents.objects(enabled=True):

src/l/i/lisa-server-0.1.1.31/lisa/server/web/weblisa/api.py   lisa-server(Download)
from twisted.python import log
from tastypie import authorization
from django.conf.urls import *
import json, os
from lisa.server.libs import LisaInstance, LisaProtocolInstance, Wit, configuration