Skip to main content

Powerful REST API microservice on Tornado

Project description

## Powerful REST API *microservice* on Tornado

### Main goal
Sometimes we need to deploy microservices like messenger bots (telegram, facebook), small backends, webhooks and other.
This package contains all you need to setup simple endpoint in minutes with authorization, caching, and improved security.

### Features
- tornado with improved basic handler for easy create REST endpoints
- async non-blocking highly durable and scalable
- handlers versioning (e.g. GET /**v2**/cat?color=blue)
- request validation, answer containerization
- poor documented, sorry :(

### Under the hood
- tornado 5

All features below are optional
- peewee / peewee_async as ORM
- User and session models
- oauth support
- simple redis caching
- sentry integration + telegram reports
- prometheus monitoring

### Testing
1. PYTHONPATH=./microservice python test.py
1. curl localhost:8001/v1/test | json_pp
1. inspect test.py and enjoy


### Getting started
coming soon...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

microservice-0.3.35.tar.gz (23.7 kB view details)

Uploaded Source

File details

Details for the file microservice-0.3.35.tar.gz.

File metadata

  • Download URL: microservice-0.3.35.tar.gz
  • Upload date:
  • Size: 23.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for microservice-0.3.35.tar.gz
Algorithm Hash digest
SHA256 ff614cacce2e0aec1865c6ddaee45ff4e9a93804410e1968e578aa366099ffd7
MD5 57e1640d02505f8ec2523d52f07307ae
BLAKE2b-256 3636ee8138402a32f6bb542a6762635c433adbe47cf48b5e67302df398635832

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page