Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

waspy

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

waspy

Async Microservices Framework

  • 0.45.5
  • PyPI
  • Socket score

Maintainers
2

WASPy

Waspy is the python framework for the WASP project. 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:

  • HTTP Transport
  • Routing
  • RabbitMQ transporty
  • Support middlewares
  • Client library (for calling other services)
  • HTTP client transport (with envvar service discovery)
  • 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
  • Transport classes for gRPC
  • pattern for synchronous "worker-tier"
  • configuration package
  • auto-reloading when in debug mode
  • 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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc