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!
Links
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| archerv2-0.6.tar.gz | 10.8 kB | Without provenance | Details for archerv2-0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| archerv2-0.6-py2-none-any.whl | Python 2 | none | any | Details for archerv2-0.6-py2-none-any.whl |
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 |
Security for archerv2 0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.