Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Flask extension for the Venom RPC framework

Project description

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()

Project details


Release history Release notifications

This version
History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

History Node

1.0.0a1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
Flask-Venom-1.0.2.tar.gz (3.3 kB) Copy SHA256 hash SHA256 Source None Apr 20, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page