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()
templates = FoxTemplates("templates")
@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()
@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 !
Metadata
Release files for ermine 0.4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ermine-0.4.5.tar.gz | 9.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ermine-0.4.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.8 kB
Release files / ermine-0.4.5.tar.gz
| Download URL | ermine-0.4.5.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c7e67a23873540d50b2872898bf4aac6dd485c6473062cabecbc3f04608afaa
|
|
BLAKE2b-256 checksum How to use checksums |
4f730eca1ae60def84994dd1230e175e5ae685c1961e0fabd490f0646e493782
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.2 Linux/5.16.10-arch1-1
|
Release files / ermine-0.4.5-py3-none-any.whl
| Download URL | ermine-0.4.5-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1baef467bf15710fb91a99dc0985e063c89bda5d1af8365ec9a0fb3a81e121b
|
|
BLAKE2b-256 checksum How to use checksums |
56da27a873027d775e78a00a560370f03f3497acce8bd585ffc0f0c3e84cad88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.2 Linux/5.16.10-arch1-1
|
Security for ermine 0.4.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.