3 ms·
Looks like htpy, but with some components and a different syntax? https://htpy.dev/ https://htpy.dev/
by 8organicbits 2y ago
Looks like htpy, but with some components and a different syntax?
https://htpy.dev/ https://htpy.dev/
- mlboss 2y ago+1 for htpy. Awesome library.
- aitchnyu 2y agoUnlike Htpy, this one has callbacks and state in Python.
- 8organicbits 2y agoStoring state in-memory is usually not a good idea for web apps, most use databases with persistence. I got curious and found the example code for implementing password-based authentication on SQLite. I don't think it's very compelling when the alternatives include Django. https://github.com/rio-labs/rio/blob/41a6bb828c2e20eb7fdc5c68b4b7fe58e6bf0a7f/rio/snippets/snippet-files/project-template-Authentication/persistence.py https://github.com/rio-labs/rio/blob/41a6bb828c2e20eb7fdc5c6...
- timkq 2y agoThis is just programmers being lazy and essentially reinventing PHP sessions, throwing away years of progress.