Skip to main content

:rocket: RestfulApi :facepunch:


Install

pip install iapp -U

Usage

import jieba
from iapp import App

pred1 = lambda **kwargs: kwargs['x'] + kwargs['y']
pred2 = lambda x=1, y=1: x - y
pred3 = lambda text='小米是家不错的公司': jieba.lcut(text)

app = App(debug=True)
app.add_route("/f1", pred1, version="1")
app.add_route("/f2", pred2, version="2")
app.add_route("/f3", pred3, version="3")

app.run()

Metadata

Release files for iapp 0.0.1565836593

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

Source distribution (sdist)

Source distribution for iapp 0.0.1565836593
File Size Uploaded Provenance Actions
iapp-0.0.1565836593.tar.gz 3.2 kB Without provenance Details for iapp-0.0.1565836593.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for iapp 0.0.1565836593
File Interpreter ABI Platform Actions
iapp-0.0.1565836593-py3-none-any.whl Python 3 none any Details for iapp-0.0.1565836593-py3-none-any.whl

Total release size: 7.4 kB

Release files / iapp-0.0.1565836593.tar.gz

Download URL iapp-0.0.1565836593.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8cea44570f3533ff753c1738d5ab171f7077a4bd477456bb312d5d880f7e804a
BLAKE2b-256 checksum
How to use checksums
33f809c30214468c97527167b34d379373096bfba2791f1581cd251ea1fcd631
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

Release files / iapp-0.0.1565836593-py3-none-any.whl

Download URL iapp-0.0.1565836593-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6217adcf46459ad2489ea326d18fea699ebbd0419159673d5670576445882128
BLAKE2b-256 checksum
How to use checksums
cda6483dfb37bb7a87e1fe8158158fe5bf796aa22b853864706b4cd2d6bd7ad6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

Security for iapp 0.0.1565836593

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.

Release history Release notifications | RSS feed

This release
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