Skip to content

Instantly share code, notes, and snippets.

View code-shoily's full-sized avatar

Code Shoily code-shoily

  • Toronto, ON
  • 08:58 (UTC -04:00)
View GitHub Profile
@code-shoily
code-shoily / gps_server_twisted.py
Last active December 31, 2015 20:38
Twisted version of a much more featured Netty Server I coded a couple of years back. Going to separate out the parsers and Mongofy the DB.
import string
import simplejson
from twisted.internet import protocol, reactor
from twisted.protocols.basic import LineReceiver
from twisted.enterprise import adbapi
from twisted.python import log
TABLE = 'raw_data'