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.0rc10.tar.gz (177.2 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.0rc10-py2.py3-none-any.whl (77.6 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: nameko-3.0.0rc10.tar.gz
  • Upload date:
  • Size: 177.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for nameko-3.0.0rc10.tar.gz
Algorithm Hash digest
SHA256 3674a53cf3c9676f3b39ea3bd2571ce7d85e141fb3c6f1215ede4c2fc0349998
MD5 06f28d81a45e4ebd4e491f01b0e81a55
BLAKE2b-256 2b63bc2c9a39e872714aa59dedd7ca42414b2da5d0109fbf24b1e6401fd18dee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nameko-3.0.0rc10-py2.py3-none-any.whl
  • Upload date:
  • Size: 77.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for nameko-3.0.0rc10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f0b804904e4095a3c829947ab17714ee77c2998fa037ee35f6debaac8f3b1081
MD5 6d9baa9ad5d8f127dc8e5091a883251d
BLAKE2b-256 99c82ce7b3a234ca1917f460af7cc017d942398e3629b616ebb8b5c656762b52

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