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
- Host: GitHub
- URL: https://github.com/stephane-klein/aiohttp-apscheduler-playground
- Owner: stephane-klein
- Created: 2021-04-18T22:11:41.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-18T22:13:09.000Z (about 5 years ago)
- Last Synced: 2025-01-28T11:31:23.961Z (over 1 year ago)
- Topics: aiohttp-server, apscheduler, playground, python
- Language: Python
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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%
```