Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Internet > HTTP (WWW)

    sentry-geo 0.0.0

    Download button

    No screenshots available
    Downloads: 91  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Chris Faulkner | More programs
    BSD License / FREE
    July 3rd, 2012, 22:46 GMT
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    sentry-geo description

    A Sentry plugin that adds support for geo data

    sentry-geo is a Sentry plugin which works with geo data. This adds a sentry_geo.interfaces.Geo interface which allows you to draw maps on your event pages.

    This is just a hack to see how easy it would be to add custom interfaces to Sentry via plugins. Support for additional geo data types could be added, but this is probably not the ideal way to write interfaces.

    Interface

    Geographic points use following interface:

    {
     "sentry_geo.interfaces.Geo": {
     "lat": 12.321,
     "lon": 45.654,
     }
    }


    Install

    Install the package via pip:

    pip install sentry-geo

    Add sentry_geo to your INSTALLED_APPS:

    INSTALLED_APPS = (
     # ...
     'sentry',
     'sentry_geo',
    )


    You'll need to add the following lines to your urls.py:

    import sentry_geo
    sentry_geo_static_root = os.path.join(os.path.dirname(sentry_geo.__file__), 'static')

    urlpatterns = patterns('',
     url(r'^_sentry_geo_static/(?P< path >.*)$', generic.static_media,
     kwargs={'root': sentry_geo_static_root},
     name='sentry-geo-static'),
    ) + urlpatterns


    I'm still looking for a solution that doesn't involve overwriting urls.py.


    Product's homepage

    Requirements:

    · Python
    · Sentry

      


    TAGS:

    geo data | Sentry plugin | Sentry | geo | data

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM