Archer
Archer is a micro RPC framework inspired by Flask based on Thrift.
Archer is super easy to use
Save in a hello.py:
from archer 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
$ archer 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:
$ archer call ping
* pong
Use the client shell
Jump into shell with client at your hand:
$ archer client
>>> client.ping()
Pretty cool, eh!
Links
Metadata
Release files for archer 0.5
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 | |
|---|---|---|---|---|
| archer-0.5.tar.gz | 10.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| archer-0.5-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 26.0 kB
Release files / archer-0.5.tar.gz
| Download URL | archer-0.5.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5b0bc783165fed31b53d75e45d5a37f696de3bd08a4bf340bcf4650f3c4b29c
|
|
BLAKE2b-256 checksum How to use checksums |
409dfb090d9caab579ec7dfb8ea6d2513f3c23c2f629fa13558b419652e7cc74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / archer-0.5-py2-none-any.whl
| Download URL | archer-0.5-py2-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
1de2badcbb57e09e0fb4d2b675da3faf63525d4c262c54c29e545bb9a9fef341
|
|
BLAKE2b-256 checksum How to use checksums |
50c3b728a7ced1b0328bc2836a86b9885e7afeee3f20d277000aa68bcf504310
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for archer 0.5
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.