def Framework(headers, content): return (cakephp.Cakephp().run(headers), cherrypy.Cherrypy().run(headers), django.Django().run(headers), flask.Flask().run(headers), fuelphp.Fuelphp().run(headers, content), grails.Grails().run(headers), larvel.Larvel().run(headers), mvc.Mvc().run(headers), nette.Nette().run(headers), phalcon.Phalcon().run(headers), rails.Rails().run(headers), symfony.Symfony().run(headers), yii.Yii().run(headers, content), zend.Zend().run(headers))
def atom(self, host): import cakephp import cherrypy import django import flask import fuelphp import grails import larvel import mvc import nette import phalcon import rails import symfony import yii import zend import googleanalytics import jquery import urllib from core.urli import sansor host = sansor().fransor(host) hostp = sansor().pransor(host) if sansor().cransor(hostp): header = urllib.urlopen(host).headers cont = urllib.urlopen(host).read() final = [] ckp = cakephp.Cakephp().run(header) cpy = cherrypy.Cherrypy().run(header) djo = django.Django().run(header) fls = flask.Flask().run(header) flp = fuelphp.Fuelphp().run(header, cont) grl = grails.Grails().run(header) lrv = larvel.Larvel().run(header) mvc = mvc.Mvc().run(header) nte = nette.Nette().run(header) pcn = phalcon.Phalcon().run(header) rls = rails.Rails().run(header) sfy = symfony.Symfony().run(header) yii = yii.Yii().run(header, cont) znd = zend.Zend().run(header) gas = googleanalytics.Googleanalytics().run(cont) jqr = jquery.Jquery().run(cont) eve = [ ckp, cpy, djo, fls, flp, grl, lrv, mvc, nte, pcn, rls, sfy, yii, znd, gas, jqr ] for key in eve: if key: final.append(key) if final == []: final.append('none') return final else: return None
def Framework(headers): return ( aspx_mvc.Aspxmvc().Run(headers), cakephp.Cakephp().Run(headers), cherry.Cherry().Run(headers), django.Django().Run(headers), nette.Nette().Run(headers), rack.Rack().Run(headers), rails.Rails().Run(headers), symfony.Symfony().Run(headers) )