Skip to main content

A microframework based on evil intentions and whatever else you've got

Project description

The world needs another web framework.

—No one, ever. And yet…

Minion is a microframework that grew out of a collection of individually small frustrations with Flask.

Specifically, it aims to be simpler and more composeable than Flask is in the following ways:

  • Call views with arguments rather than thread locals

  • Allow alternative routing implementations

  • Provide a more robust configuration interface

In some ways it’s inspired by Klein's take on Flask more than Flask’s take on Flask.

Example

Here’s the Minion hello world:

from minion.core import Application
from minion.request import Response


app = Application()

@app.route("/")
def index(request):
    return Response("Hello World!")

Versioning

Minion uses SemVer.

Specifically, this means that until v1.0.0 Minion is not guaranteed to be backwards compatible, even in minor releases (or bugfix releases but there probably won’t be any of those).

That being said, nothing will be broken for the hell of it :). Make of that what you will.

After v1.0.0, public API (to be defined later) will not be broken in backwards incompatible ways without a major version bump.

Contributing

I’m Julian Berman.

minion is on GitHub.

Get in touch, via GitHub or otherwise, if you’ve got something to contribute, it’d be most welcome!

You can also generally find me on Freenode (nick: tos9) in various channels, including #python.

If you feel overwhelmingly grateful, you can woo me with beer money on Gittip or via Google Wallet with the email in my GitHub profile.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

minion-0.20.0.tar.gz (23.8 kB view details)

Uploaded Source

Built Distribution

minion-0.20.0-py2-none-any.whl (35.5 kB view details)

Uploaded Python 2

File details

Details for the file minion-0.20.0.tar.gz.

File metadata

  • Download URL: minion-0.20.0.tar.gz
  • Upload date:
  • Size: 23.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for minion-0.20.0.tar.gz
Algorithm Hash digest
SHA256 1b844542ff8c6dbfc94657ccadf8d4b78952df02482c823b5b8109fd8ff2bfad
MD5 7c8a04faad8d2c913ff26ce7f7dbbf8d
BLAKE2b-256 b1498eeab9637d62cbc252105a62569c86906631ee76e1e8f3ba9a5f857c5066

See more details on using hashes here.

File details

Details for the file minion-0.20.0-py2-none-any.whl.

File metadata

File hashes

Hashes for minion-0.20.0-py2-none-any.whl
Algorithm Hash digest
SHA256 2cb07717bddbb4c05fe64bc9d113360d306955764fdcec0dfcbfd54428863823
MD5 f5c93f01cde93ffa971b85b7b0aa5b83
BLAKE2b-256 e326cf38709de53b9d9a94e595e80acd38e60e60455a7e7c648b32790e5e1263

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page