Python microservice framework
Project description
What is this package for
This package basically an umbrella for other packages. Ensure basic helpers for them like configuration, context, decorators, etc.
The ecosystem
Schema validation, serialization
With this module you can define schemas then you can validate and serialize your data.
Restful web framework
This module ensure a routing and dispatching through defined resources. Baased on schema you can define interface which would be validate. It’s an independent solution could work with Flask, Django or even Odoo.
Swagger builder
If you know Swagger then you know in python world there is not that easy to use that. You have to make your documentation by hand. This package aim to make it much more easier.
Installation
$ pip install pyrs
Extending the exist functionality
The pyrs.ext and the pyrs itself are namespace packages. If you would like to extend an exist functionality of a package check that given package documentation for further information.
If you would like to implement a new funcionality, just create a new package inside pyrs package. Make sure the pyrs package still remain namespace package.
Dependencies
See requirements.txt. But The goal is less dependency as possible. Aim to work with python 2.7, 3.3, 3.4+ (tested agains them).
Important caveats
This code is in beta version. I working hard on write stable as possible API in the first place but while this code in 0.x version you should expect some major modification on the API.
Contribution
I really welcome any comments! I would be happy if you fork my code or create pull requests. I’ve already really strong opinions what I want to achieve and how, though any help would be welcomed.
Feel free drop a message to me!
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
File details
Details for the file pyrs-0.4.tar.gz
.
File metadata
- Download URL: pyrs-0.4.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1405890aef797ed53f9fd69f10b6431bd07dc06d5137852e65fcc6def2aeb1d |
|
MD5 | a412a58da44dd83199c5367436e0f190 |
|
BLAKE2b-256 | a4dc34f5d1e69fc4a7e51ec09f408567bbfa276cca11855dc8d9a8932b738c7b |