Skip to main content

Willpyre. Fasten your seatbelts!

Project description

Willpyre



Documentation Status Test and PEP8 Code style: black

Willpyre is a micro ASGI framework. Willpyre gives flexibility and control, but abstracts ASGI to some extent and adds reusability to your code.

Quickstart

It is quite simple to use Willpyre.

from willpyre import App, Router


router = Router()

@router.get('/')
async def index(req,res):
	res.body = "<h1>Please fasten your seatbelts!!</h1>"
	return res


app = App(router)

It should run with any ASGI server like Uvicorn, Daphne, Hypercorn.

To run with Uvicorn, install Uvicorn using

pip install uvicorn

and then

uvicorn <file>:app

The framework is written in pure-python and can run in PyPy or CPython. Tested on version 3.6 and above.


Features

  • Predefined response objects for fast development.
  • Optional base response object passed to handlers.
  • Async.
  • Light and tiny.
  • And lots more..

Contributions

It is open to contributors willing to commit. Please open issues if you find something wierd. Fork this if you want to propose changes.


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

willpyre-0.0.17.tar.gz (85.0 kB view details)

Uploaded Source

Built Distribution

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

willpyre-0.0.17-py2.py3-none-any.whl (22.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file willpyre-0.0.17.tar.gz.

File metadata

  • Download URL: willpyre-0.0.17.tar.gz
  • Upload date:
  • Size: 85.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for willpyre-0.0.17.tar.gz
Algorithm Hash digest
SHA256 4d8e0d5c6bad7db4c5bd23c1b21f2e61ea128b7f1490f310dd6468457dbc9ced
MD5 7e31e64de0e83d26a6d8df80081ab5c6
BLAKE2b-256 a3b862ca6c7ce55531a2db4e238b1048ab7cec22977f769fda37c5d8e2fe3e9c

See more details on using hashes here.

File details

Details for the file willpyre-0.0.17-py2.py3-none-any.whl.

File metadata

  • Download URL: willpyre-0.0.17-py2.py3-none-any.whl
  • Upload date:
  • Size: 22.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for willpyre-0.0.17-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 06337825213be82bc01c823e5916f46284ed23f3f495c7c34f44bf3bf3cb2867
MD5 919c8a3c984ee7f9e0e85e894f6918d8
BLAKE2b-256 30ab5ce3a09805d18a3770d29458f57c584aa30f23e8aba2384340fa7084301d

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