Skip to main content

Socket server entrypoints for nameko services

Project description

nameko-socket-server

Entrypoints for access via simple sockets

Usage

from nameko_socket_server import socket_command

class MyService(object):
    @socket_command('hello')
    def hello(self):
        return 'hello world'
$ echo 'hello' | nc localhost 6000; echo
hello world

Project details


Download files

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

Source Distribution

nameko-socket-server-0.1.1.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file nameko-socket-server-0.1.1.tar.gz.

File metadata

File hashes

Hashes for nameko-socket-server-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0759ce742c5f6f47cdf7cdc07e15c5886f5ca5a87b4c8edfed9456511525b52a
MD5 8737588342b6e10c7cc41c8e6ecc7e7a
BLAKE2b-256 7f23d47a1d9b9b3f75262688e3b5d87d6bff419293f8e563cb331fb6d5888bd4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page