Skip to main content

A Flask extension for Venom RPC

This extension currently supports synchronous request/reply only.

from flask import Flask
from flask_venom import Venom
from venom.rpc import Service
from venom.rpc import http

app = Flask(__name__)

class HelloService(Service):
    @http('GET')
    def say_hello(self) -> str:
        return 'Hello!'

venom.add(HelloService)
venom = Venom(app)

if __name__ == "__main__":
    app.run()

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Flask-Venom-1.0.2.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file Flask-Venom-1.0.2.tar.gz.

File metadata

  • Download URL: Flask-Venom-1.0.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Flask-Venom-1.0.2.tar.gz
Algorithm Hash digest
SHA256 515fb1582fbe5597649ef6f08787073fb9bcbcf0ac7c6248f889b7af56948f0d
MD5 72c2441593ac157831db9fc9ac3f3663
BLAKE2b-256 ef439dd6d9fc7d4728ee50356ead296e2ea577a7cdb54644f967e404d717e192

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 file

1.0.1

1 file

1.0.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page