Package common :: Module pep
[hide private]
[frames] | no frames]

Module pep

source code

Classes [hide private]
  AbstractPEP
  UserMoodPEP
XEP-0107: User Mood
  UserTunePEP
XEP-0118: User Tune
  UserActivityPEP
XEP-0108: User Activity
  UserNicknamePEP
XEP-0172: User Nickname
  UserLocationPEP
XEP-0080: User Location
  ConnectionPEP
Variables [hide private]
  MOODS = {'afraid': _('Afraid'), 'amazed': _('Amazed'), 'amorou...
  ACTIVITIES = {'doing_chores': {'category': _('Doing Chores'), ...
  TUNE_DATA = ['artist', 'title', 'source', 'track', 'length']
  LOCATION_DATA = ['accuracy', 'alt', 'area', 'bearing', 'buildi...
  log = logging.getLogger('gajim.c.pep')
  SUPPORTED_PERSONAL_USER_EVENTS = [UserMoodPEP, UserTunePEP, Us...

Imports: gobject, gtk, logging, helpers, atom, xmpp, gajim, gtkgui_helpers


Variables Details [hide private]

MOODS

Value:
{'afraid': _('Afraid'), 'amazed': _('Amazed'), 'amorous': _('Amorous')\
, 'angry': _('Angry'), 'annoyed': _('Annoyed'), 'anxious': _('Anxious'\
), 'aroused': _('Aroused'), 'ashamed': _('Ashamed'), 'bored': _('Bored\
'), 'brave': _('Brave'), 'calm': _('Calm'), 'cautious': _('Cautious'),\
 'cold': _('Cold'), 'confident': _('Confident'), 'confused': _('Confus\
ed'), 'contemplative': _('Contemplative'), 'contented': _('Contented')\
, 'cranky': _('Cranky'), 'crazy': _('Crazy'), 'creative': _('Creative'\
), 'curious': _('Curious'), 'dejected': _('Dejected'), 'depressed': _(\
...

ACTIVITIES

Value:
{'doing_chores': {'category': _('Doing Chores'), 'buying_groceries': _\
('Buying Groceries'), 'cleaning': _('Cleaning'), 'cooking': _('Cooking\
'), 'doing_maintenance': _('Doing Maintenance'), 'doing_the_dishes': _\
('Doing the Dishes'), 'doing_the_laundry': _('Doing the Laundry'), 'ga\
rdening': _('Gardening'), 'running_an_errand': _('Running an Errand'),\
 'walking_the_dog': _('Walking the Dog')}, 'drinking': {'category': _(\
'Drinking'), 'having_a_beer': _('Having a Beer'), 'having_coffee': _('\
Having Coffee'), 'having_tea': _('Having Tea')}, 'eating': {'category'\
...

TUNE_DATA

Value:
['artist', 'title', 'source', 'track', 'length']

LOCATION_DATA

Value:
['accuracy', 'alt', 'area', 'bearing', 'building', 'country', 'country\
code', 'datum', 'description', 'error', 'floor', 'lat', 'locality', 'l\
on', 'postalcode', 'region', 'room', 'speed', 'street', 'text', 'times\
tamp', 'uri']

log

Value:
logging.getLogger('gajim.c.pep')

SUPPORTED_PERSONAL_USER_EVENTS

Value:
[UserMoodPEP, UserTunePEP, UserActivityPEP, UserNicknamePEP, UserLocat\
ionPEP]