Skip to main content
http://img.shields.io/travis/eleme/archerv2/master.svg?style=flat

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

Archer is super easy to use

Save in a hello.py:

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

@app.api('ping')
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
$ archerv2 run
* Running on 127.0.0.1:6000/

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:

$ archerv2 call ping

* pong

Use the client shell

Jump into shell with client at your hand:

$ archerv2 client
>>> client.ping()

Pretty cool, eh!

Release files for archerv2 0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for archerv2 0.6
File Size Uploaded
archerv2-0.6.tar.gz 10.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for archerv2 0.6
File Interpreter ABI Platform
archerv2-0.6-py2-none-any.whl Python 2 none any Details

Total release size: 26.0 kB

Release files / archerv2-0.6.tar.gz

Download URL archerv2-0.6.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
60c94bad72e1505a1657786e417150326f00ec5420a43688f3369767925efe52
BLAKE2b-256 checksum
How to use checksums
2e2c24d99a672f3631bc9f84e591e88d56f6d324a1135e704fd0df6128aeb4d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / archerv2-0.6-py2-none-any.whl

Download URL archerv2-0.6-py2-none-any.whl
Size 15.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
6e2c0aceabf8f91a27770cb811401221797f1ee965cc4c919e49578f3211a302
BLAKE2b-256 checksum
How to use checksums
b1f1ce616f796feb6720d5a675bcc37ecc06b5e6b4d77a11b0d826d0d8fdc15c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.6 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page