Skip to content

Ermine Web Framework

Notifications You must be signed in to change notification settings

cheetahbyte/ermine

Repository files navigation

Ermine

Easy, fast, stable



Ermine is designed to provide the user with the greatest possible comfort when creating Rest APIs or entire websites. Everything is simple and, above all, intuitively designed. No focus on superfluous configurations. Everything works, simply.

🔑 Key features

  • intuitive, due to the clear design
  • simple, due to the fast learning curve
  • practical, through the great editor support
  • minimalistic, no superfluous functions

What is Ermine and what is not

Ermine is not a HighSpeed framework. Ermine is probably not ready for production. Ermine is a spare time project of mine. Ermine is self-contained. It doesn't need anything, except for an ASGI server. So it's like Starlette. I would appreciate if you use Ermine, try it and give me your feedback.

Participate in Ermine

You are welcome to collaborate on Ermine. However, you should maintain the codestyle, and also follow PEP 8 (the Python style guide).

Ermine disadvantages

Ermine is still deep in development, which is why some features are still missing.

  • Websockets

Examples

Here is the most basic example of ermine

fromermineimportErmine, Requestapp=Ermine() @app.get("/home")asyncdefhome(): return"Welcome home"

You want to build a RestAPI? No problem

fromermineimportErmine, Requestapp=Ermine() @app.get("/api")defapi(): return{"name": "Leo", "age": 16}

You want to send HTML files? Ermine got your back

fromermineimportErmine, Requestfromermine.responsesimportHTMLResponseapp=Ermine() templates=FoxTemplates("templates") @app.get("/html")asyncdefhome(): withopen("home.html", "r") asf: data=f.read() returnHTMLResponse(data)

You want to use some templates ? You want to load templates? No problem with Fuchs

fromermineimportErmine, Requestfromermine.templatingimportFoxTemplatesapp=Ermine() templates=FoxTemplates("templates") @app.get("/home")asyncdefhome(): returntemplates.render("home.html", name="Leo")

Changes incoming

Join our discord !

Ermine

About

Ermine Web Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages