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-3.0.0rc9.tar.gz (164.5 kB view details)

Uploaded Source

Built Distribution

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

nameko-3.0.0rc9-py2.py3-none-any.whl (75.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file nameko-3.0.0rc9.tar.gz.

File metadata

  • Download URL: nameko-3.0.0rc9.tar.gz
  • Upload date:
  • Size: 164.5 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.50.2 CPython/3.6.7

File hashes

Hashes for nameko-3.0.0rc9.tar.gz
Algorithm Hash digest
SHA256 48477c87281d38fb262be638127263621d75e75613075f16e397acf6ae0784ea
MD5 13f3e1b64d27d233b83a0d12543abdc5
BLAKE2b-256 f943d5b94cd800a2ccdba3477bc027591d0032507c84f11ceab9efee4466f233

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nameko-3.0.0rc9-py2.py3-none-any.whl
  • Upload date:
  • Size: 75.9 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.50.2 CPython/3.6.7

File hashes

Hashes for nameko-3.0.0rc9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 780071303f5a3befc206ac8c87b63ea3fbc41d2d3fe868709afd3747b7f56a3d
MD5 0bf3dd5f4b03c1a0d2d99fc3a619cec9
BLAKE2b-256 db1b322b733e39e2bdfe6cfb59d9468c2cc457dd15aba561a457b6c3afb7864c

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