Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Dec 08 2020 05:13
    inillaug edited #29
  • Dec 08 2020 05:11
    inillaug opened #29
  • Oct 30 2020 10:53
    robert-boulanger commented #28
  • Oct 30 2020 09:49
    manatlan commented #28
  • Oct 30 2020 09:45

    manatlan on master

    r0.7.6 : PR from @robert-boulan… (compare)

  • Oct 30 2020 09:40
    manatlan closed #27
  • Oct 30 2020 09:40
    manatlan commented #27
  • Oct 30 2020 09:40

    manatlan on master

    added _tornado to instance crea… added _tornado to instance crea… Merge pull request #28 from rob… (compare)

  • Oct 30 2020 09:40
    manatlan closed #28
  • Oct 28 2020 14:10
    robert-boulanger synchronize #28
  • Oct 02 2020 09:17
    robert-boulanger commented #27
  • Oct 02 2020 09:08
    robert-boulanger opened #28
  • Oct 02 2020 08:04
  • Oct 01 2020 15:03
    manatlan commented #27
  • Oct 01 2020 10:48
    robert-boulanger opened #27
  • Aug 27 2020 19:38
  • Aug 24 2020 12:43
    dbsantos1981 commented #26
  • Aug 24 2020 12:36
    dbsantos1981 closed #24
  • Aug 24 2020 12:36
    dbsantos1981 commented #24
  • Aug 24 2020 12:33
    dbsantos1981 closed #26
manatlan
@manatlan
Hi, just a gitter, to talk about guy https://github.com/manatlan/guy ;-)
manatlan
@manatlan
from guy import Guy

class Simple(Guy):
    """<button onclick="self.test()">test</button>"""

    async def test(self):
        print("Your name is", await self.js.prompt("What's your name ?") )

if __name__ == "__main__":
    app=Simple()
    app.run()
here is a simple example ^^
Dmytro Ferens
@dferens
Hi, I have a question. I need to serve files (images) but your library does not allow custom endpoints, it even ignores handler return values when it's not Guy instance: https://github.com/manatlan/guy/blob/master/guy.py#L82
I made a PR but later realised that tornado server runs in it's own thread
manatlan
@manatlan
Sorry for the late response ... But you can add you custom endpoints by using the http decorator, see here : https://guy-docs.glitch.me/server/#hook-http
warbot
@abcwarbot_twitter
Hi, Starting with GUY. Question, how do i launch index().runCef() or index().serve() with browser args? Fullscreen, autoplay-policy? Thnx