Giter VIP home page Giter VIP logo

ermine's Introduction

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

from ermine import Ermine, Request

app = Ermine()

@app.get("/home")
async def home():
	return "Welcome home"

You want to build a RestAPI? No problem

from ermine import Ermine, Request


app = Ermine()

@app.get("/api")
def api():
	return {"name": "Leo", "age": 16}

You want to send HTML files? Ermine got your back

from ermine import Ermine, Request
from ermine.responses import HTMLResponse


app = Ermine()
templates = FoxTemplates("templates")

@app.get("/html")
async def home():
	with open("home.html", "r") as f:
		data = f.read()
	return HTMLResponse(data)

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

from ermine import Ermine, Request
from ermine.templating import FoxTemplates

app = Ermine()
templates = FoxTemplates("templates")

@app.get("/home")
async def home():
	return templates.render("home.html", name="Leo")

Changes incoming

Join our discord !

Ermine

ermine's People

Contributors

cheetahbyte avatar syncblaze avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.