Skip to content

Readable HTTP server library for lightweight applications

License

Notifications You must be signed in to change notification settings

sawatzkylindsey/otter

Repository files navigation

Otter

Readable HTTP server library for lightweight applications.

Usage

# Run a server:
# -hosted at localhost:8080
# -Api endpoints rooted at /api
# -resources served from the relative path /resources
# -a single Api handler Echo located at /api/echo

otter.server.run_server(8080, "api", "resources", {
    "echo": otter.handler.Echo(),
})

About

Readable HTTP server library for lightweight applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published