Skip to main content

anyflow

a simplest common middleware framework for python.

HOW-TO-USE

from anyflow import Flow

flow = Flow()

@flow.use()
def middleware_1(ctx, next):
    ctx.state['value'] = 1
    # call the next middleware (middleware_2):
    return next()

@flow.use()
def middleware_2(ctx, next):
    print(ctx.state['value'])
    # next middleware does not exists, call nothing:
    return next()

flow.run()

Metadata

Release files for anyflow 0.2.0

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

Source distribution (sdist)

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

Built distribution (wheel)

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

Total release size: 7.3 kB

Release files / anyflow-0.2.0.tar.gz

Download URL anyflow-0.2.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
97296814df9c1ce81e42e4f12cbe12afb8d9e657854f5faed11aab83a2a77c42
BLAKE2b-256 checksum
How to use checksums
229306130933ec3cb6173997688c6d165a3e4addd8dcbdac773a223df9af2c84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.7 CPython/3.9.6 Windows/10

Release files / anyflow-0.2.0-py3-none-any.whl

Download URL anyflow-0.2.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3aac49dc2b8e6c413cecf958bccc3426a8aa2d169ec4ef47ebe185e96895c425
BLAKE2b-256 checksum
How to use checksums
eb6ba00416754f725eb7a8f420b679db676c166dccaaadf1c7ee2dee868df88f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.7 CPython/3.9.6 Windows/10

Security for anyflow 0.2.0

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.

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