https://github.com/cs50victor/oi_server
https://github.com/cs50victor/oi_server
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cs50victor/oi_server
- Owner: cs50victor
- License: mit
- Created: 2024-08-25T23:43:49.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-09-03T07:21:48.000Z (10 months ago)
- Last Synced: 2025-01-14T04:28:16.469Z (6 months ago)
- Language: Python
- Size: 388 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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())
```