Skip to content

erans/thriftify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Thriftify

Thrift compiler as a service.
Help you avoid compiling the whole thrift package just to get thrift bindings for a thrift IDL file.

Written by Eran Sandler (@erans)
http://eran.sandler.co.il
http://forecastcloudy.net (@forecastcloudy)

Inspired by a set of tweets by @scode and @rantav
https://twitter.com/rantav/status/189643309172539392

Contributors

Installation

  • Install tornado (sudo pip install tornado, or see http://www.tornadoweb.org/)
  • Install simplejson (sudo easy_install simplejson, or pip install)
  • Install thrift (http://thrift.apache.org/docs/install/). YMMV but here's a simple recepie for OS X using brew:
    • brew update
    • brew install boost
    • brew install libevent
    • Download thrift from http://thrift.apache.org/download/ and unzip
    • cd thrift-x.x.x
    • ./configure --prefix=/usr/local/ --with-boost=/usr/local/Cellar/boost --with-libevent=/usr/local/Cellar/libevent --disable-static
    • make install
    • validate and run thrift from: /usr/local/bin/thrift
  • Copy prod_settings.py to settings.py (or symlink, YMMV).
  • Run src/thriftify.py

About

Thrift Compiler as a Service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published