This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import logging | |
| import time | |
| import urlparse | |
| from birdy.twitter import AppClient | |
| from birdy.twitter import TwitterRateLimitError, TwitterClientError | |
| from delorean import parse, epoch | |
| """ | |
| Utilization: | |
| searcher = TwitterSearcher( | |
| TWITTER_CONSUMER_KEY, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| # An pure python implemetation of Dynamic Time Warpping | |
| # http://en.wikipedia.org/wiki/Dynamic_time_warping | |
| class Dtw(object): | |
| def __init__(self, seq1, seq2, distance_func=None): | |
| ''' | |
| seq1, seq2 are two lists, | |
| distance_func is a function for calculating |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """[application description here]""" | |
| __appname__ = "[application name here]" | |
| __author__ = "Stephan Sokolow (deitarion/SSokolow)" | |
| __version__ = "0.0pre0" | |
| __license__ = "GNU GPL 3.0 or later" | |
| import logging |