{"library":"nameko","title":"Nameko","description":"A microservices framework for Python that lets service developers concentrate on application logic and encourages testability. Current stable release is 2.14.1, with a release candidate for 3.0.0 available. Release cadence is irregular, with major updates every few years.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install nameko"],"cli":{"name":"nameko","version":"2.14.1"}},"imports":["from nameko.rpc import rpc","from nameko.cli.main import main"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from nameko.rpc import rpc\nfrom nameko.standalone.rpc import ServiceRpcProxy\n\nclass GreetingService:\n    name = 'greeting_service'\n\n    @rpc\n    def hello(self, name):\n        return f'Hello, {name}!'\n\nif __name__ == '__main__':\n    from nameko.runners import ServiceRunner\n    from nameko.containers import ServiceContainer\n    from nameko.cli.main import run\n    # Run with: nameko run service:GreetingService\n    print('Run with: nameko run <module>:GreetingService')\n","lang":"python","description":"Define a simple RPC service and run it using the nameko CLI.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}