Buckets:
AnonymousSpottedToad/human_verified_bucket / codebase /python /nijaru_zenith /benchmarks /dev_mode_app.py
| """Development mode app for benchmarking (minimal middleware).""" | |
| import os | |
| os.environ["ZENITH_ENV"] = "development" | |
| os.environ["SECRET_KEY"] = "benchmarksecretkey12345678901234" | |
| from zenith import Zenith | |
| app = Zenith(debug=False) # No debug to skip RequestLogging | |
| async def hello(): | |
| return {"message": "Hello, World!"} | |
| async def json_response(): | |
| return { | |
| "users": [ | |
| {"id": i, "name": f"User {i}", "email": f"user{i}@example.com"} | |
| for i in range(10) | |
| ], | |
| "total": 10, | |
| "page": 1, | |
| } | |
| if __name__ == "__main__": | |
| import uvicorn | |
| uvicorn.run(app, host="127.0.0.1", port=8203, log_level="warning") | |
Xet Storage Details
- Size:
- 708 Bytes
- Xet hash:
- 5f966b0007f6e74d8c5ddddd8ce4e4fb50685859bb65f675a09896714b5cc20a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.