code stringlengths 1 1.72M | language stringclasses 1
value |
|---|---|
'''
Created on 20/06/2013
@author: belentwi
'''
'''
Created on 20/06/2013
@author: belentwi
'''
import os
# cur_dir = os.path.dirname(os.path.abspath(__file__))
from reportlab.lib.pagesizes import A4
from reportlab.lib.units import cm
from reportlab.lib.enums import TA_CENTER, TA_RIGHT
from geraldo import Repor... | Python |
'''
Created on 18/05/2013
@author: belentwi
'''
from flask_wtf import Form
from flask_wtf import TextField
from flask_wtf import SelectMultipleField
from flask_wtf import widgets
from flask_wtf import TextAreaField
from flask_wtf import SelectField
from app.validators import Required
class SolicitudBuscar(Form):
... | Python |
from flask_wtf import Form
from flask_wtf import TextField
from flask_wtf import SelectField
from flask_wtf import SelectMultipleField
from flask_wtf import widgets
from app.validators import Required
from app.validators import length
class FaseBuscar(Form):
"""
#============================================... | Python |
from flask_wtf import Form
from flask_wtf import EqualTo
from flask_wtf import PasswordField
from flask_wtf import TextField
from flask_wtf import SelectMultipleField
from flask_wtf import SubmitField
from flask_wtf import widgets
from app.validators import Required
from app.validators import length
from app.validator... | Python |
'''
Created on 10/04/2013
@author: mirta
'''
from flask_wtf import Form
from flask_wtf import TextField
from flask_wtf import SelectMultipleField
from flask_wtf import widgets
from flask_wtf import TextAreaField
from app.validators import Required
from app.validators import length
class RolBuscar(Form):
"""
... | Python |
'''
Created on 29/04/2013
@author: belentwi
'''
from flask_wtf import Form
from flask_wtf import TextField
from flask_wtf import SelectField
from app.validators import Required
from app.validators import length
class AtributoBuscar(Form):
"""
Formulario de busqueda de atributos
"""
id = TextField()
... | Python |
from flask_wtf import Form
from flask_wtf import TextField
from flask_wtf import PasswordField
from flask_wtf import SelectMultipleField
from flask_wtf import widgets
from flask_wtf import EqualTo
from app.validators import Required
from app.validators import length
class LoginForm(Form):
"""
Representa el f... | Python |
'''
Created on 29/04/2013
@author: mirta
'''
from flask_wtf import Form
from flask_wtf import TextField
from flask_wtf import SelectMultipleField
from flask_wtf import widgets
from app.validators import Required
#from app.validators import length
class RelacionBuscar(Form):
"""
Formulario de busqueda de ite... | Python |
'''
Created on 04/04/2013
@author: belentwi
'''
from flask_wtf import Form
from flask_wtf import TextField
class EntidadBuscar(Form):
"""
Formulario de busqueda de entidades
"""
id = TextField()
nombre = TextField()
| Python |
'''
Created on 19/05/2013
@author: mirta
'''
from flask_wtf import Form
#from flask_wtf import TextField
from flask_wtf import SelectMultipleField
from flask_wtf import widgets
from flask_wtf import TextAreaField
from app.validators import Required
from app.validators import length
class ComiteEditable(Form):
""... | Python |
'''
Created on 14/04/2013
@author: belentwi
'''
from flask_wtf import Form
from flask_wtf import TextField
from flask_wtf import SelectField
from flask_wtf import SelectMultipleField
from flask_wtf import widgets
from flask_wtf import IntegerField
from app.validators import Required
class ProyectoBuscar(Form):
"... | Python |
from flask_wtf import Form
from flask_wtf import TextField
from flask_wtf import SelectField
from flask_wtf import TextAreaField
from app.validators import Required
from app.validators import length
class PermisoBuscar(Form):
"""
Formulario de busqueda de permisos
"""
id = TextField()
nombre = Te... | Python |
'''
Created on 01/05/2013
@author: belentwi
'''
from flask_wtf import Form
from flask_wtf import TextField
from flask_wtf import IntegerField
from flask_wtf import SelectField
from flask_wtf import FileField
from flask_wtf import TextAreaField
from flask_wtf import SelectMultipleField
from flask_wtf import widgets
fr... | Python |
from flask_wtf import Form
from flask_wtf import TextField
from flask_wtf import SelectMultipleField
from flask_wtf import widgets
from app.validators import Required
from app.validators import length
class TipoItemBuscar(Form):
"""
#=========================================================================... | Python |
'''
Created on 09/05/2013
@author: mirta
'''
from flask_wtf import Form
from flask_wtf import TextField
from flask_wtf import SelectMultipleField
from flask_wtf import widgets
#from flask_wtf import TextAreaField
from app.validators import Required
from app.validators import length
class LbBuscar(Form):
"""
... | Python |
'''
Created on 17/05/2013
@author: belentwi
'''
from app import db
class AtributoItem(db.Model):
"""
Clase que representa la tabla atributo de la base de datos
"""
__tablename__ = 'atributo_item'
id = db.Column(db.Integer, primary_key=True)
id_item = db.Column(db.Integer)
id_atributo = db... | Python |
'''
Created on 30/04/2013
@author: mirta
'''
from app import db
from app.models.fase import Fase
from app.models.linea_base import LineaBase
from app.models.tipoItem import TipoItem
class Historial(db.Model):
__tablename__ = 'historial'
id = db.Column(db.Integer, primary_key=True)
id_item = db.Colum... | Python |
'''
Created on 26/04/2013
@author: mirta
'''
from app import db
from app.models.fase import Fase
from app.models.linea_base import LineaBase
from app.models.archivo import Archivo
from app.models.tipoItem import TipoItem
association_table = db.Table('item_archivo', db.Model.metadata,
db.Column('item_id', db.Inte... | Python |
'''
Created on 29/04/2013
@author: belentwi
'''
from app import db
class Atributo(db.Model):
"""
Clase que representa la tabla atributo de la base de datos
"""
__tablename__ = 'atributo'
id = db.Column(db.Integer, primary_key=True)
nombre = db.Column(db.String(50), unique=True)
descripcio... | Python |
'''
Created on 03/05/2013
@author: mirta
'''
from app import db
class Archivo (db.Model):
__tablename__ = "archivo"
id = db.Column(db.Integer, primary_key=True)
datos = db.Column(db.Binary)
nombre = db.Column(db.String)
tipo = db.Column(db.String)
def __init__(self, nombre, datos, tipo):
... | Python |
'''
Created on 10/04/2013
@author: mirta
'''
from app import db
from app.models.permiso import Permiso
association_table = db.Table('rol_permiso', db.Model.metadata,
db.Column('rol_id', db.Integer, db.ForeignKey('rol.id')),
db.Column('permiso_id', db.Integer, db.ForeignKey('permiso.id'))
)
class Rol(db.Mod... | Python |
'''
Created on 29/04/2013
@author: mirta
'''
from app import db
from app.models.fase import Fase
class LineaBase(db.Model):
__tablename__ = 'linea_base'
id = db.Column(db.Integer, primary_key=True)
nombre = db.Column(db.String(50))
estado = db.Column(db.String(50))
fecha_creacion = db.Column(... | Python |
from app import db
class Entidad(db.Model):
"""
Clase que representa la tabla entidad de la base de datos
"""
__tablename__ = 'entidad'
id = db.Column(db.Integer, primary_key=True)
nombre = db.Column(db.String(50), unique=True)
permiso = db.relationship("Permiso", backref="parent")
... | Python |
'''
Created on 24/05/2013
@author: belentwi
'''
from app import db
class Voto(db.Model):
"""
Clase que representa la voto de la base de datos
"""
__tablename__ = 'voto'
id = db.Column(db.Integer, primary_key=True)
id_solicitud = db.Column(db.Integer)
id_usuario = db.Column(db.Integer)
... | Python |
from app import db
from app.models.atributo import Atributo
from app.models.proyecto import Proyecto
from app.models.fase import Fase
#relacion con la tabla atributos
association_table = db.Table('tipo_item_atributo', db.Model.metadata,
db.Column('tipo_item_id', db.Integer, db.ForeignKey('tipo_item.id')),
db... | Python |
from app import db
from app.models.entidad import Entidad
class Permiso(db.Model):
"""
Clase que representa la tabla permiso de la base de datos
"""
__tablename__ = 'permiso'
id = db.Column(db.Integer, primary_key=True)
nombre = db.Column(db.String(50))
descripcion = db.Column(db.Str... | Python |
'''
Created on 14/04/2013
@author: belentwi
'''
from app import db
from app.models.usuario import Usuario
from app.models.comite_de_cambio import ComiteDeCambio
from app.models.entidad import Entidad
association_usuario = db.Table('proyecto_usuario', db.Model.metadata,
db.Column('proyecto_id', db.Integer, db.For... | Python |
from app import db
from app.models.rol import Rol
association_table = db.Table('usuario_rol', db.Model.metadata,
db.Column('usuario_id', db.Integer, db.ForeignKey('usuario.id')),
db.Column('rol_id', db.Integer, db.ForeignKey('rol.id'))
)
class Usuario(db.Model):
"""
Esta clase representa la tabla de... | Python |
'''
Created on 14/05/2013
@author: mirta
'''
from app import db
class HistorialLineaBase(db.Model):
__tablename__ = 'historial_lb'
id = db.Column(db.Integer, primary_key=True)
id_lb = db.Column(None, db.ForeignKey("linea_base.id"), nullable=True)
operacion = db.Column(db.String(100))
usuario... | Python |
from app import db
from app.models.proyecto import Proyecto
from app.models.entidad import Entidad
class Fase(db.Model):
"""
Clase que representa la tabla fase de la base de datos
"""
__tablename__ = 'fase'
id = db.Column(db.Integer, primary_key=True)
nombre = db.Column(db.String(50))
pos... | Python |
'''
Created on 21/06/2013
@author: belentwi
'''
class SolicitudCambioReporte:
def __init__(self, id = None, observacion ='', linea_base = '', creador = None, voto = '', estado = None):
self.id = id
self.observacion = observacion
self.linea_base = linea_base
self.creador = creador
... | Python |
'''
Created on 14/04/2013
@author: belentwi
'''
from app import db
from app.models.usuario import Usuario
association_usuario = db.Table('comite_usuario', db.Model.metadata,
db.Column('comite_id', db.Integer, db.ForeignKey('comite_de_cambio.id')),
db.Column('usuario_id', db.Integer, db.ForeignKey('usuar... | Python |
'''
Created on 18/05/2013
@author: belentwi
'''
from app import db
from app.models.item import Item
from app.models.usuario import Usuario
from app.models.proyecto import Proyecto
association_table = db.Table('solicitud_item', db.Model.metadata,
db.Column('item_id', db.Integer, db.ForeignKey('item.id')),
db... | Python |
'''
Created on 05/04/2013
@author: belentwi
'''
import unittest
from app import app
from test_helper import login
from test_helper import get_id_when_radio_exist
class TestCase(unittest.TestCase):
"""
Clase de Pruebas Unitarias que corresponde al Modulo de Entidades
"""
def setUp(self):
... | Python |
import unittest
from app import app
from test_helper import login
from test_helper import get_id_when_radio_exist
#Id del rol con el que probara
ID_ROL = '1'
class TestCase(unittest.TestCase):
"""
Clase que implementa los test para los casos de uso de Usuario.
Utilizamos esta clase para realizar las prueb... | Python |
import unittest
from app import app
from test_helper import login
from test_helper import get_id_when_radio_exist
#Id del permiso con el que probara
ID_PERMISSION = '2'
class TestCase(unittest.TestCase):
"""
Clase que implementa los test para el caso de uso Rol.
Utilizamos esta clase para realizar las pr... | Python |
'''
Created on 05/04/2013
@author: belentwi
'''
import unittest
from app import app
from test_helper import login
class TestCase(unittest.TestCase):
"""
Clase de Pruebas Unitarias que corresponde al Modulo de Entidades
"""
def setUp(self):
"""
Metodo invocado antes del inicio del... | Python |
import unittest
from app import app
from werkzeug import generate_password_hash
class TestCase(unittest.TestCase):
"""
TestCase, utilizamos esta clase para realizar las pruebas de nuestra aplicacion SAP
"""
def setUp(self):
"""
Se llama a este metodo antes de iniciar el test de la... | Python |
'''
Created on 04/06/2013
@author: mirta
'''
import unittest
from app import app
from test_helper2 import login
from test_helper2 import elegir_proyecto
from test_helper2 import get_id_when_radio_exist
from app.models.fase import Fase
from app.models.proyecto import Proyecto
from app.models.tipoItem import TipoItem
... | Python |
'''
Created on 03/06/2013
@author: mirta
'''
import unittest
from app import app
from test_helper import login
from test_helper import get_id_when_radio_exist
from app.models.usuario import Usuario
#ID_USUARIO = '2'
USUARIO = Usuario.query.filter_by(nombre='usu_1').first()
ID_USUARIO = USUARIO.id
class TestCase(un... | Python |
'''
Created on 04/06/2013
@author: mirta
'''
import unittest
from app import app
from test_helper2 import login
from test_helper2 import elegir_proyecto
from test_helper2 import get_id_when_radio_exist
ID_USUARIO='6'
class TestCase(unittest.TestCase):
"""
Clase que implementa los test para el caso de uso Co... | Python |
'''
Created on 03/06/2013
@author: mirta
'''
import unittest
from app import app
from test_helper2 import login
from test_helper2 import elegir_proyecto
from test_helper2 import get_id_when_radio_exist
from app.models.proyecto import Proyecto
PROYECTO = Proyecto.query.filter_by(nombre='Proyecto pyunit').first()
cl... | Python |
'''
Created on 16/06/2013
@author: mirta
'''
import unittest
from app import app
from test_helper2 import login
from test_helper2 import elegir_proyecto
from test_helper2 import get_id_when_radio_exist
class TestCase(unittest.TestCase):
"""
Clase que implementa los test para el caso de uso Linea Base.
U... | Python |
'''
Created on 14/06/2013
@author: mirta
'''
import unittest
from app import app
from test_helper2 import login
from test_helper2 import elegir_proyecto
from test_helper2 import get_id_when_radio_exist
from app.models.proyecto import Proyecto
from app.models.fase import Fase
from app.models.item import Item
PROYECT... | Python |
'''
Created on 20/04/2013
@author: mirta
'''
import unittest
from app import app
class TestCase(unittest.TestCase):
"""
TestCase, utilizamos esta clase para realizar las pruebas de nuestra aplicacion SAP
"""
def setUp(self):
"""
Se llama a este metodo antes de iniciar el test de... | Python |
'''
Created on 16/06/2013
@author: mirta
'''
import unittest
from app import app
from test_helper2 import login
from test_helper2 import elegir_proyecto
from test_helper2 import get_id_when_radio_exist
class TestCase(unittest.TestCase):
"""
Clase que implementa los test para el caso de uso Relaciones.
U... | Python |
'''
Created on 23/05/2013
@author: mirta
'''
import unittest
from app import app
from test_helper import login
from test_helper import get_id_when_radio_exist
#Id del permiso con el que probara
ID_TIPO = '1'
class TestCase(unittest.TestCase):
"""
Clase que implementa los test para el caso de uso Atributo.
... | Python |
'''
Created on 18/06/2013
@author: mirta
'''
class Arista:
def __init__(self, origen, destino, tipo):
self.origen = origen
self.destino = destino
self.tipo = tipo
#Convertimos un nodo a un mapa
def construir_arista(origen, destino, tipo):
return {
'origen' : origen,
'destino' : destino,
... | Python |
'''
Created on 29/04/2013
@author: mirta
'''
from datetime import date
from flask import Blueprint
from flask import request
from flask import render_template
from flask import flash
from flask import redirect
from flask import url_for
from flask import current_app
from app import db
from app.security import g
from... | Python |
'''
Created on 29/04/2013
@author: belentwi
'''
from flask import Blueprint
from flask import request
from flask import render_template
from flask import flash
from flask import redirect
from flask import url_for
from app.models.atributo import Atributo
from app.wtforms.atributo_forms import AtributoBuscar
from app.w... | Python |
'''
Created on 29/05/2013
@author: mirta
'''
from flask import Blueprint
from flask import render_template
from flask import flash
from flask import redirect
from flask import url_for
from app import db
from app.security import g
from app.models.item import Item
from app.models.fase import Fase
from app.models.perm... | Python |
'''
Created on 14/04/2013
@author: belentwi
'''
from flask import Blueprint
from flask import request, flash
from flask import render_template
from flask import redirect
from flask import url_for
from app import db
from app.wtforms.proyecto_forms import ProyectoBuscar
from app.wtforms.proyecto_forms import ProyectoC... | Python |
'''
Created on 26/04/2013
@author: mirta
'''
from flask import Blueprint
from flask import flash
from flask import request
from flask import render_template
from flask import redirect
from flask import url_for
from flask import Response
from flask import session
from datetime import date
from app import db
from app.s... | Python |
'''
Created on 24/05/2013
@author: belentwi
'''
from flask import Blueprint
from app import db
from app.models.voto import Voto
mod = Blueprint('votos', __name__, url_prefix='/votos') | Python |
'''
Created on 17/06/2013
@author: mirta
'''
#from flask import jsonify
import json
from app.nodo import Nodo
from app.nodo import construir_lista
from app.arista import Arista
from app.arista import construir_lista_arista
#import simplejson as json
from flask import Blueprint
#from flask import request, flash
fr... | Python |
'''
Created on 17/05/2013
@author: belentwi
'''
from flask import Blueprint
from app import db
from app.models.atributo_item import AtributoItem
mod = Blueprint('atributosItems', __name__, url_prefix='/atributosItems')
| Python |
from flask import Blueprint
from flask import request
from flask import render_template
from flask import flash
from flask import redirect
from flask import url_for
from app import db
from app.security import g
from app.wtforms.comite_cambio_forms import ComiteEditable
from app.wtforms.comite_cambio_forms import Com... | Python |
from flask import Blueprint
from flask import request
from flask import render_template
from flask import flash
from flask import redirect
from flask import url_for
from app import db
from app.security import permission
from app.wtforms.permiso_forms import PermisoBuscar
from app.wtforms.permiso_forms import Permiso... | Python |
from flask import Blueprint
from flask import request
from flask import render_template
from flask import flash
from flask import redirect
from flask import url_for
from flask import session
from app import db
from app.security import permission
from app.security import g
from app.wtforms.tipoItem_forms import TipoIt... | Python |
from flask import Blueprint
from flask import request
from flask import render_template
from flask import flash
from flask import redirect
from flask import url_for
from flask import session
from app import db
from app.security import g
from app.wtforms.fase_forms import FaseBuscar
from app.wtforms.fase_forms ... | Python |
'''
Created on 03/04/2013
@author: belentwi
'''
from flask import Blueprint
from flask import request
from flask import render_template
from app.wtforms.entidad_forms import EntidadBuscar
from app.models.entidad import Entidad
mod = Blueprint('entidades', __name__, url_prefix='/entidad')
@mod.route('/administracion... | Python |
'''
Created on 09/05/2013
@author: mirta
'''
from datetime import date
from flask import Blueprint
from flask import request
from flask import render_template
from flask import flash
from flask import redirect
from flask import url_for
from app import db
from app.security import g
from app.security import permissio... | Python |
'''
Created on 10/04/2013
@author: mirta
'''
from flask import Blueprint
from flask import request
from flask import render_template
from flask import flash
from flask import redirect
from flask import url_for
from app import db
from app.wtforms.rol_forms import RolBuscar
from app.wtforms.rol_forms import RolEditab... | Python |
'''
Created on 18/05/2013
@author: belentwi
'''
from app import db
from flask import Blueprint
from flask import request
from flask import render_template
from flask import redirect
from flask import url_for
from flask import flash
from app.models.solicitud_cambio import SolicitudCambio
from app.models.fase import ... | Python |
from flask import Blueprint
from flask import request
from flask import render_template
from flask import flash
from flask import session
from flask import redirect
from flask import url_for
from werkzeug import check_password_hash
from werkzeug import generate_password_hash
from app import db
from app.security imp... | Python |
from flask import Blueprint
from flask import request
from flask import render_template
from flask import flash
from flask import redirect
from flask import url_for
from app import db
from werkzeug import generate_password_hash
from app.wtforms.usuario_forms import UsuarioBuscar
from app.wtforms.usuario_forms import... | Python |
from flask import Flask
from flask import render_template
from flask_sqlalchemy import SQLAlchemy
app = Flask(__name__)
app.config.from_object('config')
db = SQLAlchemy(app)
@app.errorhandler(404)
def not_found(error):
#print "Pagina no encontrada"
return render_template('404.html')
from app.controllers.ac... | Python |
'''
Created on 15/04/2013
@author: mirta
'''
from functools import wraps
from flask import g
from flask import session
from flask import redirect
from flask import url_for
from flask import current_app
from flask import flash
from flask import request
from app.models.usuario import Usuario
from app.models.proyecto ... | Python |
'''
Created on 29/04/2013
@author: belentwi
'''
from app import db
print "Eliminando tablas"
db.drop_all()
print "Tablas eliminadas" | Python |
from app import db
print "Creando tablas"
db.create_all()
print "Tablas creadas"
| Python |
'''
Created on 18/05/2013
@author: mirta
'''
from werkzeug import generate_password_hash
#from datetime import date
from app import db
from app.models.usuario import Usuario
#from app.models.entidad import Entidad
from app.models.permiso import Permiso
from app.models.rol import Rol
#from app.models.fase import Fase... | Python |
from werkzeug import generate_password_hash
from datetime import date
from app import db
from app.models.usuario import Usuario
from app.models.entidad import Entidad
from app.models.permiso import Permiso
from app.models.rol import Rol
from app.models.fase import Fase
from app.models.tipoItem import TipoItem
from ap... | Python |
from app import app
#from subprocess import call
#call(["killall", "python", "-o 2s"])
if __name__ == '__main__':
app.run(debug=True)
| Python |
import os
_basedir = os.path.abspath(os.path.dirname(__file__))
DEBUG = False
ADMINS = frozenset(['youremail@yourdomain.com'])
SECRET_KEY = 'SecretKeyForSessionSigning'
SQLALCHEMY_DATABASE_URI = 'postgresql://postgres:postgres@localhost:5432/sap_db'
#SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(_basedir, 'a... | Python |
import sys
sys.path.insert(0, '/home/mirta/workspace/fpuna-is2-sap/')
activate_this = '/home/mirta/flask/venv/bin/activate_this.py'
execfile(activate_this, dict(__file__=activate_this))
from app import app as application
| Python |
#!/usr/bin/python2.6
#
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | Python |
# -*- coding: UTF-8 -*-
"""
$Id: initdb.py 265 2012-01-25 21:10:40Z steinhoff.mario@googlemail.com $
$URL: http://fptbot.googlecode.com/svn/trunk/fptbot/src/python/tools/initdb.py $
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated... | Python |
# -*- coding: UTF-8 -*-
"""
$Id: config.py 261 2012-01-25 00:11:47Z steinhoff.mario@googlemail.com $
$URL: http://fptbot.googlecode.com/svn/trunk/fptbot/src/python/tools/config.py $
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated... | Python |
# -*- coding: UTF-8 -*-
"""
$Id: events.py 286 2012-05-31 17:26:15Z steinhoff.mario $
$URL: http://fptbot.googlecode.com/svn/trunk/fptbot/src/python/tools/dataloader/events.py $
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated doc... | Python |
# -*- coding: UTF-8 -*-
"""
$Id: contacts.py 286 2012-05-31 17:26:15Z steinhoff.mario $
$URL: http://fptbot.googlecode.com/svn/trunk/fptbot/src/python/tools/dataloader/contacts.py $
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated... | Python |
# -*- coding: UTF-8 -*-
"""
$Id: __init__.py 286 2012-05-31 17:26:15Z steinhoff.mario $
$URL: http://fptbot.googlecode.com/svn/trunk/fptbot/src/python/tools/dataloader/__init__.py $
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated... | Python |
# -*- coding: UTF-8 -*-
"""
$Id$
$URL$
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modif... | Python |
# -*- coding: UTF-8 -*-
"""
$Id: cleandb.py 268 2012-02-01 22:56:11Z steinhoff.mario $
$URL: http://fptbot.googlecode.com/svn/trunk/fptbot/src/python/tools/cleandb.py $
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentatio... | Python |
# -*- coding: UTF-8 -*-
"""
$Id: calendar.py 264 2012-01-25 00:18:36Z steinhoff.mario@googlemail.com $
$URL: http://fptbot.googlecode.com/svn/trunk/fptbot/src/python/components/calendar.py $
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and a... | Python |
# -*- coding: UTF-8 -*-
"""
$Id: principal.py 260 2012-01-23 21:45:31Z steinhoff.mario@googlemail.com $
$URL: http://fptbot.googlecode.com/svn/trunk/fptbot/src/python/components/principal.py $
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and... | Python |
# -*- coding: UTF-8 -*-
'''
Created on 30.01.2012
@author: rack
'''
import logging
from sqlalchemy import func,desc
from sqlalchemy.orm.exc import NoResultFound
from datetime import date
from core import runlevel
from core.component import Component, ComponentError
from core.config import Config
fro... | Python |
# -*- coding: UTF-8 -*-
"""
$Id: facts.py 260 2012-01-23 21:45:31Z steinhoff.mario@googlemail.com $
$URL: http://fptbot.googlecode.com/svn/trunk/fptbot/src/python/components/facts.py $
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associa... | Python |
# -*- coding: UTF-8 -*-
"""
$Id$
$URL$
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modif... | Python |
'''
Created on 22.02.2012
@author: rack
'''
import logging
from sqlalchemy import func
from sqlalchemy.orm.exc import NoResultFound
from datetime import date
from core import runlevel
from core.component import Component, ComponentError
from objects.quote import Quote
#-----------------------------... | Python |
# -*- coding: UTF-8 -*-
"""
$Id: persistence.py 260 2012-01-23 21:45:31Z steinhoff.mario@googlemail.com $
$URL: http://fptbot.googlecode.com/svn/trunk/fptbot/src/python/core/persistence.py $
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and a... | Python |
# -*- coding: UTF-8 -*-
"""
$Id$
$URL$
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modif... | Python |
# -*- coding: UTF-8 -*-
"""
$Id: constants.py 260 2012-01-23 21:45:31Z steinhoff.mario@googlemail.com $
$URL: http://fptbot.googlecode.com/svn/trunk/fptbot/src/python/core/constants.py $
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and assoc... | Python |
# -*- coding: UTF-8 -*-
"""
$Id: config.py 260 2012-01-23 21:45:31Z steinhoff.mario@googlemail.com $
$URL: http://fptbot.googlecode.com/svn/trunk/fptbot/src/python/core/config.py $
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated ... | Python |
# -*- coding: UTF-8 -*-
"""
$Id: timer.py 233 2011-09-23 01:27:22Z steinhoff.mario $
$URL: http://fptbot.googlecode.com/svn/trunk/fptbot/src/python/core/timer.py $
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation fil... | Python |
# -*- coding: UTF-8 -*-
"""
$Id$
$URL$
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modif... | Python |
# -*- coding: UTF-8 -*-
"""
$Id: subsystem.py 246 2011-09-25 05:12:07Z steinhoff.mario $
$URL: http://fptbot.googlecode.com/svn/trunk/fptbot/src/python/core/subsystem.py $
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documenta... | Python |
# -*- coding: UTF-8 -*-
"""
$Id: component.py 231 2011-09-23 01:24:05Z steinhoff.mario $
$URL: http://fptbot.googlecode.com/svn/trunk/fptbot/src/python/core/component.py $
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documenta... | Python |
# -*- coding: UTF-8 -*-
"""
$Id$
$URL$
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, ... | Python |
# -*- coding: UTF-8 -*-
"""
$Id: runlevel.py 256 2012-01-12 23:28:32Z steinhoff.mario $
$URL: http://fptbot.googlecode.com/svn/trunk/fptbot/src/python/core/runlevel.py $
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentati... | Python |
# -*- coding: UTF-8 -*-
"""
$Id: message.py 269 2012-02-01 22:58:55Z steinhoff.mario $
$URL: http://fptbot.googlecode.com/svn/trunk/fptbot/src/python/interaction/irc/message.py $
Copyright (c) 2010 foption
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated do... | Python |
Subsets and Splits
SQL Console for ajibawa-2023/Python-Code-Large
Provides a useful breakdown of language distribution in the training data, showing which languages have the most samples and helping identify potential imbalances across different language groups.