Skip to main content

Why? What?

I’m making a very light-weight internal network service, and am using the amazing flask, as it’s excellent for prototyping such things.

However, I feel like it’s a little over-weight for the simplicity of the task. So, out of curiosity, I’m trying to make a flask-alike server and WSGI microframework which has just enough for these types of projects.

It’s not intended to replace flask, obviously. There’s no point.

But it is intended that for things like this which don’t need a templating language, or any of that, it should be close enough to flask that I can drop this in, and with minimal changes have it running very quickly.

current state:

very very very initial alpha. For pure JSON based views, it’s kind of working. For templating, it’s using pythons string.format instead of jinja2.

Routes currently don’t use variables, but are just a plain lookup.

static files seem to be (initially) working.

mime detection of template types isn’t really working yet.

All that said:

It’s quite fast. (Ha, no surprise, with all those caveats…)

broken stuff:

  • the ‘request’ object is just the pure WSGI environ at the moment.

  • MIME types for templates (and static files)

  • routing <with><vars>

Metadata

Release files for espressocup 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for espressocup 0.0.3
File Size Uploaded
espressocup-0.0.3.tar.gz 4.0 kB Details

Release files / espressocup-0.0.3.tar.gz

Download URL espressocup-0.0.3.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
628032c6434d96556bb4473d00afe023543ea2545b61808855ceb7ca857dc4c1
BLAKE2b-256 checksum
How to use checksums
c884d8f9e51618fa31ab3a91ad1d7732dbe8f70ebe5326015de22ec43fb348ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page