<commit_before>import circuits
import naali
import rexviewer as r
#from PythonQt.QtCore import QVariant
import PythonQt

#the ones not listed here are added using the c++ name, e.g. ent.EC_NetworkPosition
compshorthand = {
    'EC_OpenSimPrim': 'prim',
    'EC_Placeable': 'placeable',
    'EC_NetworkPosition': 'network',
    'EC_Mesh':'mesh',
    'EC_OgreCamera': 'camera',
    'EC_AnimationController': 'animationcontroller',
    'EC_Highlight': 'highlight',
    'EC_Touchable': 'touchable',
    'EC_AttachedSound': 'sound',
    'EC_OpenSimPresence': 'opensimpresence',
    'EC_SoundRuler': 'soundruler',
    'EC_Name': 'ecname',
    'EC_Ruler': 'ruler',
    'EC_Gizmo': 'gizmo',
    }   

class ComponentPropertyAdder(circuits.BaseComponent):
    """Adds Naali Entity-Components as Qt Dynamic Properties
    for convenient access from PythonQt and QtScript (js) code."""

    @circuits.handler("on_sceneadded")
    def on_sceneadded(self, name):<commit_msg>remove the redundant EC qprop accessor adders, i.e. the ones that the autoconversion on the c++ side handles. we should get rid of the rest too, but currently i think even js code may rely on this little py module to exist .. if things do cament.camera to access EC_OgreCamera. idea is to rename EC_OgreCamera to EC_Camera<commit_after>import circuits
import naali
import rexviewer as r
#from PythonQt.QtCore import QVariant
import PythonQt

#the ones not listed here are added using the c++ name, e.g. ent.EC_NetworkPosition
compshorthand = {
    'EC_OpenSimPrim': 'prim',
    'EC_NetworkPosition': 'network',
    'EC_OgreCamera': 'camera',
    'EC_AttachedSound': 'sound',
    'EC_OpenSimPresence': 'opensimpresence',
    }   

class ComponentPropertyAdder(circuits.BaseComponent):
    """Adds Naali Entity-Components as Qt Dynamic Properties
    for convenient access from PythonQt and QtScript (js) code."""

    @circuits.handler("on_sceneadded")
    def on_sceneadded(self, name):
{'fraction_non_alphanumeric': 0.10426296866974834, 'fraction_numerical': 0.0, 'mean_word_length': 4.581661891117479, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2263465', 'n_tokens_mistral': 619, 'n_tokens_neox': 610, 'n_words': 191}