Skip to main content

Thrift app the flask way

Project description

Archer is a micro RPC framework inspired by Flask based on Thrift.

Archer is super easy to use

Save in a

from archer import Archer
app = Archer('PingPong')

def ping():
    return 'pong'

Save in a hello.thrift:

service PingPong {
    string ping(),

Archer would find the thrift file for you, and relying on Thriftpy to generate code on the fly.

And Easy to Setup

And run it:

$ pip install Archer
$ archer run
* Running on

Archer would find the app instance to start a dev server, and reload it when detecting changes on your python or thrift file.

Quick to get some feedback

Just run the command:

$ archer call ping

* pong

Use the client shell

Jump into shell with client at your hand:

$ archer client

Pretty cool, eh!

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

archer-0.5.tar.gz (10.9 kB view hashes)

Uploaded source

Built Distribution

archer-0.5-py2-none-any.whl (15.1 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page