Skip to content

brianz/servant

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 1 commit ahead, 5 commits behind clearcare:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Servant

Build Status

A python package to build services/microservices.

http://blog.brianz.bz/post/introducting-servant/

What exactly is this library? At a very high level servant is:

  • a Python library/framework for authoring and communicating with services
  • to services what Django/Flask/Rails are to web applications
  • designed primarily for internal non-publicly facing services

Servant is actually pretty simple and doesn’t perform much magic. What it does do is give you, the service author, a framework for designing RPC-style services in Python which can run on their own, independently, and are easy to connect to and interface with. In addition, it’s not an opinionated framework so you can choose whatever tooling you’d like in order to author your service. A typical recipe may include:

  • pytest for testing
  • sqlalchemy for talking to the Postgres.

However, you use whatever you want depending on your needs. Servant stays out of your way and deals with executing service calls on behalf of the client.

See the examples folder to see what a service server and client look like.

Servant is currently being used in production at Clearcare and as such, is supported well.

About

Python library for working with services

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%