Latest / Talk Python To Me / #414: A Stroll Down Startup Lane
Transcript
- 0:00At PyCon 2023, there was a section of the expo floor dedicated to new Python-based companies
- 0:06called Startup Row. I wanted to bring their stories and the experience of talking with
- 0:11these new startups to you. So in this episode, we talk with the founders of these companies for
- 0:16about five to 10 minutes each. This is Talk Python To Me, episode 414, recorded on location at PyCon
- 0:23in Salt Lake City on April 22nd, 2023.
- 0:27Welcome to Talk Python To Me, a weekly podcast on Python. This is your host, Michael Kennedy.
- 0:44Follow me on Mastodon, where I'm @mkennedy and follow the podcast using @talkpython,
- 0:50both on fosstodon.org. Be careful with impersonating accounts on other instances. There are many.
- 0:56Keep up with the show and listen to over seven years of past episodes at talkpython.fm.
- 1:01We've started streaming most of our episodes live on YouTube. Subscribe to our YouTube channel over
- 1:06at talkpython.fm/youtube to get notified about upcoming shows and be part of that episode.
- 1:12This episode is brought to you by Sentry and us over at Talk Python Training. Please check out what
- 1:19we're both offering during our segments. It really helps support the show.
- 1:24We kick off the interviews with Devin Peterson from Ponder. Ponder is taking Moden, a distributed
- 1:29compute library for Python, and pushing data science compute directly into the database.
- 1:34Welcome to Talk Python here on Startup Row.
- 1:36Thank you. Thank you.
- 1:37Yeah, it's fantastic to have you here. You know, we met yesterday here at PyCon US,
- 1:42and you were telling me about your project Ponder and how it's built upon Moden, the open source
- 1:49project. And as I looked around, I'm like, everyone here has a story. And I just thought it'd be so
- 1:53great to have you on the show along with all the others and just kind of tell your story. You know,
- 1:58how did you, how did you get here to start up Row at PyCon?
- 2:01Yeah, it's interesting. So Moden started as my PhD project, and I was doing my PhD at Berkeley,
- 2:07and I started in the genomics world, trying to build large scale data science tools for,
- 2:13for, you know, the people who actually do the science. I'm not a biologist myself. I don't know
- 2:18the first thing about biology, honestly.
- 2:20But you got some good programming skills, and they can always use that applied to their data,
- 2:23right?
- 2:23Right. The problem was we were building tools in Spark, and it was really hard for these Spark-like
- 2:27APIs to translate natively to the way that they were reasoning about data. And like,
- 2:31they're using Python. And so there's a very kind of natural way that scientists think about,
- 2:36you know, interacting with data that's not Spark, right? It's not intuitive, as intuitive in Spark,
- 2:42even PySpark, right?
- 2:43A lot of Python people avoid databases as much as they can, at least SQL and directly talking to them like
- 2:48that.
- 2:48Yeah, totally. Because like, often the way, when you're exploring data there, you have a mental
- 2:53model of how you want to interact with the data. And that is not SQL often. Like, it's just the way
- 3:00that it is.
- 3:01Yeah.
- 3:01Yeah.
- 3:01So yeah, I had a moment there where a data scientist was like, if I don't, I don't want your tool,
- 3:08can you just make my tool run faster? And so I was like, ah, yes, wait a second, this is actually
- 3:14a real project. And so we, I started like looking into pandas and looking into like, you know, the,
- 3:19the world of, you know, databases and, and like the kind of academic space. And nobody had really
- 3:24dug that deep into pandas because in, in the academic sense, everybody was like, okay, pandas
- 3:29is just a bad database. That's what database people thought at the time. So we did a bunch of work and
- 3:35it kind of turned out that's not the case. They're, they're totally new things. And so from there, we built
- 3:41modem and, and now with ponder, we're kind of extending that to, to basically bridge these
- 3:46two worlds where you can use Python, but we're, we're generating SQL on the backend and able to
- 3:51run pandas directly in your database or your data warehouse.
- 3:54Yeah. Fantastic. So when I first heard about what you're doing at ponder, it, I immediately thought
- 4:00of Dask and Dask is another popular startup success, open source startup success story with
- 4:06Matthew Rocklin and Foreman coiled and stuff. And I mean, I think they may have outgrown startup
- 4:11row, but you know, good for them. Yeah, totally. My first thought was, okay, well, how is this
- 4:16different than Dask? But the big difference is Dask is grid computing and yours runs in the database.
- 4:21Yeah. For ponder, definitely open source motor and also integrates with Dask clusters as well. So
- 4:27Dask has Dask data frame and that runs on Dask clusters. We can also run a mode in open source on,
- 4:33on Dask clusters. It's very important to us that whatever infrastructure that you
- 4:36have, you can run pandas on top of that. So ponder is the next level of that, where if you have,
- 4:41if your data is in the database, it doesn't leave, right? We can just execute it directly there.
- 4:46And you know, all of your assumptions from Python and pandas hold true in the database,
- 4:51even though the database actually doesn't like the assumptions that you might have in pandas,
- 4:54right? We emulate those behaviors and we we've done a lot of work to actually make that feel very
- 4:58native. So that is a key difference with, with ponder and, and Dask though, is that your data never
- 5:04leaves the database. So you don't have to have a separate Dask cluster to kind of pull the data
- 5:08into and execute on it there. You can just run things natively in the database or the data warehouse.
- 5:13So if you have a large database, you already have a probably powerful database server. Why
- 5:17suck, transfer all the data off of that, load it into something else, analyze it and throw it away,
- 5:21right? Just like make it run there.
- 5:23Exactly. Exactly. Yeah. So maybe a quick elevator pitch type of thing might be like,
- 5:29you all take pandas and turn it into SQL statements that run on the database,
- 5:33but people get a program in pandas.
- 5:35Yes, exactly.
- 5:36That's exactly it. Yes. Some things that are really, really native in pandas,
- 5:41like describe, for example, df.describe. Super, super common.
- 5:45It seems easy. Like it just gives me some summary stats.
- 5:48Yes, exactly. That's 300 lines of SQL.
- 5:51No.
- 5:51Like you wouldn't believe it looking at it though, because you know, it seems so simple and it's,
- 5:57it is a simple, simple output, right? I want to get some summary statistics for my data,
- 6:01but SQL is so declarative and the language itself doesn't lend itself well to this type of iterative,
- 6:07interactive kind of like workflow. So.
- 6:09Right. And the notebooks remember step by step, they have like a history sort of a memory,
- 6:14whereas SQLs, every statement is standalone.
- 6:16Exactly. So all or nothing basically. And you have to do the whole thing up front. And that's
- 6:22the thing people love about pandas is that you can incrementally build these things up.
- 6:25So, so we're giving that interface to SQL basically.
- 6:28Awesome. All right. Well, let's wrap this up with a bit of a bit of a talk,
- 6:32how you got to startup row. How'd you start this company?
- 6:35Yeah.
- 6:35Where are you? Like so many people are excited to take their open source work and instead of making
- 6:40it their side job or something they do part-time at their company, make it their full-time energy.
- 6:45And you're there. How'd you do it?
- 6:46Yeah. So the way that we started was we talked to a lot of companies where they basically asked us,
- 6:54can you make this work on top of our infrastructure? We didn't support, we, you know,
- 6:58we only supported in the open source Ray and Dask. And we saw a motion there to have kind of an open
- 7:02core model. So we follow the open core model where these more enterprise-y features like,
- 7:06you know, security features and being able to push into data warehouses, right? Like an individual,
- 7:11you know, consultant may not have, you know, a data warehouse. They probably don't, right? But,
- 7:16but enterprises do. And these are the types of features that enterprises really care about. So
- 7:19this open core model, I think, lended itself really well to our business, particularly because,
- 7:24you know, enterprises will pay for these features. And so, yeah. And then we, we went out and we raised
- 7:30this, a seed around and, you know, saw the opportunity to come here and be in, in PyCon startup row. And
- 7:36fortunately, you know, it's, it's a competitive process. Really it is. Yeah. We're, we're very,
- 7:41we feel very fortunate to be, you know, chosen among the few that are chosen here. But yeah,
- 7:46that's kind of our journey is, is basically, you know, starting talking like, so for folks out there who are
- 7:51like interested in this, talk to people who are using this, people who are interested in the
- 7:55problem that you're solving and figure out where the gaps are and kind of ask questions. Don't be
- 7:59afraid to ask, like, would you pay for this? Or how much would you pay for this? Those, those questions,
- 8:03they're uncomfortable to ask. And like, especially the developer who's not used to presenting salesy type
- 8:09marketing things. You always, salespeople as kind of, yeah, I got it. It's a necessary evil.
- 8:14Totally. It totally is. Yeah. So, but, but you have to ask, because how do you know if you can kind of
- 8:19take that next step? Unless you ask, Hey, would you pay $50 a month for this? Would you pay $10 a
- 8:24month for this? Right. You can't know unless you, unless you really go out there and ask. So that's
- 8:29what I would encourage folks to do if they're interested in this is, you know, find those gaps
- 8:32and, and, and really ask the hard questions that are kind of hard, but yeah. Awesome. Well,
- 8:37congratulations. Thanks for taking the time to talk to us. Thank you. Thank you. Yeah, you bet. Bye.
- 8:41Next up is Generally Intelligent and Josh Albrecht. Generally Intelligent is an independent
- 8:45research company developing AI agents with general intelligence that can be safely deployed in the
- 8:51real world. Josh, welcome to Talk Python To Me. Hey, thanks. Hey, it's great to have you here. Tell
- 8:55people quickly who you are. Yeah. So I'm Josh, Josh Albrecht. I'm the CTO of Generally Intelligent.
- 9:00We're an AI research company based in San Francisco. Awesome. I love the humbleness. Generally,
- 9:06generally intelligent, right? You're not a super genius, but no, it's a clever name. I like it.
- 9:11Thank you. Yeah. Yeah. And you know, what, what's the problem you're solving here?
- 9:15So yeah, we, you know, kind of, as it says on the tin, like we're working on artificial general
- 9:19intelligence. We don't usually like to use that term because it can mean lots of different things to
- 9:22lots of different people. But in, in general, what we're working on is making more capable,
- 9:27safer, more robust AI systems. And in particular, we're focused on agents. So systems that can act
- 9:32on their own. And like right now, mostly what we're focused on is agents that can work kind of in your
- 9:38browser, on your desktop, in your code editor, those kinds of virtual environments and digital
- 9:42environments. How much of this are you envisioning running locally versus running on a big cluster in
- 9:47the cloud? Yeah, I think it'd be nice someday in the future to have things run totally locally. But
- 9:51right now, a lot of these technologies do require a large cluster of GPUs, which are very expensive.
- 9:57And most people don't even have, you know, a GPU or have a bunch of GPUs at home. So it's kind of hard
- 10:01to actually get it running locally. Hopefully someday in the future, we'll be able to do that. But for now,
- 10:05you'll, you'll probably need internet access to use a lot of these things. Right. Okay. So you're
- 10:08envisioning a bunch of these agents that have access to an API that can quickly respond. Right,
- 10:15right. Over there. Yeah. Okay. So give us some ideas, you know. Yeah. So what this looks like
- 10:21concretely, you can imagine like a coding agent. So one thing you can do with GitHub Copilot right now is
- 10:26you can write a function declaration and a doc string and have it generate the function. But you can imagine for a
- 10:31coding agent, you can not only generate the function, but also generate some tests, run those tests,
- 10:35see errors in those tests, try and fix the errors, kind of do that whole life cycle to ideally give you
- 10:40a, you know, output that's actually a lot better. And then also, if you're thinking about this as an
- 10:44agent, maybe it's more of a back and forth. It's not just an autocomplete in your editor,
- 10:47but it can come back to you and say, you know, I'm sort of uncertain about this part here. What did you
- 10:51mean? Or, hmm, like, you know, I wrote these tests, but I'm not sure if it's quite what you wanted. Or maybe,
- 10:56you know, it's kind of running in the background and flagging different things that it sees in your
- 10:58code base. Like maybe you made some change and it can like detect that you, your doc string is out
- 11:02of date and kind of flag that for you. So thinking about it more as like an actual pair programmer.
- 11:06Okay. And is it primarily focused on, yeah. Are you thinking to focus mostly on programming or is it
- 11:11more abroad? Like I'm looking for a great deal on this classic car, go scour the internet and,
- 11:17and, and, you know, negotiate it for me. Yeah. Yeah. So, so, you know, the company is generally
- 11:21intelligent. So we certainly do want to be able to address all these different use cases over time.
- 11:25I think for us right now, one of the domains that we are interested in is code, especially because
- 11:30it's so objective. You can know if it's right or wrong, you have tests, that sort of stuff. So it's
- 11:33a nice playground for, for ourselves and something that we can build for ourselves to kind of iterate
- 11:37on internally, but we're not exactly sure what the final product will be. We're also training our own
- 11:42kind of large language models. We might prioritize some stuff around those. So there's lots of
- 11:45possibilities. We're not wedded to anything yet. Thankfully, we have the luxury to kind of take a little
- 11:49bit of time to figure that out as a, as a research company. Yeah. That's excellent. What about science?
- 11:53Yeah. Science is definitely a thing that we're interested in. It's pretty hard. And so, you know,
- 11:58do we necessarily want these things like, you know, running around making things in test tubes or
- 12:02whatever? I think that's probably a little bit harder than coding and coding is already pretty
- 12:05hard. So I think we'll get there. That's some of the stuff that we like personally on the team are
- 12:09really excited about to see, you know, how can we use these to uncover new cures for diseases or
- 12:13whatever. I'm really excited for that kind of stuff a little further in the future.
- 12:16Yeah. That'd be amazing. I was just talking to someone on the expo floor hall here,
- 12:19about protein folding. Yeah. Right. That kind of stuff. Yeah. It's kind of been elusive for people.
- 12:24We more or less have just tried to brute force it. Yeah. Right. With the folding at home thing.
- 12:29Let's just run every computer and just try every possibility, but there's a lot of possibilities.
- 12:32Yeah. Yeah. Exactly. All right. So where's Python fit in here? What are some of the tools that you're
- 12:36using? Yeah. So Python is, we love Python. We, we basically write everything in Python or bash,
- 12:41but you know, mostly Python or Python generates a little bit bash, you know, but it's mostly Python. So yeah,
- 12:46we use a lot of PyTorch for our models. And then other than that, you know, let's see,
- 12:51what other libraries do we use? I mean, we use tons of Python libraries like numpy and scikit and,
- 12:55you know, attrs and just, there's, there's so many like wonderful, you know, things that people have
- 13:00built that we just, yeah, that are just so nice to work with. So we love the Python. You can kind of
- 13:04take it, open it up, look at all the source and like really understand everything in that full
- 13:07stack for us doing research. That's really valuable to be able to know everything that's going on.
- 13:11Yeah. You have these Lego block types of things. Like what if we arranged it like this? You don't
- 13:16have to write the whole machine learning, but you can click a few pieces together and
- 13:20yeah, off it goes.
- 13:21Yeah. Yeah. We build on top of Mosaic, for example, or other open source libraries that,
- 13:25that people put together for training stuff and kind of adapted for yourself. It's so nice.
- 13:29you can just pull things in and so easily change everything.
- 13:30Yeah. Awesome. I must've somehow blinked along the way and I, these large language models just
- 13:36seem to have come out of nowhere and all of a sudden, you know, AI is one of these things. It's
- 13:40kind of where I kind of recommended stuff and now all of a sudden it's mind bogglingly good.
- 13:45Yeah. Do things like TensorFlow and stuff work with these large language models or do you need
- 13:49other libraries? Yeah. So TensorFlow and PyTorch are probably the two main machine learning libraries
- 13:55that people do deep learning systems on top of. Pretty sure that, you know, GPT-3 and GPT-4 were
- 14:00probably trained on top of PyTorch. I think a lot of the stuff at Google, like Palm and BART and those
- 14:05types of things are trained on TensorFlow, but at the end of the day, they're, they're actually very
- 14:09similar and they're sort of converging to kind of similar ideas too as well. So it's interesting to
- 14:13see, to see them evolve.
- 14:14Yeah. Fantastic. All right. Last question, close out our conversation here is we're sitting here on
- 14:19startup row. Well, just outside of startup row, I suppose, but it's, you know, there's a bunch of people out
- 14:25here who are working on open source projects who would like to make it somehow find a way to make
- 14:30it their passion, their job, spend more time on it, maybe make it a company. How'd you get here?
- 14:35Tell people your journey.
- 14:36Yeah. So we got here and a little bit of a different route. So we, a lot of us were working at a previous
- 14:43company called Sorceress that did apply more of an applied machine learning thing where we are taking
- 14:48machine learning and applying it to the job of recruiting and trying to figure out, you know,
- 14:51can we find good people online that might be a good fit for a particular position and,
- 14:54you know, and reach out to them and get them interested in the job and that sort of stuff.
- 14:58We went through YC with this in 2017 and we raised our series A and eventually, you know,
- 15:03it was growing. We had a few million in revenue and customers and everything. And it just, in 2019,
- 15:06we were looking and it felt like, you know, there's so much really interesting stuff happening in
- 15:10self-supervised learning and in deep learning and in machine learning. And it feels like, you know,
- 15:14recruiting is very important, but is this going to be the most important thing in the world? Is this going to
- 15:17really be the thing that changes the world? Or will there be something a little bit larger in
- 15:21this more general purpose AI? And the more we thought about it, the more we felt like, you know,
- 15:24the AI stuff is probably going to have a huge impact. Like we should really be working on that.
- 15:27So we kind of wound down the previous company, a bunch of us moved over and started up Generally
- 15:31Intelligent. And then we've been working on stuff ever since then.
- 15:33Fantastic. Well, I know you've got some really cool stuff where the agents can sort of look at the
- 15:39code they're writing, think about it, evolve. And it's, it looks like a really interesting take.
- 15:43So congratulations. And I'll put the link to the, all your work in the show notes. People can check
- 15:49it out. Yeah. Sounds good. Yeah. Thank you very much. Yeah. Thanks for being here. It's great to
- 15:52chat. Take care. You bet. This portion of Talk Python To Me is brought to you by Sentry. Is your Python
- 16:00application fast or does it sometimes suffer from slowdowns and unexpected latency? Does this usually
- 16:07only happen in production? It's really tough to track down the problems at that point, isn't it?
- 16:11If you've looked at APM application performance monitoring products before, they may have felt
- 16:16out of place for software teams. Many of them are more focused on legacy problems made for ops and
- 16:22infrastructure teams to keep their infrastructure and services up and running. Sentry has just launched
- 16:28their new APM service. And Sentry's approach to application monitoring is focused on being actionable,
- 16:34affordable, and actually built for developers. Whether it's a slow running query or latent payment endpoint
- 16:40that's at risk of timing out and causing sales to tank, Sentry removes the complexity and does the
- 16:46analysis for you, surfacing the most critical performance issues so you can address them
- 16:50immediately. Most legacy APM tools focus on an ingest everything approach, resulting in high storage
- 16:57costs, noisy environments, and an enormous amount of telemetry data most developers will never need to
- 17:03analyze. Sentry has taken a different approach, building the most affordable APM solution in the market.
- 17:09They've removed the noise and extract the maximum value out of your performance data while passing
- 17:13the savings directly onto you, especially for Talk Python listeners who use the code Talk Python.
- 17:19So get started at talkpython.fm/sentry and be sure to use their code Talk Python all lowercase
- 17:27so you let them know that you heard about them from us. My thanks to Sentry for keeping this podcast going strong.
- 17:36Now we talk with Mo Sarat from Wereobots. They're building the database platform for geospatial analytics and AI.
- 17:43Hey Mo, welcome to Talk Python.
- 17:44Thank you so much.
- 17:45Yeah, it's good to have you here. Let's start off with a quick introduction. Who are you?
- 17:49Absolutely. So my name is Mo and I'm the co-founder and CEO of a company called Wereobots.
- 17:54Wereobots' grand vision is enable every organization to drive value from data via space and time.
- 18:00Awesome. I love it. I love it. So yeah, thanks for being here on the show. Let's dive into Wereobots.
- 18:06What is the problem you're solving? What are you guys building?
- 18:09Think about like, again, every single data record that is collecting on a daily basis.
- 18:14Even like we're here right now, we're talking on this podcast at this specific location at this specific time.
- 18:20So if you think about the space and time aspect, it's actually a very important aspect of every single piece of data that is being collected.
- 18:25Right. If we're here next week, who knows why we're here? We could be here for a different reason. That might mean something different, right?
- 18:30Absolutely. Yeah. So that's exactly. So that space and time lens that you can apply to your data can actually also tell you a better story about your data.
- 18:38You can drive more value, more insights from your data if you apply that space and time lens.
- 18:43And this is basically what we are, not necessarily like, this is exactly what we focus on in our company.
- 18:48But more specifically, I mean, we are trying to build like kind of a database infrastructure to enable people to use that space and time lens to drive value from their data.
- 18:58Okay. Fantastic. Now, when you talk about space and time and data, are we talking records in a time series database?
- 19:05Are we talking regular database or NoSQL? Or could it be even things like the log file from Nginx about the visitors to my website?
- 19:14What's the scope?
- 19:15The scope is actually very wide. So think about any data could be structured, semi-structured, unstructured data that you have.
- 19:22And as long as it have like kind of a geospatial aspect to it, a geospatial aspect to it means like the record or the document has, was, let's say, created in a specific location or represent an event that happened in a certain location at a certain time.
- 19:37Or represent like, again, like an object or an asset that you monitor at different locations at different times.
- 19:44Whatever it is, it can be stored in any of these kind of formats.
- 19:47As long as it have this kind of geospatial aspect to it, you can definitely apply that kind of geospatial or space-time lens to it.
- 19:55Right. Okay. So what are some of the questions you might answer with Orlot?
- 19:58Questions that varies. I mean, so there are, it depends on the type of the data. It depends on the use case.
- 20:03You have a horizontal technology that enables you to enable so many industry protocols, but I'll give a couple of examples.
- 20:08Yeah, yeah. Make it concrete for us.
- 20:10Absolutely. Think about like a logistics company or a delivery company.
- 20:14Like the most, I mean, well-known delivery company is Amazon, right?
- 20:18I mean, you go to the app, you purchase an item or a product, and then the whole journey of that product from the supplier to the warehouse to the driver, Amazon driver, all the way that makes it to your door.
- 20:30There is a whole kind of, everything has a geospatial location to it, attached to it.
- 20:36The package is moving around. You're located somewhere. Their house is a certain location.
- 20:40Handling the logistics behind all of that, understanding how things are, you're monitoring all these assets in space and time as it reaches the door.
- 20:50This whole journey, there's a lot of kind of data processing, data analytics happening that you have to do through, again, the geospatial kind of aspect, the geospatial contextual aspect of things.
- 21:00So this is one example.
- 21:02Another example could be if you're like an insurance company and you're insuring homes, for example, and you want to understand what are the nearby kind of climate conditions, natural disaster conditions compared to your home.
- 21:15There's also the home has a location, these kind of natural disaster, weather changes at different locations all the time.
- 21:21That will impact how you take decisions about insuring these homes.
- 21:25Do I buy it? Do insurers want to insure it? What do I have to pay to do that?
- 21:29Exactly.
- 21:29That's another example, again, that space and time lens or the geospatial aspect impacts your decision when it comes to taking, it's an important decision that you take in here.
- 21:39So that's another example.
- 21:40So these are just a couple of use cases, but there are tons of other use cases and use cases that may not exist even yet.
- 21:47So there's a lot of movement now into climate tech and ag tech.
- 21:51And we are like what we're trying to do at Whereabouts is we're building the database infrastructure that enable the next generation climate tech and agriculture technology.
- 22:01So they can ask the questions that they might have, but you already have the machinery to answer them.
- 22:06We have machinery to answer them.
- 22:07And they build their own secret sauce on top of our infrastructure.
- 22:11So kind of a framework platform.
- 22:13Absolutely.
- 22:13Yeah.
- 22:14Got it.
- 22:14Yeah.
- 22:14So Python, where's Python fit in this story?
- 22:16That's a great question.
- 22:17So geospatial data or the geospatial aspect of data has existed for so long.
- 22:24As you said, we live in the space-time continuum.
- 22:26Everything has a space-time aspect, geospatial aspect.
- 22:28And that's why developers already have APIs to interact with geospatial data.
- 22:33And these APIs, the language varies.
- 22:36So there are some people that use SQL to interact with the data, process the data in either SQL databases or any other kind of SQL processing engine, right?
- 22:45But a lot of the geospatial developers or people developing with geospatial data, they use Python.
- 22:51There are so many libraries that use Python to actually...
- 22:55Example of these libraries is a library called Geopandas.
- 22:57It's a fantastic library.
- 22:58It's an extension to Pandas to kind of wrangle and crunch geospatial data.
- 23:03Ask questions about what things are contained in here, what things are outside of here, how far away is it?
- 23:08Absolutely.
- 23:08So this is what Geopandas does.
- 23:09The only problem is that Geopandas is a library, has a great functionality, but again, it doesn't...
- 23:15It's not enterprise-ready for the most part.
- 23:17It doesn't scale, all that kind of stuff.
- 23:19So what we do at WorderBots is that we provide SQL API to the user to run spatial queries on the data, but we also provide spatial Python API.
- 23:29Like if you're using Geopandas, you can use the same API, do the heavy lifting enterprise scale kind of processing of the data using our platform, and then do the major Geopandas kind of functionality you're familiar with to, again, do the geospatial processing with it.
- 23:46So this is how it fits within Python, and actually looking at our...
- 23:50We have an open source software called Apache Sedona.
- 23:53It's an Apache under the Apache license, and it has all these APIs, SQL and Python, and Python is the most popular.
- 24:01So it's been the Python package alone on PyPy is being downloaded a million times over on a monthly basis as we're speaking today.
- 24:11So definitely Python fits very well within our...
- 24:15Yeah, that's awesome.
- 24:16Absolutely, yeah.
- 24:16So it sounds like your business, WorderBots, is a little bit following the open core model, you say?
- 24:23Yes.
- 24:24Let's round out our conversation here with a...
- 24:25Talking about the business itself, how do you get a startup row?
- 24:28We follow the open core model.
- 24:30You're totally right about that.
- 24:31So we have our open source software, Apache Sedona.
- 24:33It's available for free open source, very permissive license, the Apache license 2.0.
- 24:37And it's the open source.
- 24:39It's also used in operational production in so many use cases.
- 24:41There are so many contributors outside.
- 24:43I'm the original creator of it, as well as my partner, Gia.
- 24:46We're both the original creators, but it's grew beyond us now.
- 24:49So there are like dozens, like 100 contributors now, something like this.
- 24:53And we use Sedona as an open core, but we build a whole platform around it.
- 24:57So if you want to think about like what we do compared to the other data platforms in the market, there are generic data platforms like Snowflake Databricks.
- 25:06There are more specific specialized data platforms like MongoDB for NoSQL.
- 25:11There's Neo4j for Graph.
- 25:12We are...
- 25:13Webinar Bots is like the data platform for Geospatial.
- 25:16So this is basically...
- 25:18And we use Apache Sedona as an open core to enable us to do all of this.
- 25:21Fantastic.
- 25:22All right.
- 25:23Well, congratulations on being here.
- 25:25Yeah.
- 25:25I wish you success with the whole project.
- 25:27And thanks for coming on the show.
- 25:28Thank you so much.
- 25:29I appreciate it.
- 25:30Looking forward to it.
- 25:31Yeah.
- 25:31You bet.
- 25:31Thank you so much.
- 25:32Yeah.
- 25:32Bye.
- 25:32Time to talk to Nip Time, who have created Python programmable spreadsheets that are super powered with Python and AI.
- 25:40I got to tell you, this product looks super awesome.
- 25:43It looks so much better than things like Google Sheets or Excel.
- 25:46And I can't wait to get a chance to play with it.
- 25:48Hey, guys.
- 25:49Hello.
- 25:50Welcome to Talk Python To Me.
- 25:51Yeah.
- 25:52It's great to have you here.
- 25:53First, introduce yourselves.
- 25:54Thanks for having us.
- 25:55I'm Dawa.
- 25:56I've been doing Python professionally for, I don't know, 20 years or so.
- 26:00I'm Jack.
- 26:02I'm Dawa's co-founder.
- 26:03Uh-huh.
- 26:03Been doing Python a little less than that, but met Dawa about five years ago.
- 26:07And we founded Nip Time about a year ago.
- 26:10Yeah.
- 26:10So, you know, let's dive into it.
- 26:13Nip Time, what's the product?
- 26:15What's the problem you're solving?
- 26:16Yeah.
- 26:17The proposition that we have is pretty straightforward.
- 26:19We build a spreadsheet on top of a Jupyter notebook engine, which basically gives you all the data science, superpowers that the notebook gives you in a familiar way.
- 26:31It's a familiar spreadsheet environment, which means that you can share your work as a Python programmer much easier with people that are not familiar with notebooks because they have the universal data canvas of a spreadsheet.
- 26:42How interesting, because one of the big challenges data scientists often have is they work in Jupyter, they work in Jupyter, and then some executive wants to share it at a presentation or they want to continue working on it, but they're not developers.
- 26:55So what do you do?
- 26:56You write an Excel file and you hand that off and then you re-import it somewhere, maybe?
- 27:01I don't know.
- 27:01Yeah, yeah.
- 27:02The typical flow is indeed very much like you write out the CSV, you email that to the person that is going to put it into Excel.
- 27:10That person then creates a graph in Excel, screenshot that graph in Excel and sends it to the person that puts it in the presentation and then the CEO can do something with it.
- 27:19It goes either in PowerPoint or it goes in Word.
- 27:21Yeah, one of those two, right?
- 27:23Probably the picture.
- 27:24But that's a bunch of steps that are disassociated from data.
- 27:28So that's one problem, right?
- 27:29That's the one problem.
- 27:30But since no one really sees your product in action while we're talking here, maybe just a bit of an explanation.
- 27:36It looks very much like Google Docs or one of the online Excel, I say Doc, I mean Sheets, like one of the online spreadsheet things.
- 27:44It doesn't look like something embedded into notebooks, right?
- 27:48Yeah, that's right.
- 27:49It is a spreadsheet first and foremost.
- 27:51It looks a lot like Google Sheets, but you can run Python in it.
- 27:54Yes.
- 27:55You can run Python both directly in the spreadsheet cells.
- 27:57You can also define other functionality in Python and then run that with your spreadsheet.
- 28:02Yeah, I mean, to me, that's where the magic is, right?
- 28:05Like Excel or Sheets, the spreadsheets more broadly are super useful.
- 28:10But it's always like, how do I do an if statement in this dreaded thing again?
- 28:14And how do I do a max with a condition?
- 28:17You know, just all the programming aspect of going beyond just having raw data is just like, oh boy, this is.
- 28:23And you just showed me an example where like here, you just write range of a thing and boom, it just writes that out.
- 28:27Or you write a Python tertiary statement and it just runs.
- 28:32Right.
- 28:33Yeah, but also common things in spreadsheets that are hard are data cleaning, right?
- 28:38You get some data from somewhere and it's not quite right.
- 28:41And most of the time people end up doing this by hand.
- 28:43And that's fine the first time you do it.
- 28:46The second time and the third time it gets very annoying.
- 28:49While if you just write a little bit of Python, you can clean data like that.
- 28:53Yeah.
- 28:53And then the next time you have the data, you just rerun the script and it's clean again.
- 28:57So that's a very powerful way of doing this thing.
- 29:00And we have a full Python environment.
- 29:03It's not just a lightweight, you know, runs in the browser.
- 29:05You can do pip install anything you want.
- 29:08So you can connect any API out there, use any data, export any data.
- 29:13It's a complete environment.
- 29:15Yeah, how interesting.
- 29:15Yeah, there's a little window where you can write straight Python, you know, some function that does arbitrary Python.
- 29:22And then you can invoke it like a function in the spreadsheet, right?
- 29:25Exactly.
- 29:26Exactly.
- 29:26And you can talk to things on the internet.
- 29:28For example, I could do web scraping there.
- 29:30Yes.
- 29:31So you can call an API, like a currency API?
- 29:33Yeah, exactly.
- 29:34Okay.
- 29:35But yeah, any REST call you want to make, you just import requests and go for it.
- 29:40Wow.
- 29:41So where does it run?
- 29:42Is this PyScript, Pyodide?
- 29:44Is this Sculpt?
- 29:45Is this Docker on a server?
- 29:47It's all running in a Docker container.
- 29:49Okay.
- 29:49Server side.
- 29:50That's how it works.
- 29:51And that's kind of, we do that for maximum flexibility, maximum capability.
- 29:55So it means that anything you can install, anything you can run on a Jupyter notebook running on Linux, you can run in Neptune.
- 30:02I see.
- 30:02So we get full Python 3.11 or 3.10 or whatever it is.
- 30:05Yep.
- 30:05Yep.
- 30:06And, you know, we ship with a bunch of useful packages pre-installed.
- 30:10But if you want to install something else, you just open up our dependency management window.
- 30:14Okay.
- 30:15Install anything else you want to use.
- 30:16It's all very manageable, very configurable.
- 30:19Well, it looks super good to me.
- 30:21What's the user model?
- 30:23Do I go and create an account on your site and it's kind of like Google Docs or what's the story?
- 30:27Yep.
- 30:28Exactly.
- 30:28You can try it out.
- 30:29You can go to neptine.com in the upper right.
- 30:31Just click log in.
- 30:32You can create an account.
- 30:33It's totally free to use the free tier.
- 30:36Yeah.
- 30:36Give it a shot.
- 30:37Awesome.
- 30:38All right.
- 30:39Final question.
- 30:39You know, how did you guys get here in Startup Row?
- 30:41You know, everyone wants to build something amazing with open source, but how did you turn that into a business and something you can put your full time into?
- 30:48I mean, I guess we're kind of lucky in that when we started, I, you know, I pitched it to a bunch of people that due to no fault of their own got into some money.
- 31:03And they, they were willing to back us.
- 31:05And then later we joined YC for the winter batch.
- 31:09Awesome.
- 31:09And in that process, we, you know, got a little bit of publicity and were picked up for the Startup Row.
- 31:16Just to add to that too, based on our experience in Y Combinator, there are lots of open source tools out there that are able to get started on some commercial path just, just based on the community that they're building, based on the users.
- 31:28Right.
- 31:29It's a, it's a very good path.
- 31:31I feel like this whole open core business model has really taken off in the last couple of years where it used to be a PayPal donate button.
- 31:38And now it's a legitimate offering that businesses will buy.
- 31:41And it's good.
- 31:42I think it's very positive.
- 31:43So I'm really impressed with what you guys built.
- 31:46I think it's awesome.
- 31:47I think people really like it.
- 31:48Yeah.
- 31:49So good luck.
- 31:50Thanks for being here.
- 31:51Thank you so much.
- 31:52Now up is Nixla.
- 31:53We have Federico Garza and Christian Chula here to tell us about their time series startup ready to make predictions based on an open source time series ecosystem.
- 32:02Hey there.
- 32:02Hello.
- 32:03Welcome to Talk Python.
- 32:04Hello.
- 32:04Hello.
- 32:05Hello.
- 32:05Let's start with introductions.
- 32:06Who are y'all?
- 32:07So I am Christian Chalew.
- 32:09I'm a co-founder of Nixla.
- 32:11Yep.
- 32:11Hello.
- 32:12I'm Fede.
- 32:12I'm CTO and co-founder of Nixla.
- 32:14Nice to meet you both.
- 32:15Welcome.
- 32:16Welcome to the show.
- 32:17Really great to have you here at PyCon.
- 32:19And yeah, let's start with the problem y'all are trying to solve.
- 32:23Okay.
- 32:24Yeah.
- 32:24So at Nixla, what we do is time series forecasting.
- 32:27So as you know, time series forecasting is a very relevant task that a lot of companies and practitioners need to solve.
- 32:36So essentially predicting future values of something, right?
- 32:40It could be demand of a product or the weather.
- 32:42So there are many use cases for forecasting.
- 32:45It's a very common problem in industry.
- 32:47And essentially we want to provide tools to developers, engineers, researchers to be able to do this more efficiently and with good practices.
- 32:55And yeah, that's mostly it.
- 32:58Right.
- 32:58Okay.
- 32:58So is this like a Python API?
- 33:01Is this a database?
- 33:02What is the actual product?
- 33:06The product.
- 33:06Yeah.
- 33:07So we have an ecosystem of Python libraries and we have different libraries for different use cases.
- 33:14For example, we have the stats forecast library, which specializes in statistical econometric models.
- 33:21And also we have a more complex models and libraries for deep learning and machine learning applications.
- 33:30Yeah.
- 33:31Nice.
- 33:31And if you train some of these models yourself on certain data, things like that, or where do you get the models from?
- 33:38The idea behind the libraries is that you can use whatever your data is.
- 33:43The only restriction is that it must be time series data, but you can use whatever data you have.
- 33:50Okay.
- 33:51Fantastic.
- 33:52And where's its data?
- 33:54Python's at the heart of so much data processing these days.
- 33:57And, you know, I guess give a shout out to all the different Python packages that are already out there.
- 34:02Maybe you want to just give a rundown on those and what they're for and then talk about them.
- 34:06Yeah.
- 34:06So we have like six packages right now.
- 34:10They are all libraries on GitHub that you can install or install it with Conda.
- 34:14And essentially they focus on different ways of approaching forecasting.
- 34:18And they're essentially libraries built on Python, depending on some of them built on Numba.
- 34:22Other methods are in.
- 34:24Oh, you guys are using Numba.
- 34:25Yeah.
- 34:26Oh, okay.
- 34:26And it makes a huge difference?
- 34:28Yeah.
- 34:28Yeah.
- 34:28It makes a huge difference.
- 34:29All right.
- 34:29Yeah.
- 34:30Tell people really, really quickly.
- 34:31What is Numba?
- 34:32So Numba is this library which allows you to compile just in time your code.
- 34:38So it's a lot faster than using just plain Python.
- 34:42And how easy is it to use?
- 34:44It's really easy.
- 34:45Okay.
- 34:46Yeah.
- 34:46In fact, we wanted to make our library more efficient and more faster.
- 34:54And we did it in like two weeks only using Numba.
- 34:58So it was really easy to use.
- 35:00Yeah.
- 35:00Awesome.
- 35:01Awesome.
- 35:01And some other packages you see is PyTorch.
- 35:04So like our deep learning methods, neural forecasting approaches are built on PyTorch or PyTorch Lightning.
- 35:11Yeah.
- 35:12Fantastic.
- 35:13So would you say that your business model is something of an open core model where it's kind of built on top of these libraries?
- 35:19Absolutely.
- 35:20Yeah.
- 35:21Yeah.
- 35:21So for now, we have been focusing on building these libraries, the community.
- 35:25We have a very active community on Slack and people that use us and contribute with our code.
- 35:29And we are building services on top of these libraries like enterprise solutions or hosting computation or even simplifying the usage further.
- 35:39So for example, APIs where you can just simply pass your data.
- 35:43I want to know what is going to happen next on this data.
- 35:45Do you pass us some historical data and ask us to make predictions?
- 35:49Make predictions and then we produce the predictions.
- 35:51Okay.
- 35:52Yeah.
- 35:52This is one of the types.
- 35:53Yeah.
- 35:54So we are working on these different applications and services.
- 35:57Awesome.
- 35:57It sounds really cool.
- 35:58Thanks.
- 35:59So final question, how do you make your way over here to Startup Row at PyCon?
- 36:03Like how did you start your company and how did you get here?
- 36:06Yeah.
- 36:06It has been a long journey.
- 36:08I mean, we have been like for a year working on these libraries and services.
- 36:16And right now we are focusing on building the startup, right?
- 36:20We want to be able to do this full time for a long time and really, yeah, build something that can help people.
- 36:26Yeah.
- 36:27Are you looking to offer an API, like an OpenAI sort of model or running people's code as a service?
- 36:34Or where are you thinking you're going?
- 36:35Yeah.
- 36:36Yeah.
- 36:36That's definitely one of the options.
- 36:38But yeah, we are finishing our funding runs.
- 36:41And once we finish that, funding helps a lot on software development.
- 36:46Funding helps a lot on development.
- 36:47And yeah, so we are exploring different venues and there's very exciting things to come.
- 36:52All right.
- 36:53Well, we all wish you the best of luck on your project.
- 36:56And thanks for taking the time to talk to us.
- 36:58No, thank you for inviting me.
- 36:59Yeah, you bet.
- 36:59Thanks.
- 37:00Bye.
- 37:00Bye.
- 37:00We'll speak with Piero Molina from PrettyBase.
- 37:02They empower you to rapidly build, iterate, and deploy ML models with their declarative machine learning platform.
- 37:09Piero, welcome to Talk Python To Me.
- 37:10Thank you very much for having me.
- 37:12Yeah, it's fantastic to have you here.
- 37:13Quick introduction for everyone.
- 37:15Sure.
- 37:15So I'm Piero and I'm the CEO of PrettyBase.
- 37:18Can tell you about PrettyBase in a second.
- 37:20I'm also the author of Ludwig, which is an open source Python package for training machine learning models.
- 37:26And yeah.
- 37:27Awesome.
- 37:28Well, great to meet you.
- 37:28Tell us about your company.
- 37:30Yeah.
- 37:30So PrettyBase tries to solve the problem of the inefficiency in the development process
- 37:37of machine learning projects.
- 37:39Usually they take anywhere from six months to a year or even more, depending on the organization's,
- 37:45you know, their degree of expertise in developing machine learning projects.
- 37:49And so with using our platform, companies can get down to like from months to days of development.
- 37:56And that makes them substantially faster.
- 37:58Each machine learning project becomes cheaper.
- 38:01And organizations and teams can do many more machine learning projects.
- 38:06Yeah.
- 38:06I mean, training is where the time and the money is spent.
- 38:09Yeah.
- 38:10At least computationally.
- 38:11I mean, paying developers is expensive too.
- 38:12Right.
- 38:13But in terms of people say machine learning or AI, it takes all this energy.
- 38:17And it does take energy to answer questions, but it really takes energy to train the models,
- 38:22right?
- 38:22Yeah.
- 38:22Yeah.
- 38:23Definitely.
- 38:23There's training models is a huge part.
- 38:25Managing the data and putting it in a shape and form that is useful for training the models.
- 38:30There's also another big piece of the reason why these teams take so long to develop models.
- 38:37And also, usually there's several people involved in the process.
- 38:42There are different stakeholders.
- 38:44Some of them are more machine learning oriented.
- 38:46Some of them are more engineers.
- 38:47Some of them may be analysts or product developers that need to use the models downstream.
- 38:52And so, the handoff of the artifacts and of the whole process between these different people
- 39:00is also source of a lot of friction.
- 39:03And with the platform that we are building, we are trying also to reduce the friction as
- 39:06much as possible.
- 39:07Yeah.
- 39:07Sounds great.
- 39:08Is it about managing that workflow or is it about things like transfer learning and other
- 39:14more theoretical ideas?
- 39:17Like where exactly are you doing this?
- 39:20So, to give you a little bit more of a picture, I would say where we are starting from is from
- 39:25Ludwig, which is his open source project.
- 39:27And what Ludwig allows people to do, it allows to define machine learning models and pipelines
- 39:32in terms of a configuration file.
- 39:35So, you don't need to write the low-level PyTorch or TensorFlow code.
- 39:39You can just write a configuration that maps with the schema of your data.
- 39:43Okay.
- 39:43And that's literally all you need to get started.
- 39:46So, it makes it substantially easier and faster to get started training models.
- 39:50Then, if you are more experienced, you can go down and change more than 700 parameters
- 39:54that are there and change all the details of training, of the models themselves, the pre-processing,
- 40:01so you have full flexibility and control.
- 40:02And you can also go all the way down to the Python code, add your own classes, register them
- 40:09from the decorator, and they become available in the configuration.
- 40:11Very cool.
- 40:12This is what we have in the open source.
- 40:14Right, right.
- 40:14And what we're building on top of it is all the...
- 40:17Again, you can think about this for people who may be familiar with Terraform, for instance.
- 40:22What Terraform does for infrastructure, so they're finding your infrastructure through a configuration
- 40:26file.
- 40:27Ludwig does it for machine learning.
- 40:29Got it.
- 40:29That's a good analogy.
- 40:30Okay.
- 40:30And so, PratyBase, what does it, it uses this basic concept of models as configuration,
- 40:36really, and builds on top of it all sorts of infrastructure that is needed for organizations
- 40:41that are big enterprises to use it in the cloud.
- 40:44Okay.
- 40:44So, we have, like, we can deploy on cloud environments.
- 40:48We abstract away the infrastructure aspect of it, so you can run the training of your models
- 40:53and inference on either one small CPU machines or a thousand large GPU machines, and you don't
- 40:59need to think about it, basically.
- 41:00Oh, cool.
- 41:00So, I just say train it, and if you happen to have GPUs available, you might use them.
- 41:05Right, absolutely.
- 41:06Okay.
- 41:06Excellent.
- 41:07So, where does PratyBase fit into this?
- 41:11Like, where's the business side of this product?
- 41:14Right, right.
- 41:14I would say PratyBase makes it easy for teams, really, to develop machine learning products,
- 41:20right?
- 41:20As if, Ludwig, you can define your own configuration.
- 41:23But it's like, you know, a single user experience, if you want, right?
- 41:26PratyBase becomes like a multi-user experience, where, again, you deploy on the cloud, and you
- 41:32can connect with data sources.
- 41:33In Ludwig, you provide, like, a CSV file or a data frame, a Pandas data frame.
- 41:37With PratyBase, you can, like, connect to Snowflake, to Databricks, to MySQL databases,
- 41:43to S3 buckets, and do all of those things.
- 41:45And also, there's a notion of model repositories, because when you start to train a model, the first
- 41:50one is never the last one that you train.
- 41:52And so, and an analogy to Git, really.
- 41:55In Git, you have commits, and you have teams doing different commits and collaborating together.
- 41:59In our platform, you have multiple models that are configurations, and multiple people
- 42:03training new different models, spawning from the previous ones.
- 42:06So there's all a lineage of models that can be compared among each other.
- 42:09Yeah.
- 42:09And then the very last piece is that we make it easy to deploy these models with one click of a button.
- 42:14So you go from the data to the deployed model very, very quickly.
- 42:18Fantastic.
- 42:18It sounds great.
- 42:19So final question.
- 42:20A lot of people out there working in open source, they'd love to be here on Startup Row,
- 42:25talking about their startup based on their project.
- 42:28It sounds like what you built is based on the open core model, which seems to be really,
- 42:32really successful these days.
- 42:33You know, tell us a bit about how you got here.
- 42:36Right.
- 42:36So basically, I think it started from the open source, really.
- 42:39I started developing Ludwig when I was working at Uber.
- 42:44And initially, it was like my own project was a way for myself for being more efficient and
- 42:50working on the next machine learning project without reinventing the wheel every single time.
- 42:54And I built that because I'm lazy and I don't want like when I do one thing more than twice,
- 42:59then I automate it for myself, really.
- 43:01Productive laziness or something like this.
- 43:04And so then other people in the company started using it.
- 43:07And that convinced me that making it open source, also because it was built on top of other open
- 43:12source projects, would have been a great way to both have people contribute to it and improve
- 43:16it and also give back to the community.
- 43:17Because again, I was using myself a lot of open source projects to build it.
- 43:21Right.
- 43:22And then from there, I made it so that we donated the project to the Linux Foundation.
- 43:27So now it's backed by the Linux Foundation.
- 43:29And also the governance is open as opposed to what it was before when I was at Uber.
- 43:33And from there, actually, you know, I met a bunch of people, some of my co-founders at
- 43:38the company, thanks to the project.
- 43:40And we decided that, so for instance, one of them is Professor Chris from Stanford.
- 43:44He was developing a similar system that was closed internally at Apple.
- 43:48And so we said, this thing worked at Uber, worked at Apple, works in the open source,
- 43:52open source.
- 43:52Let's make a company out of this.
- 43:54Right.
- 43:54Fantastic.
- 43:55Yeah.
- 43:55Solving some problems for these big teams.
- 43:57Right.
- 43:58Excellent.
- 43:58Well, best of luck on your company.
- 44:01Thank you very much, Mike.
- 44:01Yeah.
- 44:02Thanks for being here.
- 44:02Yeah.
- 44:03Absolutely.
- 44:03A pleasure.
- 44:04Thank you so much.
- 44:04We'll finish up our stroll down startup lane by talking with the folks at Pinecone.
- 44:08We have Nikhil Rao to talk about the pure Python full stack web app platform that they've
- 44:14built.
- 44:14Nikhil, welcome to Talk Python.
- 44:16Yeah.
- 44:16Great to be here.
- 44:17Thanks for having me.
- 44:17It's great to have you here.
- 44:19I love going through all the different projects on startup row and talking about them and
- 44:24shedding a little light on them.
- 44:25So happy to have you here.
- 44:26Yeah.
- 44:27Yeah.
- 44:27Give a quick introduction on yourself.
- 44:28Yeah.
- 44:29So I'm Nikhil.
- 44:29I'm the CEO, co-founder of Pinecone.
- 44:32And we're building a way to make web apps in pure Python.
- 44:35So we have an open source framework and anyone can install this and basically start creating
- 44:39their apps front end and back end using Python.
- 44:42Our company went through the recent Y Combinator batch, just ended the winter 23 batch.
- 44:47And recently we raised our seed ran and starting to hire out and pretty much grow out our project
- 44:51and company from here.
- 44:52Okay.
- 44:52Well, awesome.
- 44:53Congratulations.
- 44:54That sounds really cool.
- 44:55Give us an idea of, I guess, you know, why do you build this, right?
- 44:59We've got Flask.
- 45:00We've got Django.
- 45:00Yeah.
- 45:01I mean, heck, we even have Ruby if you really want it.
- 45:03Yeah.
- 45:03There's a lot.
- 45:04So previous to this, like you mentioned, there's frameworks like Flask and Django.
- 45:08And whenever you wanted to, a Python developer wanted to make a web app, they use something
- 45:12like this, but you always have to pair it with another front end library.
- 45:14So you can't just make your front end using Python.
- 45:16You still have to end up using JavaScript, HTML, React, stuff like that for your front end.
- 45:20And so a lot of people, if you're coming from a Python background, it's a lot of work
- 45:24to kind of get started with these.
- 45:26It's a different language, different tool set.
- 45:27So we really wanted something where Python developers can just use these tools they already know
- 45:31and be able to make these web apps without having to go learn something completely different.
- 45:35So as opposed to these tools like Flask and Django, we're very focused on unifying the front
- 45:39end and back end into one framework.
- 45:40So you don't need a separate front end and back end.
- 45:42And that allows us to kind of, the user can just focus on the logic of their app and not
- 45:47kind of these technical details on the networking and all this other stuff.
- 45:49Yeah.
- 45:50It sounds interesting.
- 45:50I mean, I know many Python people who don't want to do JavaScript.
- 45:54Yeah.
- 45:55They don't want to do multiple languages.
- 45:57But, you know, it's traditionally, at least in the web framework world, you're speaking
- 46:02many, many languages.
- 46:03You're speaking HTML, CSS, JavaScript is a big one.
- 46:08And honestly, I think that there was a period where people were super invested in JavaScript
- 46:13and thought that was kind of the right way or the necessary way.
- 46:17And that would take away a lot of what's important about the web framework, right?
- 46:21Like, well, it doesn't matter if it's Flask or Django, we're just going to return JSON
- 46:25anyway because it's all Angular.
- 46:26So who cares, right?
- 46:27Yeah.
- 46:27But I don't think that's where people really, most, many people, at least the people choosing
- 46:31Python want to be.
- 46:33And so, yeah, how is your stuff different?
- 46:35So I think exactly what you said before this, to make a serious web app, you always have to
- 46:39go to JavaScript.
- 46:40And what we're really trying to do is make everything in Python, including your front end.
- 46:44And so basically, yeah, we're trying to integrate the two together.
- 46:47So basically, you don't have to go learn these technical details you didn't want before.
- 46:52We realized for all the logic of your app, you're using Python anyway.
- 46:55Like Python's used in so many industries, databases, ML, AI, infrastructure.
- 47:00And when these people want to make a front end, it is possible to make JavaScript or these
- 47:04JavaScript front ends.
- 47:05But that's a lot of overhead.
- 47:06And before our kind of our framework, there are different low code tools to make front
- 47:11ends without JavaScript.
- 47:11But they all kind of have a limit.
- 47:13And they all have a graduation risk is what we found.
- 47:15So you can start making your UI.
- 47:17Can you make any website with them?
- 47:19Right.
- 47:20Like Streamlit and Anvil are both notable ones that kind of come to mind.
- 47:24But neither of them, I like them both a lot, but neither of them are necessarily like, I'm
- 47:28just going to build a general purpose web app.
- 47:31They're focused in their particular area.
- 47:33Yes, exactly.
- 47:34So I've used tools like Streamlit, Gradio in the past.
- 47:36And a lot of that was inspiration for Pinecone.
- 47:38It's really great because it's super easy to get started with.
- 47:41You don't have to go learn these things, but they all have this kind of ceiling you
- 47:44hit.
- 47:44So they're mostly good for like data science apps, dashboard apps.
- 47:48But as you try to expand your app into like a full stack web app, start adding these new
- 47:51features, a lot of times you find these frameworks don't really scale with your ideas.
- 47:55And your two options are either you have to kind of constrain your idea into what these
- 47:59vendors offer you, or you use that for prototyping.
- 48:02And when you're making a customer facing production app, you scrap it and go to like a JavaScript
- 48:06React world.
- 48:07So what we're really trying to do is make something like these Anvil or Streamlit easy
- 48:11to get started with for Python developers.
- 48:12But as you want to expand to these complex cases, you should be able to stay in our framework
- 48:16and we should be able to handle that also.
- 48:18Interesting.
- 48:18So how does the front end interactivity work if it's Python?
- 48:21Yeah.
- 48:22And this is also where I think we're a bit different.
- 48:23We're trying to really leverage a lot of the web dev ecosystem and not recreate everything
- 48:27from scratch.
- 48:28So for the front end, we leverage React and Next.js.
- 48:30So our front end compiles down to a Next.js app.
- 48:32And from this...
- 48:33Oh, you're transpiling the Python?
- 48:35We transpile the Python to Next.js.
- 48:36And this gives you a lot of great features.
- 48:38You get single page app features from Next.js, a lot of these performance features.
- 48:41And that means from our perspective, we don't have to recreate all this stuff.
- 48:45And also, we don't have to create components one by one.
- 48:48We just leverage React.
- 48:49And for what we do in Pinecode for the front end is we just wrap React components and make
- 48:53them accessible.
- 48:53So even if we don't offer something, and other local tools, sometimes if they don't offer a
- 48:58component you need, you may be kind of constrained in what you can build.
- 49:01We easily have a way for anyone to wrap their own third-party React libraries.
- 49:05So we're really trying to make the existing stuff out there accessible rather than recreating
- 49:09it.
- 49:09Yeah.
- 49:10So you can sort of extend it with React if you get boxed in.
- 49:13That's your escape hatch.
- 49:13Exactly.
- 49:14Okay.
- 49:15So that's kind of how our front end works.
- 49:17And for the back end, we use FastAPI to handle all the states.
- 49:20So the user state is all on the back end on the server.
- 49:22And this is what allows us to pretty much keep everything in Python.
- 49:25So none of the logic is transpiled to JavaScript, only the React.
- 49:28And all the logic stays in Python.
- 49:30So you can use any of your existing Python libraries, any existing tools.
- 49:33You don't have to wait for us to kind of make these integrations.
- 49:36So it's kind of leveraging React, but also leveraging Python and kind of bringing them together.
- 49:40What's the deployment look like?
- 49:41So we're working on an easy deployment.
- 49:43So you can just type PC deploy.
- 49:45We'll set up all your infrastructure and you'll get a URL back with your app live.
- 49:48But also we're an open source framework.
- 49:50So it's also very easy to self-host and self-deploy.
- 49:52And so what we're really trying to do is make it accessible and easy, but never kind of lock
- 49:57you into our framework.
- 49:58I see.
- 49:58So I could put like Nginx in front of it or something.
- 50:01Exactly.
- 50:01Like, so right now we're still working on our hosting deployment.
- 50:03So everyone right now who's deployed is hosting on AWS DigitalOcean or a tool like this
- 50:07with Nginx.
- 50:08Yeah.
- 50:08So it integrates just like you would deploy a Flask or React app.
- 50:11Got it.
- 50:11But we're really trying to make an optimized hosting service around this later.
- 50:14Yeah, sure.
- 50:15It makes sense.
- 50:16All right.
- 50:16Sounds like a great product.
- 50:17Thanks, sir.
- 50:18Final question here.
- 50:20You know, how'd you get here?
- 50:21How'd you start the company?
- 50:22How'd you land on Startup Row?
- 50:24I mean, you talked about Y Combinator a little.
- 50:25Yeah.
- 50:26So I talked a little bit.
- 50:27We did the Y Combinator batch.
- 50:28And really the idea is not only having an open source framework, but having like a business
- 50:33model around it and being able to create like these features around it.
- 50:36So we're really focused on kind of being similar to have an open source framework, similar to
- 50:41like how Vercel has Next.js and their hosted version and kind of bringing that to the Python
- 50:44community.
- 50:45So Python is like one of the fastest growing languages.
- 50:47Obviously, like that's why Python is so big.
- 50:49And for the web dev part, there's not really a good ecosystem for that.
- 50:53So when people want to share their ideas, we're really trying to become that de facto
- 50:56way for Python developers to create their apps and share.
- 50:59And so, yeah, basically working on our hosting service, growing out our team now and trying
- 51:03to build up all this like ecosystem around it so people can easily get their ideas out
- 51:07to the world.
- 51:07Awesome.
- 51:08Well, congratulations and thanks for being here.
- 51:10This has been another episode of Talk Python To Me.
- 51:13Thank you to our sponsors.
- 51:15Be sure to check out what they're offering.
- 51:17It really helps support the show.
- 51:18Take some stress out of your life.
- 51:21Get notified immediately about errors and performance issues in your web or mobile applications with
- 51:26Sentry.
- 51:27Just visit talkpython.fm/sentry and get started for free.
- 51:32And be sure to use the promo code talkpython, all one word.
- 51:35Want to level up your Python?
- 51:37We have one of the largest catalogs of Python video courses over at Talk Python.
- 51:41Our content ranges from true beginners to deeply advanced topics like memory and async.
- 51:46And best of all, there's not a subscription in sight.
- 51:49Check it out for yourself at training.talkpython.fm.
- 51:52Be sure to subscribe to the show.
- 51:54Open your favorite podcast app and search for Python.
- 51:57We should be right at the top.
- 51:58You can also find the iTunes feed at /itunes, the Google Play feed at /play,
- 52:03and the direct RSS feed at /rss on talkpython.fm.
- 52:07We're live streaming most of our recordings these days.
- 52:11If you want to be part of the show and have your comments featured on the air,
- 52:14be sure to subscribe to our YouTube channel at talkpython.fm/youtube.
- 52:19This is your host, Michael Kennedy.
- 52:20Thanks so much for listening.
- 52:22I really appreciate it.
- 52:23Now get out there and write some Python code.
- 52:25I'll see you next time.