Skip to main content

Juno Python Web Framework built for learning purposes.

Project description

Juno: Python Web Framework built for learning purposes

Installation

pip install juno_mutekey

How to use it

Basic usage:

from bumbo.api import API

app = API()


@app.route("/home")
def home(request, response):
    response.text = "Hello from the HOME page"


@app.route("/hello/{name}")
def greeting(request, response, name):
    response.text = f"Hello, {name}"


@app.route("/book")
class BooksResource:
    def get(self, req, resp):
        resp.text = "Books Page"

    def post(self, req, resp):
        resp.text = "Endpoint to create a book"


@app.route("/template")
def template_handler(req, resp):
    resp.body = app.template(
        "index.html", context={"name": "Bumbo", "title": "Best Framework"}).encode()

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

juno_mutekey-0.0.3.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

juno_mutekey-0.0.3-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file juno_mutekey-0.0.3.tar.gz.

File metadata

  • Download URL: juno_mutekey-0.0.3.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for juno_mutekey-0.0.3.tar.gz
Algorithm Hash digest
SHA256 a6c060fb97f3eb5a114b2fa6cc2949abaaf1cfdf932a0973b69192bcadefe27d
MD5 78f570d8c0b85f25585ced85e334c258
BLAKE2b-256 02b2ff699a3cbc9fe5b148025c727844da51b7b3427c54906d787fc52625c4b5

See more details on using hashes here.

File details

Details for the file juno_mutekey-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: juno_mutekey-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for juno_mutekey-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8b947cd341747fdcd58baeb3e84e1c630ffc95bb840a529e171d9ff21d57564b
MD5 66ca821429918f008bec9be99b946025
BLAKE2b-256 dc471e8574dd7823ccbaad4f96aa80b412f75e3efa695567bb06ac03328a305c

See more details on using hashes here.

Supported by

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