Podcast Lookup

35 - GraphQL and Python with Patrick Arminio

The Python Show

  • March 27, 2024
  • 43 min
Episode page
About this episodeWelcome to episode 35 of The Python Show Podcast. In this episode, we have special guest, Patrick Arminio (@patrick91), the creator of…

Welcome to episode 35 of The Python Show Podcast. In this episode, we have special guest, Patrick Arminio (@patrick91), the creator of Strawberry GraphQL, the Python implementation of GraphQL.

We discuss the following topics:

* 1:20 - Journey into programming

* 3:57 - Favorite Python modules

* 8:18 - Strawberry GraphQL

* 19:38 - AI and open source development

* 22:58 - Conference organizing

* 38:44 - Non-technical hobbies

Links

* PyRun

* PyRun Discord

* PyCon Italia

* EuroPython

* Strawberry



Get full access to The Python Show at www.pythonshow.com/subscribe

Transcript

From the publisher

This transcript comes from the podcast’s own feed, shown as the publisher wrote it.

35 - GraphQL and Python with Patrick Arminio

00:00—
  1. Speaker 4

    Welcome to a brand new episode Mike Driscoll The Python Show Hello and welcome to The Python Show I'm your host Mike Driscoll and today I welcome my friend Patrick to the show Hello Patrick Hi, hi So Patrick is the author of Strawberry GraphQL package, which you can use with Python to interact with GraphQL, I believe. And he also does conference talks and other things in the Python community. So welcome to the show. And why don't you just tell us a little bit about yourself?

  2. Speaker 3

    Yeah, for sure. As I mentioned, my name is Patrick. I created this library called Survey GraphQL, which allows you to create GraphQL servers using Python. We'll go into details during the show. On top of that, I guess I'm Swiss-Italian. I grew up mostly in Italy for the first 20 years of my life. Then I moved to London. At the moment, I'm in Slovakia because my girlfriend is doing an internship here. But we should be back in London at some point. and yeah on top of that I also help organize Python Italia I'm the chair of the Python Italia Association at the moment and we organize Python Italia every year pretty much and I've been helping EuroPython on and off in the last maybe six or seven years I've been off for two years then I got back two years ago I was in the board this year I'm just helping with the website because I had a bit too many things going on at the same time

  3. Speaker 4

    That's cool. So I'd like to ask my guests just a little bit about how they got into programming. So maybe you could tell us a little bit about that and your journey.

  4. Speaker 3

    Yeah, for sure. I mean, I don't really have a good memory, I guess, of my early times with programming. I remember that I was a lot into magazines, so I was kind of reading things like Windows Magazine and Linux Magazine, and there was one for programming, so that kind of got me started with at least getting familiar with these kind of things. And I think also my uncle was doing some websites, and it kind of made me wonder if I could do something like that. and then at some point my parents needed a website so I tried to to implement one and so I started with doing some HTML CSS and I think it was PHP or even just pure HTML actually I don't even remember yeah so that's you know I started doing some website and then I went on IRC I don't even remember how I found out about IRC because I grew up in a tiny village I was the only one into tech I guess and yeah I got into IRC and there was quite a bunch of people there passionate about CSS and web development and there were actually quite a few people passionate about Python so they invited me to the Python channel and they basically kind of forced me to try Python and I pretty much never looked back actually took me a while to get started with with it but I kind of fell in love at some point and I started using it yeah for everything yeah I kind of miss IRC that was a that was a fun time using that yeah yeah it was cool I mean now there is Discord but I feel like I don't know like I have I don't know maybe 20 servers I cannot follow so many services yeah yeah I find Discord confusing once you get beyond like three or four it gets really hard to follow everything yeah yeah there's a bit of a debate well not debate like we're chatting with the people at EuroPython for because we use Discord for the conference organization but sometimes they've been messing we kind of want to get back to Slack because it's somehow it's easier to manage a lot of information into Slack and we use Slack for Python Italia as well it's been working well but it's also you know it's it's I don't know what it is.

  5. Speaker 4

    I feel like Discord's notifications aren't as obvious when they're just for you as Slack is.

  6. Speaker 2

    Yeah.

  7. Speaker 4

    Oh, well, hopefully they'll figure that out.

  8. Speaker 3

    Yeah, at one point.

  9. Speaker 4

    So what are some of your favorite Python packages or modules that aren't your own, of course?

  10. Speaker 3

    Yeah. I mean, more than a package or module, one thing I really like is PDM. It's more like a tool for Python. And it's a Python package manager. It's similar to Poetry or, I guess, Pip. in a way. But I really like it because it works pretty much for all the things I need to do. So for example, I mean, obviously it manages the virtual AMP for you, like Poetry. You can install things and it adds them to the pyproject.toml. It also has a log file, like everything. But one of the features I love the most is like the scripts feature. It's similar to, if you're familiar with the package.json, there's a script and Patrick Arminio and Patrick Arminio or everything and that's quite neat and it also has an interesting support for environment files so you can say that all your scripts are gonna read a specific environment file so it populates the environment variable from a.env so you don't have to use .env so it's one test dependency which is quite nice yeah in terms of maybe like a package I guess struct log might be one that's a good one. I don't know. Logging is difficult in Python. Struct log makes everything much easier and also easier to see on UI. So it's more neat as an output. Yeah.

  11. Speaker 4

    Yeah. Yeah, I remember looking at that one, but I haven't tried it out yet. So I think I was evaluating struct log. I think there's another one called logbook.

  12. Speaker 3

    I haven't seen logbook.

  13. Speaker 4

    So there's another one, too. I think there's three there for a while. I can't remember the other one. But yeah, they're interesting. They're interesting packages. Speaking of, you called it PDM. Have you tried of? I think that's from Astral.

  14. Speaker 3

    Yeah, I haven't tried it yet. I mean, if they implement the same feature set as PDM, I'm probably going to migrate to that. But the main things I need is Yeah, virtual AMP support, which they have lock files. I don't know if they have it already, but I don't think there's groups. Yeah, but yeah, I mean, I'm all for, you know, make everything as fast as possible. It's a bit of a shame that there is, I mean, this is similar for the typing stuff, but like, you know, there's quite a lot of work being done in different directions. Like there is ppamv, poetry, pdm, uv, and I'm sure there's other things. I think there's one prefix it might be. I think we were making fun of JavaScript having so many frameworks, but we kind of went the same direction packaging a list.

  15. Speaker 4

    Yeah, packaging's been a mess for a while.

  16. Speaker 3

    Yeah, but it's cool to see innovation being done there. It would be cool to kind of recognize more people, I guess. I mean, the person behind PDM is just amazing and always responsive on issues.

  17. Speaker 4

    Yeah, I think it's good that we have multiple competing standards because I think that'll make one of them better. And hopefully the one that works the best will, I don't know, take some of the features that the other ones have and just make the whole thing better.

  18. Speaker 3

    Yeah, for sure.

  19. Speaker 4

    I mean, Google and Apple, their phones have a lot of the same features because they kind of copy each other back and forth. So hopefully we have that same dynamic.

  20. Speaker 3

    Yeah, yeah, for sure. I mean, we're going to benefit from this, I guess. It's just like, you know, there is a bit of catch up we need to do. And I mean, we don't have to follow all of this. We just can wait for a bit.

  21. Speaker 4

    Yeah.

  22. Speaker 3

    But, you know, it's nice to look at the new shiny things and try them.

  23. Speaker 4

    Yeah. I like kicking the wheels and seeing which one works nice and, you know, which one fits best in my CI system. Anyway, let's get back to Python packages. Why don't you tell me a little bit about Strawberry GraphQL? I don't really know much about GraphQL in the first place. Maybe you could just tell us what that is.

  24. Speaker 3

    yeah for sure so yeah GraphQL I feel like it's a big niche especially in the Python world but it's growing more than in I guess the indie space like you know individual developers or smaller companies growing quite a bit in the enterprise world because just to kind of understand more like GraphQL is basically an API technology it allows you to do things like you would be able to do with REST but the main difference instead of working with multiple endpoints like for example slash user slash post and and so on, you only have one which is usually slash GraphQL and then you send the document in a way similar to what a SQL query would be. You basically are telling the server what kind of data you want to fetch and then the server kind of goes and fetches data from the right places. But one thing I want to clarify is that that doesn't mean that you are exposing your old database. GraphQL has a schema which is usually handcrafted so you basically write it on your own and you say oh these are the entry points these are the things that you can fetch from this API for example for the example I mentioned before you would have a field called user or one field called blog post one field called Yeah, and all blog posts and things like that. And basically you can only fetch those kinds of data. Okay. And the reason why it's called GraphQL is because it's pretty much a graph of data. So like things can be connected together. So for example, you can have a user field, which is a user, returns a user type, but the user type can also have a list of blog posts, for example, deleted blog posts or list of comments and so on. So it's kind of everything connected together. Hmm.

  25. Speaker 4

    so do you have like multiple QL documents that you can send at the same time or is it the graph is just kind of representation of the fact that there are different paths that can travel yeah exactly the graph is uh it's a representation of what data you can fetch yeah okay I think I get it all right so where does the Strawberry GraphQL part come in

  26. Speaker 3

    Yeah, so GraphQL is a specification and it's an open source. It was created by Facebook in 2015, I think. And it was owned by Facebook up until a few years later, but then it's been released as a fully open source. So now it's community-owned. It's actually a GraphQL foundation. on city development. But as I mentioned, it's a specification, so it's not really an implementation. And Sorbet is basically an implementation of the GraphQL specification in Python. He uses a syntax similar to data classes to define the types so you can do class user name colon string and you're saying that this user has a name of type string and then you have to use the addStrawberry.type decorator to say this is going to become a GraphQL type using Strawberry so that's how it works it's a bit hard to visualize but it's if you're familiar with data classes instead of doing the data classes decorator you do the Strawberry.type decorator and that pretty much does the same thing that Dataclasses does but also add some metadata to tell Survery that this is going to be a GraphQL type.

  27. Speaker 4

    That's cool. So is that compatible with the majority of Python web frameworks? It just kind of plugs in and just works with any of them?

  28. Speaker 3

    Yeah, pretty much. I mean, we have done quite a bit of work to implement as many web frameworks as possible into Sorbet itself because there's other libraries that have a separate implementation, but there's quite a few frameworks. I think we have maybe seven integrations and updating all of them in different repos, it's quite difficult. And we have one place where we do everything. And I also spent quite a bit of time to actually reduce the amount of code that's duplicated within all this integration, because at the end of the day, GraphQL is a one endpoint, sends some data and receives some data back, plus some other interesting things. But the initial implementation that we had was quite a bit of duplication of code. And I think last year, towards the end of last year, I spent a bit of time to refactor all of that. And now it's much easier to add new integration, also to add new features if needed. Cool.

  29. Speaker 4

    So which web frameworks do you officially support right now? Do you know?

  30. Speaker 3

    Well, I can check, but on top of my head is all the ones that support ASCII because we use Starlet for the ASCII integration. FastAPI, we have a dedicated integration. There's Django, there's Flask. Oh, Django supports both Sync and Async. Flask. We also do Sync and Async for Flask, there's Quirt, there is Lightstar, and I think the last one is AOACDP. Oh, and then Chalice as well. There's quite a few of them. Nice. Once you add one, it's difficult to say no to the other ones, and it's also not a lot of code.

  31. Speaker 4

    Okay. That's cool. Not something I'm super familiar with because I don't do a lot of web programming, so it's fun to learn about how different people program on the web. So which of those web frameworks do you like to use or have tried?

  32. Speaker 3

    Yeah, well I tried all of them to just try the integration. I'm not familiar with all of them though, at least not in depth. The one I use the most is Django because it's the one that kind of kicked off my Python career because I was doing some script but then I was into web development and I went and tried Django and as you I guess you know it provides a lot of things for you like the algorithm is it's I mean maybe right now it's not doesn't feel that magic but like 10 years ago it felt like Magic. You would just write a file and then you would create an admin interface. Yeah. The authentication is a big reason why I use Django as well. And DRM. I never got familiar with SQL Alchemy, but maybe I should at some point. So Django will be the main one. But then FastAPI is also one of my favorite ones. I use that for kind of smaller things when definitely for all my demos is FastAPI because it's easier to set up and it's quite lightweight. And I think it also kind of works well with GraphQL because it's, you know, FastAPI is it doesn't have to be for APIs but it's meant to create APIs and GraphQL is also for APIs and they also both use type-ins which are quite similar

  33. Speaker 4

    Huh, so Django isn't type-int compatible yet?

  34. Speaker 3

    Yeah, I mean, so there are third-party packages for Django that makes it easier to do type stuff, so there's Django types and Django stubs, I think. Okay. But it's not great yet. So, I mean, you can use Strawberry, you can use any, you can use type-ins with Django as well, but, like, if you do strict mode, You're going to have a bit of a hard time because there are things that are done in the Django framework that are not easy to define with a type system. Yeah. Yeah, even just the thing that you are using, like the syntax, you create a model and do ID equals Django integer field, for example. It's hard to tell a type checker that that's actually creating a constructor on that type. um it's the same well it's the same issue with data classes actually like for example in MyPy there was a plugin to basically tell MyPy look when there is this decorator there's going to be a construction on the on this class or equalizer method okay Now that became a specification so there is a way to formally define decorators that work similar to data classes because there is data classes, there is strawberry, there is pydantic, there is actors that pretty much do the same thing and so there is a specification, there is a path for this that basically tells the type checker when you see this decorator or maybe this based class, then you can add these methods, which is quite nice, but still difficult to represent some of the things that, for example, Django does. Even Django by default adds an ID property to the type, but that's pretty much impossible for a type checker to know, unless you make a plugin.

  35. Speaker 4

    Yeah, I think I was playing around with MyPy and trying to do some type checking on PyGTK and PyGTK has a lot of magic under the covers and it didn't like it very well. So you do a lot of, a lot of lint, PyLint ignore because it's, it's not very happy with those.

  36. Speaker 3

    Yeah, unfortunately, yeah. For Starberry, for example, we have quite a bit of tests just for MyPy and also Pyrite, the other one, or the most used one, I guess. We have quite a bit of tests to make sure that we don't break this integration, this plugin, because we rely on type-ins, and if you use type-ins and you get errors, then that's not a great developer experience.

  37. Speaker 4

    No, it's not. That's cool. I really need to try Pyrite. That's on my to-do list.

  38. Speaker 3

    Yeah. If you use VSCode, it's kind of bundled in with the Python extension.

  39. Speaker 4

    Yeah. I've heard that.

  40. Speaker 3

    Yeah. It's quite nice. Yeah. It's fast and works quite well. Sometimes a bit too strict, though.

  41. Speaker 4

    Can you use Pyrite outside of VSCode, though? Yeah.

  42. Speaker 3

    Yeah, yeah. There is a language server and also a command line.

  43. Speaker 4

    OK. I think when they first announced it, it was only in VS Code, and that's why I wasn't super interested in it.

  44. Speaker 3

    Yeah, but I mean, it's interesting because they, so Pyrite is kind of the open source type checker, but there's also Pylance, which is the VS Code extension, gives a bit more features.

  45. Speaker 4

    Maybe that's what I'm getting confused about then.

  46. Speaker 3

    Yeah, well, it is confusing. I don't know why they've done this kind of split, I guess, of extension plus.

  47. Speaker 4

    Yeah. Yeah, it definitely threw me for a loop. I remember when I first read about it, I'm like, is this installed with the Python plugin? Because I think it was, at least at that time. And I'm like, OK, do I need to install anything else? It wasn't obvious.

  48. Speaker 3

    Yeah.

  49. Speaker 4

    Anyway. So have you noticed AI helping you out in any way with all this web framework or type hinting or anything you do with your open source development?

  50. Speaker 3

    Yeah, I'm a big fan of Copilot. I mean, there is also some bias here because I get it for free. They give it for free for like open source people. I don't know what... um what what's the um how do you say it why i'm specifically getting it because i know some friends at open source haven't got it so i don't know if it's like number of stars or other things but um so there's some bias there but i i use it quite quite often i really like it for tests um so usually you write one test so even just with pytest you know def and then test this thing and then usually infers the right thing but if he has enough example from your code base then he usually does the right thing which is quite nice and it kind of makes it easier to write tests are a bit repetitive in terms of just general programming I use it also quite often as well but sometimes it doesn't do the right thing and if you don't know that's not doing the right thing then you're wasting quite a bit of time especially if you're going fast and you suggest something that looks correct but it's slightly wrong um then that kind of sometimes makes you waste more time there actually um overall it's been it's been nice um it it does struggle a bit with um with new things like for example I've been using this framework called Astro which is a JavaScript framework which is quite nice but it's quite new and there's not enough training data for it and sometimes just suggests random things. It doesn't really have the ability to tell, oh, I'm suggesting something that doesn't kind of work in this case. But yeah, other than that, I enjoyed it quite a bit.

  51. Speaker 4

    huh yeah I've only used I think Copilot for one job and I noticed it was really good with tests where it would especially boilerplate but yeah for regular like if you need to do that greenfield work it wasn't that great so yeah for sure it's interesting to hear other people's experiences yeah it's also interesting for writing docs

  52. Speaker 3

    I'm not a good doc writer and Copilot sometimes helps me just with the writer block. It writes something and says, oh, I don't like this, and then kind of gives you some ideas to what to write and to make it better.

  53. Speaker 4

    Interesting.

  54. Speaker 3

    Yeah. It's not too bad for that. And it's also good for... kind of generating random data. I'm a developer advocate, at least for the next couple of weeks. And I do demos quite often, and it's quite useful to just return something and it generates some random data for you so I don't have to think about random stuff.

  55. Speaker 4

    That's cool. I remember it creating some good fake users in my Django code when I was writing some tests, and I liked that. So let's talk about your conference organizing. You'd mentioned PyCon Italia, probably pronouncing that wrong, and EuroPython. How'd you get into that and how's that going?

  56. Speaker 3

    yeah I guess it's a similar story for both of them so and it all stems with IRC like as I mentioned when I was starting programming I joined this Python channel and after a while there were some people organizing the well the second PyCon Italia in Florence and I was I was 16 at the time and like there were other people same age as me which I didn't actually they were the same age as me but they said we should go to this conference so we just who somehow organized it and we went to the conference and we had a great time there. We got the ticket for free. One year we even got the accommodation for free. One of the people that was living in Florence said, oh, you can come sleep with us and that's fine. Yeah I mean the the organizer team was very nice like you know just even getting a free ticket as a student uh was really cool and I don't know it kind of felt like oh we should we should definitely not miss this opportunity uh but I think the main thing that kind of struck with me is it's just how welcoming was the community as I mentioned I I lived I grew up in a small village and I had quite different interests than my friends I mean I was mostly into tech and programming but none of them was actually doing any of this and then I kind of you know just going to this conference I felt more at home but something I kept thinking over the years is also like there is a big difference of age between the organizers some of the organizers and also me and I never kind of felt that the difference was the difference of age at least was I don't know probably like they treat me as an equal okay was different from I guess my previous experience like in I don't know like all the people older people than me always wanted to I don't know they wanted to be treated with respect yeah yeah and also they they kind of felt like you didn't know you didn't have enough experience in general so they was always trying to teach you things in but in this case they were just you know talking with me normally about the things that we like without you know any judgment or any uh anything like that so it was it was really cool and Yeah, it was probably one of the first time I kind of had that at home with my people, I guess. And so I pretty much started going every year to PyCon Italia. So I joined on the second PyCon Italia and that was in 2007 and I pretty much went to all of them since then. So the number on top of my head was maybe 14 of them.

  57. Speaker 4

    So how big is that conference nowadays?

  58. Speaker 3

    Yeah, nowadays it's pretty much 800 people. Well, it could be more, but we have a physical limit in the venue. um yeah I think next year we will change venue we maybe try to get it bigger get more people I guess there okay um yeah and EuroPython I'm pretty much um similar because they there was in 2011 instead of doing Python Italia we did EuroPython so that's how I met people people there um and that's I mean yeah that's how I kind of heard about EuroPython as well and then um in 2015 I kind of started helping with the website because it's one of my passions. I like doing websites and that's how I got into the organization team for a few years. Then I left for a couple of years because I was getting burned out with too many things I was doing.

  59. Speaker 4

    Yeah. Yeah.

  60. Speaker 3

    Yeah. And yeah, also when... Yeah, after PyCon, I also went to JungleCon, JungleCon Europe.

  61. Speaker 4

    Oh, cool.

  62. Speaker 3

    Yeah, which that was also one... um one interesting conference because yeah it's about Django but Django has a lot of um focus on kind of diversity in community and it was really cool and it's something that kind of I I really liked and I kind of got to me and I'm trying to break to Python Italia as well and also all the people of Python Italia have similar feelings but like DjangoCon was kind of really big on having you know at least a couple of community keynotes or diversity keynotes which I think it's really important like for me like I wasn't really aware of any of those topics or like all the discussion around that I think you know having these things in a conference is really good because I don't know personally as a young adult I wasn't really thinking of going to or even watching YouTube talks about diversity about inclusion it wasn't on my radar so like having a conference I would kind of I don't know let's say force you to see these folks I think it's really good because you know you're there you're definitely gonna watch like you know then also the people that they brought were really good, were really passionate and really able to bring this topic home. So that was really cool to see.

  63. Speaker 4

    So what parts of the conferences have you been in charge of, just out of curiosity?

  64. Speaker 3

    Yeah, that's a good question. It definitely changed over the years. Like, for example, like, EuroPython has been... Well, EuroPython has usually been mostly the website. And I was also on the board, but the board, the EuroPython, it's... I don't know how to describe it. We do calls every two weeks and we discuss different things, but it's not like... There is some people that are in charge of specific things, but usually we come up as... as a team we make decision I guess at least for most of the things but there's definitely like people like the chair of the of the Euro Python that kind of has the focus on the more crucial things like signing the contracts finding the venues I mean finding the venues it's shared but you know the chair user is responsible for that for Python Italia we jumped between tasks at the beginning again website we were using an older code base that was a bit hard to maintain and we also you know as we are developers we always want to build the next better thing to basically make it from scratch we actually I mean quite happy with how it turned out like there is Marco and Esther, but especially Marco is one of the key people of the work that's been done for the Python Italia website. I mean, the front end, I mean, obviously I'm biased, but it looks really nice. We collaborated with an Italian design studio to get the graphics, but also the backend is really cool. There's a lot of things that have been done there to just make our life easier and hopefully in future we're going to do more.

  65. Speaker 4

    Yeah.

  66. Speaker 3

    Yeah, so I mean, I was doing website stuff just to get back to what I was doing. Nowadays, I'm not really, I mean, I'm doing some coordination. I mean, this year I kind of took a step back as in day to day stuff because I'm, well, was getting a bit burned out with work, so that's one of the reasons why I'm quitting soon. And so I wasn't doing much, I was doing some visa stuff, so signing the visas for example, and one thing that's very annoying to do is some electronic invoice that we have in Italy. that's something we implemented in script a couple of years ago we tried to make it better this year some bugs and I've been working on that quite a bit just yeah no no fun work but it's something that we need to do yeah and there's there's been some work also to the one thing that we want to do is to kind of make the Python communities grow in Italy this is also a common topic with EuroPython like EuroPython organizes EuroPython the conference but also has a goal of making the smaller conference grow over time and with Python Italia we pretty much have a similar thing so we want to make the Italian meetups grow over time and so we we've done some work there and actually quite proud of you know the people I have have stepped up a lot and there's quite a few meetups about Python in Italy and my hope is that this is going to grow and we're also going to have hopefully at some point more money to distribute to those smaller meetups because that's one of the things that is going to help quite a bit because finding venues at the beginning I think is quite difficult even just finding sponsor for food because usually people like say oh there's pizza let's go there it's a good way to it's a good excuse to go to a meetup as well yeah so that's one thing that's been on top of my mind and yeah I was having some conversation with Arthur for EuroPython which that's something that EuroPython should do as well at some point but it's tough because organizing a conference requires a lot of work. I mean, Python Italy, I think we are maybe 20, 30 people around the conference on and off, I guess. Python is maybe 50 or 60. There's a big number of people doing these things and everyone is doing it for free pretty much for the community. And so it's hard to do more tasks. I'm really grateful of all the people that have been doing the work for Python Italians. It's a lot of work and if they were not there we would probably not be able to do this conference. It's a good thing that we're doing for the community. I remember last year I think we did a show hands during one of the first keynotes and we asked how many people were new to the conference and I think like most of it like half of it at least were new people which it's a good sign because the community is like evolving and we're getting you know new people to find this world and hopefully make friends as well and maybe find a new job as well I mean I made a lot of friends through these conferences and also find contracts So hopefully we can change some lives and make it better.

  67. Speaker 4

    Yeah, networking is an underrated skill. I definitely recommend it to all the listeners. Get out there, go to conferences. Which reminds me, you mentioned your conferences are promoting the local Meetups. Do you know how many meetups there are in Italy right now or in general?

  68. Speaker 3

    I have a list. I think it's nine of them. Some of them are not, but it's now nine of them. We would love to have at least one private region, which is 20. That's difficult. There's a bit of divide as well between north and south of Italy. okay yeah stuff but like uh we'll hopefully we'll get it better over time see so is that is that because Italy is like I don't know I don't I don't know enough about Italy but it's like Italy like agricultural like in the south versus the north or is that like the reason or is that some other reason do you think um honestly I I am not 100 sure it's definitely something historical but I actually never delved into that I can always

  69. Speaker 4

    gave it for granted and yeah I never spent much time well you know I live in Iowa which is really rural and you know there's Des Moines which is our capital and so that's like where you'd go if you wanted to get like a technical job but most of the other communities which are all like little towns with a thousand people or less in them you know you're going to be working at a gas station or farming and so you're not going to have very many meetups you got to meet up in Des Moines and maybe meet up in another big city and that's it for Iowa you know so I was just curious if that's how Italy is or

  70. Speaker 3

    yeah I think it's always been like that historically I mean also like Italy was divided you know quite a bit in the past so maybe that that's it but I interesting history has never been one of my one of my skills unfortunately but I guess to piggyback on you know the suggestion of going to conferences like if you're an introvert go often to conferences like try try more times I mean it took me two or three years actually so I'm making friends because you see them again um and they're gonna recognize it they're gonna come and talk to you like for me like person has been quite difficult to to make friends but like um you know also like assume best intentions everyone is there to make friends and usually people are friendly um yeah multiple times

  71. Speaker 4

    They have similar interests to you. I mean, that's the whole reason you went. And that's what I like about the conferences. You know, you go out. Let's say you go to, I don't know, you go to the bar or you go to a picnic or something. You're not going to meet a bunch of Python people there. And so they're not going to want to talk to you about Python or about engineering or web development, which makes it hard if you're introverted because that's what you know. you know sometimes sometimes you know anime or sometimes you know some other introverted topic but you go to PyCon or another conference like that a tech conference you have a lot to talk about you know

  72. Speaker 3

    Yeah, for sure. And it's also like in, I mean, the Python world is also quite big. Nowadays, sometimes it's also difficult to find people that like the things you like. Like, for example, like if you go to Python US, there's going to be quite a few people that do mostly data. So if you want to talk about web, you have to go and find them. But they are up there. It just takes a bit of time to meet them and to become friends as well. Yeah.

  73. Speaker 4

    yeah I think that's why they have the self-organizing rooms at least PyCon US and I assume EuroPython does it too where you can sign up for a room for an hour and say hey come meet up with us and open space that's the word yeah yeah yeah EuroPython does it PyCon US does it we might be doing next year PyCon Italia just like the hotel we are in it's quite small for this kind of thing yeah I think that's a really nice and unique thing that the PyCon community does because it really lets people get together here on really niche topics.

  74. Speaker 3

    Yeah, and it's also sometimes not related to the conference. I mean, PyCon has those board games, people talking about mechanical keyboards, and I did a, well, it's called the Open Space, but it's a running event, so we went for a run with some of the people at the conference, which was quite fun.

  75. Speaker 4

    Yeah, they have a lot of, a lot of interesting ones, a lot of really random ones too.

  76. Speaker 3

    Yeah. Yeah, for sure. It's, I mean, I think it's cool to also like, you know, yeah, Python is kind of the glue that brings us together, but also like it would be cool to find other things in common because I mean, there's not just Python. Yeah. It would be cool to do other stuff as well.

  77. Speaker 4

    Yeah. So it looks like I've got one more question for you. I like to round out the interview with just asking you about any non-technical hobbies that you like to do.

  78. Speaker 3

    Yeah, I feel like most of my hobbies are technical, unfortunately. That's fine. You said running.

  79. Speaker 4

    You like to go running, right?

  80. Speaker 3

    Yes, exactly. That's the kind of main one. I mean, running, traveling and hiking are kind of the main things, but the things I've been trying to do the most this year especially is running. I've been trying to run quite often but I have a pain in my ankle now so I cannot run that much Are there lots of good trails in that area to do that in?

  81. Speaker 4

    Or you just go around the neighborhood?

  82. Speaker 3

    Yeah so I mean I live in the center of Slovakia at the moment so there is there's a bit of running inside the city but then after seven kilometers it starts there's a kind of almost like a forest it's very nice it's near the river that's that's been very nice but it takes a bit of time to do seven kilometers I've been enjoying that yeah and also like we with a friend last year we tried to do a marathon in Switzerland so we never we have never done a marathon but we decided to do this one this particular one which is fine until 26 kilometers which is almost more than half of it so it's almost flat for 26 kilometers and then it goes very steep um i mean the elevation the total elevation difference is almost two kilometers so okay i don't know two kilometers is 1.2 miles of elevation difference and I've done the 36 kilometer fine but then when it started going up I just had to walk and I well we actually we both didn't manage to finish on time of one of the checkpoints so we had to quit but we're trying this year again and it's cool because this person Arthur I met through through Europe Python and just talking about running and yeah we did this together which is quite fun and we also kind of started a running club called PyRun maybe you can put the link in the show notes it's well now it's a Discord server and a Strava group we're trying to basically organize runs at a Python conference that we go so we did one for I did one for Salt Lake City so your Python US one for your Python last year one for Python Italy last year and then this year I've done Python Slovakia. And so we do stickers for this kind of thing, which is quite fun. It's just an excuse to run and to bring running to more people, hopefully. That's cool. And my goal is to make a bigger community and also make it easier for people to maybe print stickers and kind of start doing runs at all the PyCons because I cannot go to all of them.

  83. Speaker 4

    Yeah. That's nice. I like that. All right. I think that brings us to the end of the show. So I want to thank you again for joining me on The Python Show, and I hope to talk to you again sometime soon.

  84. Speaker 3

    Yeah, thank you. It's been a pleasure.

  85. Speaker 4

    Thanks.

  86. Speaker 1

    Your favorite podcast is here. Mike Driscoll's The Python Show.