Skip to main content

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

Project description

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/>.

For enterprise

Available as part of the Tidelift Subscription.

The maintainers of Nameko and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.

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.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

nameko-2.13.0.tar.gz (165.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nameko-2.13.0-py2.py3-none-any.whl (74.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file nameko-2.13.0.tar.gz.

File metadata

  • Download URL: nameko-2.13.0.tar.gz
  • Upload date:
  • Size: 165.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.7

File hashes

Hashes for nameko-2.13.0.tar.gz
Algorithm Hash digest
SHA256 46acf57d9acdfe0069b4982149b470ce80921e64a524a5ce19a27c938a637b8d
MD5 380cc6a3cad0bf28f905814da3262af6
BLAKE2b-256 6a0ccf5bbcfc6bcfd5c6b74914ee96cc7ba57d7bdd9bdfe611ca83365601a279

See more details on using hashes here.

File details

Details for the file nameko-2.13.0-py2.py3-none-any.whl.

File metadata

  • Download URL: nameko-2.13.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 74.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.7

File hashes

Hashes for nameko-2.13.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 56ba6a7bf7a06227bde8f50a94ea9457b5e637b8d670c6d19ac1482bed0f5465
MD5 e22bbfe123fcb3d14d16429295b7aafb
BLAKE2b-256 1ef2261280ebcafdb2549bc184277274d075edcc65c644dff4d874d0bb5e7ca3

See more details on using hashes here.

Supported by

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