An open API service indexing awesome lists of open source software.

https://github.com/stephane-klein/aiohttp-apscheduler-playground

In this Python project playground, I launch APScheduler with AIOHTTP server
https://github.com/stephane-klein/aiohttp-apscheduler-playground

aiohttp-server apscheduler playground python

Last synced: about 1 year ago
JSON representation

In this Python project playground, I launch APScheduler with AIOHTTP server

Awesome Lists containing this project

README

          

# AIOHTTP and APScheduler playground

In this Python project playground, I launch [APScheduler](https://github.com/agronholm/apscheduler) with [AIOHTTP](https://docs.aiohttp.org/en/stable/) server.

```sh
python -m venv ./.pyenv/
source .pyenv/bin/activate
```

```sh
$ python main.py
Tick! The time is: 2021-04-19 00:07:13.720153
Tick! The time is: 2021-04-19 00:07:16.713943
Tick! The time is: 2021-04-19 00:07:19.721333
Tick! The time is: 2021-04-19 00:07:22.717949
```

In another terminal:

```sh
$ curl http://0.0.0.0:8080/foobar
Hello, foobar%
```