Skip to content
View tarsil's full-sized avatar

Block or report tarsil

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
tarsil/README.md

Who is tarsil?

tarsil is also known as Tiago Silva, not the football player but a Software Engineer.

Passionate to his core, tarsil is also the creator of Ravyn, Lilya, Edgy, AsyncMQ, Mongoz, Asyncz and many open source tools out there.

I do have a discord channel if you want to ask me anything about what I do and my tools.

Hello from tarsil

Nothing like using Lilya to say hi.

$ pip install lilya
$ pip install palfrey

Then, inside an app.py, add this.

import palfrey

from lilya.apps import Lilya
from lilya.requests import Request
from lilya.responses import Ok
from lilya.routing import Path


async def welcome():
    return Ok({"message": "Welcome to Lilya"})


async def user(user: str):
    return Ok({"message": f"Welcome to Lilya, {user}"})


async def user_in_request(request: Request):
    user = request.path_params["user"]
    return Ok({"message": f"Welcome to Lilya, {user}"})


app = Lilya(
    routes=[
        Path("/normal/{user}", user),
        Path("/in-request/{user}", user_in_request),
        Path("/", welcome),
    ]
)


if __name__ == "__main__":
    palfrey.run(app, port=8000)

In the end, run the ./app.py and access your localhost in the endpoints. Have fun!

Pinned Loading

  1. dymmond/ravyn dymmond/ravyn Public

    Ravyn combines performance, type safety, and elegance. A next-generation async Python framework for APIs, microservices, and web applications.

    Python 392 23

  2. dymmond/lilya dymmond/lilya Public

    Yet another ASGI toolkit that delivers

    Python 68 5

  3. dymmond/edgy dymmond/edgy Public

    The perfect ORM to work with complex databases

    Python 440 11

  4. dymmond/asyncmq dymmond/asyncmq Public

    Supercharge your async applications with tasks so fast, you’ll think you’re bending time itself.

    Python 80 3

  5. dymmond/palfrey dymmond/palfrey Public

    A distinctively robust ASGI server designed for high-concurrency production environments.

    Python 10 1

  6. saffier saffier Public

    The only ORM that you will ever need for python.

    Python 145 5