Skip to content

Instantly share code, notes, and snippets.

@akatzbreaker
akatzbreaker / AnimetricsAPI.py
Created January 18, 2014 23:21
Animetrics API Wrapper for Python. Face Recognition Made Easy! :) Every Method from the API is Included!
import urllib
import urllib2
try:
import json
except:
import simplejson as json
# First, Get your API Key for free from: api.animetrics.com
# See at the very below section for HOWTO.
@akatzbreaker
akatzbreaker / nltpe.py
Created June 24, 2013 09:58
Natural Language Time Parser (in English!)
import re, fileinput
import pyPEG
from pyPEG import parse, parseLine
from pyPEG import keyword, _and, _not, ignore
import datetime
## Taken from https://gist.github.com/bertspaan/3059017 and translated to English. It is Working well BUT if you find any errors, please comment!
numbers = [
"zero",