registry.py 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. from __future__ import unicode_literals
  2. from terroroftinytown.services.adjix import AdjixService
  3. from terroroftinytown.services.awesm import AwesmService
  4. from terroroftinytown.services.base import DefaultService
  5. from terroroftinytown.services.bitly import BitlyService, Bitly6Service
  6. from terroroftinytown.services.feedly import FeedlyService, Feedly8Service
  7. from terroroftinytown.services.isgd import IsgdService, Isgd6Service
  8. from terroroftinytown.services.myspac import MyspAcService
  9. from terroroftinytown.services.owly import OwlyService
  10. from terroroftinytown.services.sharedby import SharedBy6Service, SharedByService
  11. from terroroftinytown.services.shares import SharesService
  12. from terroroftinytown.services.snipurl import SnipurlService
  13. from terroroftinytown.services.tighturl import TighturlService
  14. from terroroftinytown.services.tinyurl import TinyurlService, Tinyurl7Service
  15. from terroroftinytown.services.vgd import VgdService, Vgd6Service
  16. from terroroftinytown.services.vitrue import VitrueService
  17. from terroroftinytown.services.xco import XCOService
  18. from terroroftinytown.services.yatuc import YatucService
  19. from terroroftinytown.services.alturl import AlturlService
  20. from terroroftinytown.services.tinyurlhu import TinyurlHu4Service,\
  21. TinyurlHuService
  22. from terroroftinytown.services.googl import GooglService
  23. registry = {}
  24. '''Mapping of unicode strings to BaseService classes.'''
  25. registry['_default'] = DefaultService
  26. registry['isgd'] = IsgdService
  27. registry['isgd_6'] = Isgd6Service
  28. registry['vgd'] = VgdService
  29. registry['vgd_6'] = Vgd6Service
  30. registry['bitly'] = BitlyService
  31. registry['bitly_6'] = Bitly6Service
  32. registry['xco'] = XCOService
  33. registry['pub-vitrue-com'] = VitrueService
  34. registry['tighturl-com'] = TighturlService
  35. registry['tinyurl'] = TinyurlService
  36. registry['tinyurl_7'] = Tinyurl7Service
  37. registry['adjix'] = AdjixService
  38. registry['yatuc'] = YatucService
  39. registry['shar-es'] = SharesService
  40. registry['feedly'] = FeedlyService
  41. registry['feedly_8'] = Feedly8Service
  42. registry['awe-sm'] = AwesmService
  43. registry['ow-ly'] = OwlyService
  44. registry['snipurl'] = SnipurlService
  45. registry['snipurl_range2'] = SnipurlService
  46. registry['sharedby-co'] = SharedByService
  47. registry['sharedby-co_6'] = SharedBy6Service
  48. registry['mysp-ac'] = MyspAcService
  49. registry['alturl-com'] = AlturlService
  50. registry['tinyurl-hu'] = TinyurlHuService
  51. registry['tinyurl-hu_4'] = TinyurlHu4Service
  52. registry['goo-gl'] = GooglService