A microservices framework for Python that lets service developers concentrate on application logic and encourages testability.
Project description
[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/.
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
Built Distribution
File details
Details for the file nameko-2.14.1.tar.gz
.
File metadata
- Download URL: nameko-2.14.1.tar.gz
- Upload date:
- Size: 177.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2753578bb4dc6b92801aea334d2930b97dfb74486e705edd69198306a9468c88 |
|
MD5 | c696976220f3c277d46ca697f06e9d52 |
|
BLAKE2b-256 | dd7ab6d006130ff6d755336b80895776804e4ee97cffbaa7c68238bb5d02c1b6 |
File details
Details for the file nameko-2.14.1-py2.py3-none-any.whl
.
File metadata
- Download URL: nameko-2.14.1-py2.py3-none-any.whl
- Upload date:
- Size: 76.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3630254828ad3fe7230e8e7aa50ecd9f60dfe09c891ce11f458e70cc760698a5 |
|
MD5 | bc11689eb0ceec2752b956009d215f22 |
|
BLAKE2b-256 | 05bd755954359dd9477f9d8a257c844816137f70c3e8e3d6ce3e8d25eaf4ab92 |