[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="Matt")
'Hello, Matt!'
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 use the mailing list on google groups.
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.4.3
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.4.3.tar.gz | 125.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nameko-2.4.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 189.3 kB
Release files / nameko-2.4.3.tar.gz
| Download URL | nameko-2.4.3.tar.gz |
|---|---|
| Size | 125.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9662aa461e78243db9514779221003a0c05cb4453ca1b2bb288625d8926b04ea
|
|
BLAKE2b-256 checksum How to use checksums |
e4459955380ece16d30bc690187ee5bde489409d3069c144100d1339270d38ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / nameko-2.4.3-py2.py3-none-any.whl
| Download URL | nameko-2.4.3-py2.py3-none-any.whl |
|---|---|
| Size | 63.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f43f8c25b85778eae7e816845ac6bb23eaa7cf84065e0ded6cadd550f4e3e202
|
|
BLAKE2b-256 checksum How to use checksums |
6c08c0edf6321afa6b34d3ec1ef9af8a82fb951c07697e7250ef5a81c837aee4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |