Skip to main content

Async Microservices Framework

Project description

# WASPy

Waspy is the python framework for the [WASP project](https://github.com/wasp/wasp).

In other words its an asynchronous “transport-agnostic” web framework.

## Language agnostic concepts While this framework is for python, the patterns used in wasp are language agnostic. You should be able to call other services in different languages assuming they all follow the same patterns. This framework has a pluggable architecture for the transport layer, which allows you to switch from http to using a message bus, or vice-versa. You could even listen on both at the same time without having to modify your code at all.

## Example Look at examples/ folder for some quick examples, or there is an entire example repo at https://github.com/wasp/waspy-example

## Alpha This project is currently in alpha state. There are a lot of features missing.

Features for beta: - [x] HTTP Transport - [x] Routing - [x] RabbitMQ transporty - [x] Support middlewares - [x] Client library (for calling other services) - [x] HTTP client transport (with envvar service discovery) - [x] RabbitMQ client transport - [ ] Test everything

note: all alpha features are complete, but I am still in the process of adding more robusts tests. Until that is done, waspy will remain in alpha and api’s might change.

Wish List: - [ ] Transport classes for nats (nats.io) - [ ] Transport classes for kafka - [ ] pattern for synchronous “worker-tier” - [x] configuration package - [ ] auto-reloading when in debug mode - [x] sentry integration - [ ] jwt handling

Features for GA (1.0): - [ ] High level “Falcon-like” api for writing RESTFUL endpoints even easier! - [ ] High level can be overridden by lower level for control/performance reasons - [ ] Stable/proven API

## License Apache-2.0

## Installing To install, just run pip install waspy

## Developing python setup.py develop

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

waspy-0.39.1.tar.gz (23.4 kB view details)

Uploaded Source

File details

Details for the file waspy-0.39.1.tar.gz.

File metadata

  • Download URL: waspy-0.39.1.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.7.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.2

File hashes

Hashes for waspy-0.39.1.tar.gz
Algorithm Hash digest
SHA256 56167d2907b35dca437420b69fcc1415c0f652dbf2fc27a2bbb1caaf801ad37d
MD5 8b25fb0eb88d07cff7ffc36f34ddb95f
BLAKE2b-256 a155862aabda19bc33fcd9b7a3fbd565218613c54a418a5ce14d531e6f408640

See more details on using hashes here.

Supported by

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