Various Python scripts for Twister
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
toyg 46ef9c8f47 extracted template, implemented GeoLocationService with OpenStreetMap 10 years ago
README.md Initial checkin 10 years ago
Twistmapper.py extracted template, implemented GeoLocationService with OpenStreetMap 10 years ago
map.html extracted template, implemented GeoLocationService with OpenStreetMap 10 years ago
twistmonitor.py Initial checkin 10 years ago
twistscraper.py extracted template, implemented GeoLocationService with OpenStreetMap 10 years ago

README.md

Twister Python scripts

These are some random scripts for Twister. Prerequisites:

  • Python 3.3.x (might work with 3.2 but it's untested. Probably won't work with 2.x)
  • python-bitcoinrpc
  • feedparser (pip install feedparser will work) -- this is for twistmonitor.py only

HELP!

Feel free to contribute! In particular, map.html is the template for the map of Twister users and could do with some love. For simple tests, just replace

var locations = [];

with

var locations = [ 
    ['<h4>Some Location - 123</h4><small>someuser, someotheruser</small>', 34.0659329, -84.6768796],
    ['<h4>Some Other Location - 456</h4><small>somenick, someothernick</small>', 52.3702157, 4.895167900000001],
  ];