Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Apr 05 16:37
    latot opened #32
  • Apr 04 20:15
    latot commented #29
  • Apr 02 17:51
    latot opened #31
  • Apr 01 20:32
    latot commented #30
  • Apr 01 20:32
    latot commented #30
  • Apr 01 20:24
    latot commented #30
  • Apr 01 19:31
    latot commented #30
  • Mar 25 17:19

    manatlan on gh-pages

    Add files via upload (compare)

  • Mar 16 07:49
    manatlan commented #29
  • Mar 16 07:44
    manatlan commented #30
  • Mar 12 14:48
  • Mar 09 22:34
    latot edited #30
  • Mar 09 22:34
    latot opened #30
  • 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
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
Jacob Akhmedov
@Jacobamv
Hi Manatlan, just wanted to say that your works on github are amazing. I’ve studied all of your repositories, and i want to fully study your GUY project, but unfortunately GUY’s documentation isn’t accessible on Glitch. It would be great if you would redeploy the project or sent me the documentation via email.
Thanks in advance