[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
Check out the documentation.
Support
For help, comments or questions, please go to <https://discourse.nameko.io/>.
Contribute
Fork the repository
Raise an issue or make a feature request
License
Apache 2.0. See LICENSE for details.
Metadata
Release files for nameko 2.12.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nameko-2.12.0.tar.gz | 164.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nameko-2.12.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 238.5 kB
Release files / nameko-2.12.0.tar.gz
| Download URL | nameko-2.12.0.tar.gz |
|---|---|
| Size | 164.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6acd3aed2eb6652d579e19dc74ae192c78010788c38324beacd0f5aeeb4a0c2b
|
|
BLAKE2b-256 checksum How to use checksums |
0612399fcfd4c04d2a66d8f13cd4c84d2ba1a7a4987b16a870b489ee7a86c751
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.14
|
Release files / nameko-2.12.0-py2.py3-none-any.whl
| Download URL | nameko-2.12.0-py2.py3-none-any.whl |
|---|---|
| Size | 74.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
6ed020c53f31ac9d3bb552b0e2242b7c0ac75943aa52f53e38f30ef0c997b780
|
|
BLAKE2b-256 checksum How to use checksums |
f2e731ad43f8f457b770efb7e5e8911c789a3a70855ada716e75f51f7a8f19f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.14
|