Skip to content

A boilerplate micro-service you can use for your distributed systems, built with Python 3+

License

Notifications You must be signed in to change notification settings

boscorona/microservice-python-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microservice Template - Python 3 (WIP)

A template micro-service you can use for your distributed systems, built with Python 3+. Built around the principles outlined in Microservice chassis on par with Spring Boot (Java) or Gizmo (Golang).

TODO: Python Microservices With gRPC

General Challenges Solved:

  • Externalized configuration (TODO)
  • Logging
  • Health checks (TODO)
  • Metrics (TODO)
  • Distributed tracing (TODO)

Install

$ virtualenv new -p python3.8 py-service
$ pip3 install -r requirements.txt

Run

$ uvicorn main:app --reload --host 0.0.0.0 --port 8000 --log-level='info' 

Run Tests

$ python3 test.py

About

A boilerplate micro-service you can use for your distributed systems, built with Python 3+

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages