Skip to main content

Obligatory Sinatra style (but concurrent!) micro-web framework for Vanilla.

Example

h = vanilla.Hub()
b = h.bean(port=8000)

@b.get('/')
def index(request):
    response = request.response()
    response.send('Hello ')
    h.sleep(1000)
    response.send('World\n')
terminal

Websockets

h = vanilla.Hub()
b = h.bean(port=8000)

@b.websocket('/echo')
def echo(ws):
    while True:
        ws.send(ws.recv())

Installation

pip install vanilla.bean

Metadata

Release files for vanilla.bean 0.1.3

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

Source distribution (sdist)

Source distribution for vanilla.bean 0.1.3
File Size Uploaded Provenance Actions
vanilla.bean-0.1.3.tar.gz 3.3 kB Without provenance Details for vanilla.bean-0.1.3.tar.gz

Release files / vanilla.bean-0.1.3.tar.gz

Download URL vanilla.bean-0.1.3.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0d74b8ce66de0284be64004c40f595f74e3c17caea53db7b9d391ad7828e219a
BLAKE2b-256 checksum
How to use checksums
493e539c91a690897892fa344e9ce787e68a6dab1d0bc6ecc941f6316268110a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for vanilla.bean 0.1.3

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