Skip to content
Python framework for building microservices
Python Makefile
Branch: master
Clone or download
Latest commit 3ae9bb7 Aug 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
docs Fix Pytest link (#654) Aug 16, 2019
nameko Fix Python 3.7 warning on collections.abc (#649) Jul 22, 2019
test
.coveragerc Bump min eventlet (#557) Aug 6, 2018
.gitignore AMQP SSL (#524) May 30, 2018
.isort.cfg
.travis.yml
CHANGES
CONTRIBUTORS.txt
LICENSE.txt Fix license (#586) Nov 8, 2018
MANIFEST.in
Makefile
NOTICE.txt Fix license (#586) Nov 8, 2018
README.rst Add security disclosure process Jun 10, 2019
RELEASING.rst first stab at release instructions Nov 19, 2016
pylintrc
rtd_requirements.txt
setup.cfg Deprecation warnings (#613) Apr 6, 2019
setup.py Deprecation warnings (#613) Apr 6, 2019
tox.ini

README.rst

Nameko

https://secure.travis-ci.org/nameko/nameko.svg?branch=master

[nah-meh-koh]

A microservices framework for Python that lets service developers concentrate on application logic and encourages testability.

A nameko service is just a class:

# helloworld.py

from nameko.rpc import rpc

class GreetingService:
    name = "greeting_service"

    @rpc
    def hello(self, name):
        return "Hello, {}!".format(name)

You can run it in a shell:

$ nameko run helloworld
starting services: greeting_service
...

And play with it from another:

$ nameko shell
>>> n.rpc.greeting_service.hello(name="ナメコ")
'Hello, ナメコ!'

Features

  • AMQP RPC and Events (pub-sub)
  • HTTP GET, POST & websockets
  • CLI for easy and rapid development
  • Utilities for unit and integration testing

Getting Started

Support

For help, comments or questions, please go to <https://discourse.nameko.io/>.

Security contact information

To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.

Contribute

  • Fork the repository
  • Raise an issue or make a feature request

License

Apache 2.0. See LICENSE for details.

You can’t perform that action at this time.