Takumi: Thrift service framework
This package defines the interfaces for writing Takumi thrift services.
Install
pip install takumi
Example
To define a simple app:
# app.py
from takumi import Takumi
app = Takumi('TestService')
@app.api
def say_hello(name):
return 'Hello ' + name
To Run the app, install takumi-cli first, then create the following config:
# ping.thrift
service TestService {
string say_hello(1: required string name)
}
# app.yaml
app_name: test_app
app: app:app
thrift_file: ping.thrift
Run the following command:
$ takumi serve
Metadata
Release files for takumi 0.1.8
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 | |
|---|---|---|---|---|
| takumi-0.1.8.tar.gz | 8.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| takumi-0.1.8-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 19.9 kB
Release files / takumi-0.1.8.tar.gz
| Download URL | takumi-0.1.8.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f33167591bc0a8f3ac231c34576720225d9845e6d58882e4bd516865f21a503e
|
|
BLAKE2b-256 checksum How to use checksums |
f497dc5183b5ff350a2a68dd64089d44812e9133a5d3acdf54bcbc8856ef20f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.8.1 pkginfo/1.4.1 requests/2.13.0 setuptools/36.2.7 requests-toolbelt/0.7.1 clint/0.5.1 CPython/3.4.3 Darwin/16.7.0
|
Release files / takumi-0.1.8-py2.py3-none-any.whl
| Download URL | takumi-0.1.8-py2.py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
dd302181188af3bf9d31e7695cdb3af06e9b534ff4fcfdf70abe1efd31dbb232
|
|
BLAKE2b-256 checksum How to use checksums |
6eae8c923b0eb5e06e9f51fe0b94e4430513c7346889ccd05f76b5f3f062a36f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.8.1 pkginfo/1.4.1 requests/2.13.0 setuptools/36.2.7 requests-toolbelt/0.7.1 clint/0.5.1 CPython/3.4.3 Darwin/16.7.0
|
Security for takumi 0.1.8
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.