[](https://travis-ci.org/inventive-ninja/interest)
[](https://coveralls.io/r/inventive-ninja/interest?branch=master)
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 `server.py`:
```python
# server.py
from interest import Service, http
class Service(Service):
# Public
@http.get('/')
def hello(self, request):
return http.Response(text='Hello World!')
# Listen forever
service = Service()
service.listen(host='127.0.0.1', port=9000, override=True, forever=True)
```
Run the server in the terminal and use another to interact:
```
$ python server.py
...
$ curl -X GET http://127.0.0.1:9000/; echo
Hello World!
...
```
## Read more
Please visit Interest's developer hub to get docs, news and support:
[Developer Hub](https://interest.readme.io/)
## Contributing
Please read the contribution guideline:
[How to Contribute](CONTRIBUTING.md)
Thanks!
Metadata
Release files for interest 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| interest-0.0.1.tar.gz | 20.7 kB | Without provenance | Details for interest-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| interest-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for interest-0.0.1-py3-none-any.whl |
Total release size: 53.8 kB
Release files / interest-0.0.1.tar.gz
| Download URL | interest-0.0.1.tar.gz |
|---|---|
| Size | 20.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2b2e9b2ac0178d2965da0c2c9ac2e01450f5910427b01b863d39dc51e1efb99
|
|
BLAKE2b-256 checksum How to use checksums |
ec42795c82aeb42887e9b71b2e4e1121c5f27d490fb8c7a45da0de6712bf8970
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / interest-0.0.1-py3-none-any.whl
| Download URL | interest-0.0.1-py3-none-any.whl |
|---|---|
| Size | 33.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1ee674a0a0964150fa8ad491230f9692467ae080e82f2b4208e51b084c965b1d
|
|
BLAKE2b-256 checksum How to use checksums |
a1efeb992ae2ae996fb14b69a7d8aab8df0e41a2afbefc612082f92cf46c5c34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for interest 0.0.1
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.