Skip to main content

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

Metadata

Release files for waspy 0.45.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for waspy 0.45.5
File Size Uploaded Provenance Actions
waspy-0.45.5.tar.gz 29.5 kB Without provenance Details for waspy-0.45.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for waspy 0.45.5
File Interpreter ABI Platform Actions
waspy-0.45.5-py3-none-any.whl Python 3 none any Details for waspy-0.45.5-py3-none-any.whl

Total release size: 64.5 kB

Release files / waspy-0.45.5.tar.gz

Download URL waspy-0.45.5.tar.gz
Size 29.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c67bd104c222cbdaa947dfc8b6916b9516a375b1bf07a79854d78ce18e39885b
BLAKE2b-256 checksum
How to use checksums
7939ad5ed55a9864c05e3bf79dc2692f6d81843ec2954081fedd5620066dd183
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.8.0 Linux/5.4.1-arch1-1

Release files / waspy-0.45.5-py3-none-any.whl

Download URL waspy-0.45.5-py3-none-any.whl
Size 35.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d099806b3f0d4a3074a6dc93301843c0748f777481ff22ae91e65d9e706c1ebd
BLAKE2b-256 checksum
How to use checksums
30ed31551ecfd8f5ebd15101b7487388c397511ae84abfe1df83fd49fc90e540
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.8.0 Linux/5.4.1-arch1-1

Security for waspy 0.45.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.45.5 This release

2 release files No provenance

0.1.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page