Skip to content

Update 449-fastui.txt #134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 17 additions & 18 deletions transcripts/449-fastui.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@

00:05:03 or the backend developers are building for us.

00:05:06 And I guess for lots of people, there's a pedantic model that's kind of at the core
00:05:06 And I guess for lots of people, there's a pydantic model that's kind of at the core

00:05:08 of lots of those bits.

Expand Down Expand Up @@ -632,7 +632,7 @@

00:18:02 So this is a web front end like Flask or Django sort of framework, but a way that really incorporates

00:18:09 building the UI in Python and validating and enforcing that with PyDandic rather than just,
00:18:09 building the UI in Python and validating and enforcing that with Pydantic rather than just,

00:18:15 Hey, file new HTML.

Expand Down Expand Up @@ -670,7 +670,7 @@

00:19:16 It's going to be slow because you have to do some weird rendering, but it's also just

00:19:19 going to be a pig because I don't want to have to define every A, hre and everything
00:19:19 going to be a picky because I don't want to have to define every A and Href and everything

00:19:23 else in Python code.

Expand All @@ -690,7 +690,7 @@

00:19:59 Just sitting there on a web page as HTML.

00:20:02 Maybe it's even further obscured behind some front end JavaScript framework like view or
00:20:02 Maybe it's even further obscured behind some front end JavaScript framework like Vue or

00:20:06 react.

Expand Down Expand Up @@ -728,11 +728,11 @@

00:21:09 So if you have serious data needs, and those websites don't offer API's, then you need

00:21:14 bright data, check them out today at talk by fun.fm slash bright data.
00:21:14 bright data, check them out today at talkpython.fm/brightdata.

00:21:19 And please use that URL that way they know you heard about them from us.

00:21:24 That's talk by fun.fm slash bright data.
00:21:24 That's talkpython.fm/bright data.

00:21:27 The link is in your podcast player show notes.

Expand Down Expand Up @@ -1502,7 +1502,7 @@

00:41:38 Join them for free on Tuesday, February 27 2024 at 2am civic time.

00:41:43 Just visit talkbython.fm/sentry-monorepo.
00:41:43 Just visit talkpython.fm/sentry-monorepo.

00:41:47 That link is in your podcast player show notes.

Expand All @@ -1514,7 +1514,7 @@

00:42:05 If we have a design language or something like that, or even using a framework, I mean,

00:42:09 you mentioned bootstrap, but tailwind or vulva is that one of the new ones?
00:42:09 you mentioned bootstrap, but tailwind or Bulma is that one of the new ones?

00:42:13 Like if we're working with one of those, and we wanted to use this, like how easy is it

Expand Down Expand Up @@ -1716,17 +1716,17 @@

00:47:25 They probably know what CSS is.

00:47:27 It's generally referred to as SAS, which is S A S S, which was, is, is basically a more
00:47:27 It's generally referred to as SASS, which is S A S S, which was, is, is basically a more

00:47:34 powerful version of, of CSS where you can.

00:47:36 SAS and less.
00:47:36 SAAS and LESS.

00:47:37 Those were the two.

00:47:38 Yeah.

00:47:39 And then we kind of settled on SAS, but then we had SCSS, which is SAS with more CSS syntax.
00:47:39 And then we kind of settled on SASS, but then we had SCSS, which is SASS with more CSS syntax.

00:47:46 It's a way to like do slightly more powerful things in, in CSS and minify it and have stuff

Expand Down Expand Up @@ -1880,7 +1880,7 @@

00:51:41 There's two, there's two, there's a like matching endpoints for, for every view you might want

00:51:45 to have one to get to return the Jason, the one to render the HTML.
00:51:45 to have one to get to return the Json, the one to render the HTML.

00:51:49 But you don't write, you don't write them both, right?

Expand All @@ -1896,13 +1896,13 @@

00:52:10 But one of the really nice things about the, this being the like actual data existing in

00:52:16 Jason is that writing a test, there's quite a lot here, but you'll see most of it is,
00:52:16 Json is that writing a test, there's quite a lot here, but you'll see most of it is,

00:52:20 is Markdown.

00:52:21 So writing a test that our views contain what we expect them to is massively easier when

00:52:26 we're testing against Jason, which we can convert to Python objects and tests.
00:52:26 we're testing against Json, which we can convert to Python objects and tests.

00:52:30 Then it would be if we've got an HTML page and we're running a bunch of regexes for,

Expand All @@ -1920,7 +1920,7 @@

00:52:43 Oh yeah.

00:52:44 Even worse, you end up with that play write and like play write that's image of it and
00:52:44 Even worse, you end up with that play wright and like play wright that's image of it and

00:52:47 see if the image looks like the image used to look and yeah.

Expand Down Expand Up @@ -2032,7 +2032,7 @@

00:55:31 build extensions to fast UI to render their widgets.

00:55:33 I think we will probably support the repro HTML that things like pandas data frames already
00:55:33 I think we will probably support the repo HTML that things like pandas data frames already

00:55:38 returned so that you could, for example, return a data frame and it might not be pretty, but

Expand Down Expand Up @@ -2420,7 +2420,7 @@

01:03:59 But definitely within internal uses, use it now.

01:04:01 And like I say, Hidantic is building things with it now.
01:04:01 And like I say, Pydantic is building things with it now.

01:04:05 So look, I mean, I give the open source guarantee that it's relatively safe, which is the guarantee

Expand Down Expand Up @@ -2519,4 +2519,3 @@
01:06:02 Now get out there and write some Python code.

01:06:05 [MUSIC PLAYING]