ahopkins - Overview

class Adam:
    work = HyperFi("CTO & Co-founder")
    oss = Sanic("Core Maintainer")
    home = Israel("Negev")

    async def run(self, *inputs: Pretzels | Coffee) -> None:
        while True:
            await self.work.do(inputs)
            await self.oss.do(inputs)
        
    def sleep(self):
        raise NotImplementedError

Pinned Loading

  1. Accelerate your web app development | Build fast. Run fast.

    Python 18.6k 1.6k

  2. Authentication, JWT, and permission scoping for Sanic

    Python 246 52

  3. The *NOT* ORM hydrator

    Python 116 9

  4. Python Web Development with Sanic, published by Packt

    Python 80 32

  5. 1

    # Sanic Websockets Feeds v3

    3

    This is an example of how to build a _distributed_ websocket feed. It allows for horizontal scaling using Redis as a pubsub broker to broadcast messages between application instances.

    5

    This is the third version of websocket feeds. It is built with Sanic v21.9+ in mind. Older versions:
  6. 1

    # Sanic as Svelte development server

    3

    The purpose of this gist is to show how Sanic can be used as a development server for a frontend JS framework. In this example we are running a Svelte app with `rollup`, but the same idea could be applied to any other frameworks JS build tools.