Skip to main content

Interest is a event-driven web framework on top of aiohttp/asyncio.

Project description

# Interest


Event-driven web framework on top of aiohttp/asyncio.

## Features

- event-driven on top of aiohttp/asyncio
- consistent, modular and flexible flow model, class-based
- configurable and pluggable

## Example

Install interest package:

$ pip install interest

Save the following code as ``:

from interest import Service, http

class Service(Service):

# Public

def hello(self, request):
return http.Response(text='Hello World!')

# Listen forever
service = Service()
service.listen(host='', port=9000, override=True, forever=True)

Run the server in the terminal and use another to interact:

$ python
$ curl -X GET; echo
Hello World!

## Read more

Please visit Interest's developer hub to get docs, news and support:

[Developer Hub](

## Contributing

Please read the contribution guideline:

[How to Contribute](


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

interest-0.0.1.tar.gz (20.7 kB view hashes)

Uploaded source

Built Distribution

interest-0.0.1-py3-none-any.whl (33.2 kB view hashes)

Uploaded 3 5

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page