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

All Samples(14)  |  Call(0)  |  Derive(7)  |  Import(7)

src/p/y/Pyfa-HEAD/eos/saveddata/drone.py   Pyfa(Download)
 
from eos.modifiedAttributeDict import ModifiedAttributeDict, ItemAttrShortcut, ChargeAttrShortcut
from eos.effectHandlerHelpers import HandledItem, HandledCharge
from sqlalchemy.orm import validates, reconstructor
 
class Drone(HandledItem, HandledCharge, ItemAttrShortcut, ChargeAttrShortcut):

src/p/y/Pyfa-HEAD/eos/saveddata/cargo.py   Pyfa(Download)
 
from eos.modifiedAttributeDict import ModifiedAttributeDict, ItemAttrShortcut, ChargeAttrShortcut
from eos.effectHandlerHelpers import HandledItem, HandledCharge
from sqlalchemy.orm import validates, reconstructor
 
# Cargo class copied from Implant class and hacked to make work. \o/
# @todo: clean me up, Scotty
class Cargo(HandledItem, HandledCharge, ItemAttrShortcut, ChargeAttrShortcut):

src/p/y/Pyfa-HEAD/eos/saveddata/module.py   Pyfa(Download)
 
from eos.modifiedAttributeDict import ModifiedAttributeDict, ItemAttrShortcut, ChargeAttrShortcut
from eos.effectHandlerHelpers import HandledItem, HandledCharge
from eos.enum import Enum
from eos.mathUtils import floorFloat
class Module(HandledItem, HandledCharge, ItemAttrShortcut, ChargeAttrShortcut):
    """An instance of this class represents a module together with its charge and modified attributes"""
    DAMAGE_ATTRIBUTES = ("emDamage", "kineticDamage", "explosiveDamage", "thermalDamage")
 
    def __init__(self, item):

src/p/y/Pyfa-HEAD/eos/saveddata/ship.py   Pyfa(Download)
 
from eos.modifiedAttributeDict import ModifiedAttributeDict, ItemAttrShortcut
from eos.effectHandlerHelpers import HandledItem
 
class Ship(ItemAttrShortcut, HandledItem):

src/p/y/Pyfa-HEAD/eos/saveddata/implant.py   Pyfa(Download)
 
from eos.modifiedAttributeDict import ModifiedAttributeDict, ItemAttrShortcut
from eos.effectHandlerHelpers import HandledItem
from sqlalchemy.orm import validates, reconstructor
 
class Implant(HandledItem, ItemAttrShortcut):

src/p/y/Pyfa-HEAD/eos/saveddata/booster.py   Pyfa(Download)
 
from eos.modifiedAttributeDict import ModifiedAttributeDict, ItemAttrShortcut
from eos.effectHandlerHelpers import HandledItem
from sqlalchemy.orm import reconstructor, validates
 
class Booster(HandledItem, ItemAttrShortcut):

src/p/y/Pyfa-HEAD/eos/saveddata/character.py   Pyfa(Download)
import urllib2
 
from eos.effectHandlerHelpers import HandledItem
from sqlalchemy.orm import validates, reconstructor
import sqlalchemy.orm.exc as exc
class Skill(HandledItem):
    def __init__(self, item, level = 0, ro = False, learned = True):
        self.__item = item if not isinstance(item, int) else None
        self.itemID = item.ID if not isinstance(item, int) else item
        self.__level = level if learned else None