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.18.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.18-py2.py3-none-any.whl (22.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: willpyre-0.0.18.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.18.tar.gz
Algorithm Hash digest
SHA256 89f97e7d4032ab24ad25895e17a1ecb27eab26cef27579f3c018ba794fb1ab18
MD5 a089b4cbd7b4b33241308af50db96675
BLAKE2b-256 236fd62a5026f2ec9866a8b09e2c45f2a010b90306eb8e148cc1611042d2bc51

See more details on using hashes here.

File details

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

File metadata

  • Download URL: willpyre-0.0.18-py2.py3-none-any.whl
  • Upload date:
  • Size: 22.3 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.18-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 376cbb116e508d0d047b10dcf0ad37c276f84e6771aa68f22c5ebb024629e9f1
MD5 b155058fae534158e272f46090b3c155
BLAKE2b-256 2e020095d32a26d4287cc04143966fdf6b2104a1929f315fcbae11e6bcf40146

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