FastAPI alternative in Julia

Hello from the future!

I recently released a package just for that purpose, it’s called Oxygen.jl. It’s a micro-framework built on top of the HTTP.jl library. The API itself was designed to closely resemble FastApi.

Features

  • Straightforward routing (@get, @post, @put, @patch, @delete and @route macros)
  • Out-of-the-box JSON serialization & deserialization
  • Optional type definition support for Path parameters
  • Helper functions to parse & transform the body of requests & responses
  • Hosting static files
  • Built-in multithreading support

In the future, it may not always depend on HTTP.jl. I have some ambitious ideas which may include replacing HTTP.jl with a rewrite of starlette in julia. But for the time being, I’m focusing more on practical and developer-focused features to add to the framework

18 Likes