Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/cs50victor/oi_server


https://github.com/cs50victor/oi_server

Last synced: 2 days ago
JSON representation

Awesome Lists containing this project

README

        

# Run server

- `brew install uv pre-commit`
- `pre-commit install`
- `uv run examples/basic.py`
- `uv run pytest tests -q`

if using the oi_server on a unix system, you can import uvloop and add this to the top of you server file

```python
import uvloop # uvloop makes asyncio 2-4x faster.
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
```