Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cs50victor/oi_server
https://github.com/cs50victor/oi_server
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cs50victor/oi_server
- Owner: cs50victor
- License: mit
- Created: 2024-08-25T23:43:49.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-03T07:21:48.000Z (4 months ago)
- Last Synced: 2024-11-14T11:36:42.325Z (2 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())
```