Latest / Talk Python To Me / #1: EVE - RESTful APIs for humans
Transcript
- 0:00Talk Python To Me, episode number one, with guest Nicola Ioroshi, recorded Tuesday, March 31st, 2015.
- 0:08Hello and welcome to Talk Python To Me, a weekly podcast on Python,
- 0:37the language, the libraries, the ecosystem, and the personalities.
- 0:41This is your host, Michael Kennedy. Follow me on Twitter where I'm @mkennedy.
- 0:45Keep up with the show and listen to past episodes at talkpythontome.com.
- 0:49This episode, we'll be talking to Nicola Ioroshi about EVE.
- 0:53Before we get to the interview with Nicola, a quick announcement.
- 0:58Since recording this episode, Nicola and I teamed up to create a dedicated course about EVE.
- 1:03This demo-driven journey is just the course you need to effortlessly build RESTful services based on Flask and MongoDB.
- 1:11We dive deep into every aspect of the EVE REST framework.
- 1:15After a quick introduction to MongoDB and Flask, we'll dig into EVE,
- 1:19build our schemas and endpoints, and start serving HTTP clients right away.
- 1:23And that's just the beginning.
- 1:25And who better to learn EVE from than Nicola, the creator and maintainer himself.
- 1:29To learn more and get started, just visit talkpython.fm/EVE or click the link in the show notes.
- 1:36Let me introduce Nicola.
- 1:37Nicola is a passionate Python and C# open source hacker based in Ravina, Italy.
- 1:43Back in 1991, he co-founded CIR2000, a small company focusing on delivering accounting software solutions for the small businesses.
- 1:52He's the creator and maintainer of a few open source projects, including EVE and a conference speaker who happens to be on sabbatical.
- 1:59When he's not hacking on code or spending time with his three kids, he's usually busy running, swimming, hiking, or reading a good old paper book.
- 2:08Nicola, welcome to the show.
- 2:09Hi, Michael.
- 2:10Thank you for having me.
- 2:12Yeah, it's really great.
- 2:13Thanks for helping me kick off this podcast.
- 2:15So you and I have known each other for a few years, and it's really nice to get a chance to speak with you again.
- 2:20I think it's been about a year since we last met on an aircraft carrier in New York City, right?
- 2:26Right, that's true.
- 2:27Yeah, that was a lot of fun.
- 2:29Yeah, indeed.
- 2:31Yeah, so let's sort of start at the beginning.
- 2:34You, like myself, do Python and C#.
- 2:37So how did you get into Python?
- 2:38Yes, as you say, I've actually always been a C# guy, mostly.
- 2:44Our flagship product is a Windows desktop application, so you usually deploy it on your user client server setup and stuff like that.
- 2:56And as long as we were working in that context, we never really felt the need to look anywhere else.
- 3:02C# in general was, and the Microsoft stack in general, was just doing fine for us.
- 3:09Then, like anyone else, a few years ago, we started looking at moving to the web and mobile and stuff like that.
- 3:20And I believe that's when I thought it was the perfect time, the perfect opportunity to move out of my, let's say, comfort zone.
- 3:29My view back then, the micro stack was still a good bet for all things related to the web.
- 3:36But there was so much else out there, you know?
- 3:41So I started looking at the JavaScript first and then Python and other languages.
- 3:48And there were so many options, I mean, and I really wanted to...
- 3:55Maybe I was also a little bored about what I was doing by then.
- 3:58So that was a perfect opportunity for me to start doing something else and looking around.
- 4:04And Python came...
- 4:09I don't really remember how...
- 4:13Maybe I was just reading some tutorial online and I was immediately hooked by the language itself and the community
- 4:20and the open source machine in general.
- 4:23It was allowing me for incredible performance boost, for example.
- 4:29I remember one of the first times I was playing around with Flask
- 4:34and something just did not work as I expected.
- 4:39And I was stuck there.
- 4:41I couldn't make any progress.
- 4:43Now, I don't really remember what it was really,
- 4:47but something very stupid, most likely, you know?
- 4:51That's how it is when you're learning, right?
- 4:53Yeah, I was just learning a new language.
- 4:56So it was truly had to be something very stupid.
- 4:59And I had this moment when I realized that I could just go a stepfather and look at the source code.
- 5:06That, you know, from someone coming from the .network and the closer source in general,
- 5:11that's not a given.
- 5:14I mean, it was really awesome to be able to go on the website, on the tab,
- 5:19and check out on the source code for Flask
- 5:22and understand what actually was doing behind the scenes.
- 5:27And that's when really open source and the general Python and open source in general,
- 5:33really, I saw what the potential was about it.
- 5:38But then we were, in our world, we were, I would say, behind an arrow of car time,
- 5:46something like that.
- 5:47Developer tools, for example, they had to buy licenses for them.
- 5:51And most of the time, even if you bought a license,
- 5:54you still did not get any access to the source code.
- 5:58And so it was really an epiphany for me.
- 6:03Yeah, it's fantastic.
- 6:04Yeah.
- 6:05Yeah.
- 6:06That's really awesome.
- 6:08Yeah, I think a lot of developers spend their time in worlds where much of what you do is a black box
- 6:16and you just can't know.
- 6:17And I think, you know, in the Python world, we're kind of spoiled in that you can just keep looking farther down inside,
- 6:23you know, and that's really great.
- 6:25So you got into Python and it sounded like you were getting started in Flask.
- 6:29And then I guess EVE is kind of a natural extension.
- 6:33What is EVE, actually?
- 6:35So EVE is an open source Python REST API framework designed for human beings,
- 6:40which means that it is supposed to be easy to use and powerful.
- 6:45And its goal is to allow any developer to effectively build and deploy highly customizable and fully featured web services.
- 6:56Or at least that's the idea.
- 6:58It is powered by Flask and it offers support for MongoDB out of the box.
- 7:06And there's also a SQL Archemy extension provided by the community.
- 7:12So you can use EVE both with MongoDB and Postgres or MySQL or whatever.
- 7:19So, yeah, that's fantastic.
- 7:21So I kind of looked at it.
- 7:22I don't know all that much about EVE.
- 7:24I've just played with it a little.
- 7:26I saw some tutorials and checked them out.
- 7:28And it looks really interesting.
- 7:30I also picked up that it was inspired by the requests package.
- 7:33So that's cool.
- 7:34Basically, the way it works, let me try to paraphrase how your library works,
- 7:38is I have some sort of data source.
- 7:41And it's by default MongoDB, which is an awesome data source, by the way.
- 7:46Or also SQLAlchemy, so against a lot of the relational databases.
- 7:49And I can easily put like a RESTful API over my data.
- 7:54Is that how it works?
- 7:54Yeah, exactly.
- 7:55That's the idea, basically.
- 7:57You have your data source somewhere and you bind it to EVE, to any instance.
- 8:03You configure it by just setting up a configuration file where you basically give your API topology,
- 8:14your endpoints, how they work, to which collection on MongoDB or table on SQL each endpoint maps to.
- 8:25And then you are good to go.
- 8:27The idea, basically, is that you have a lot of features out of the box.
- 8:32So you don't have to code much in order to get started with your API.
- 8:35And then you can, of course, go in and add the callback functions, for example.
- 8:42So when some RESTful API gets in, you can add your own code that makes whatever you need to do.
- 8:51But the basic idea is that if you just need a front-end API for your data, you just have very little to do.
- 9:01I mean, you just have to set up the configuration file and you are good to go in a few minutes.
- 9:08But, yeah, it looks super easy to get started.
- 9:10It looks great.
- 9:10And I think it's inspired by requests in that sense as well.
- 9:14So are people using more sort of JavaScript front-ends and using that to get to their data?
- 9:21Or are they using this for more, like, back-end services, right?
- 9:24So do you know, like, what the main consumption model is?
- 9:27Yeah, well, it is being used for all kinds of use cases, actually.
- 9:34We have a lot of websites consuming EVE instances, but we also have a lot of mobile clients, for example.
- 9:41I, myself, am using EVE from iOS and Android applications, for example, which are being coded in C-sharp, actually.
- 9:51We are using SAMRIN framework for writing our own mobile applications.
- 9:57So you have all kinds of use cases, really.
- 10:00And also, of course, desktop application.
- 10:04And all kinds of languages are consuming the EVE instance, since you are just dealing with, you know, JSON, basically,
- 10:14which goes back and forth between the client and the server.
- 10:18So you can deploy it whenever you want, actually.
- 10:21Yeah, that's fantastic.
- 10:23So you said MongoDB is the default back-end.
- 10:26Why did you choose Mongo?
- 10:28Well, MongoDB has a few interesting features for me.
- 10:35The first is that in the REST world, you basically are sending JSON back and forth between clients and servers.
- 10:43And MongoDB also stores JSON, or actually B-zone, which is a variation of JSON, but basically it's the same stuff.
- 10:53And then you have Python dictionaries, which are the perfect match for JSON as well.
- 10:59So when I was researching for building my own API, it came kind of, you know, the natural choice.
- 11:09I don't have to serialize and deserialize objects back and forth between the client and the REST server and the database.
- 11:19So everything is smooth and easy and there isn't a lot of code in the middle doing conversions and serialization and stuff like that.
- 11:29You don't have anything like that when you're working with MongoDB.
- 11:34And also REST APIs are stateless by default.
- 11:39So you don't usually have to, you know, you're usually sending small data packets for each request.
- 11:47And that's something that makes MongoDB lack of transactions really a non-issue because you are already dealing with the concept of being stateless between your request and the client.
- 12:02And in some way it has to deal with the fact that a single request can go wrong or can go fine.
- 12:11And so what always is a concept for people going to use MongoDB is not really an issue in this particular use case.
- 12:23It's an interesting point that, you know, MongoDB has all of these really positive features, scalability, simplicity, lightweight, all these things.
- 12:34But one of its sometimes criticisms is its lack of cross-document transactions.
- 12:39But if you're doing REST over HTTP, that's a stateless protocol anyway.
- 12:43So you're kind of, it's like you said, a non-issue.
- 12:46That's really interesting.
- 12:47Yeah, yeah.
- 12:48And then there is MongoDB being schemeless, which is really nice for me because when you are building a prototype in your API,
- 12:59you are going to change your schema or if in API terms, your endpoint configuration, your payload, quite a lot you are adding fields.
- 13:10And between API versions, you are going to add new fields, remove old fields, stuff like that.
- 13:18You are doing that constantly, at least at the beginning.
- 13:21And here MongoDB is very nice to use because it allows you to change your schema on the fly without having to update the database.
- 13:35And so without any impact on performance as well.
- 13:38So it kind of made sense for what we were doing by then, working with MongoDB on the back end and Python on the server side.
- 13:49And yeah, that's what a lot of people agree with, I believe, because it has been adopted by a lot of people.
- 13:59And also, as I was saying earlier, there is a SQL extension, actually, which connects EVE to SQL ArchMere.
- 14:10And so you can, in fact, use your standard SQL database with EVE as well.
- 14:16Right, yeah, that's really interesting.
- 14:18You just have to do a little bit more work.
- 14:21So, you know, when you built the framework, who was the intended user that you were thinking of?
- 14:27Like, what's the most common use case?
- 14:29Well, I would say that the unexpected user can benefit a great deal from EVE because, and I think about EVE is that you can,
- 14:42you basically get a lot of design choices and implementation already done for you.
- 14:50So you can quickly prototype an API if you need to put your mobile or front-end developers at work.
- 15:00You can probably give them an API, a functioning API in a few minutes or maybe in a few hours.
- 15:06And that's surely very interesting for a lot of people.
- 15:09I'm having, I see there are PHP guys, for example, that are learning Python because they want to use EVE, which is kind of a surprise to me.
- 15:19That's pretty amazing.
- 15:20So you must be kind of proud that, you know, you're bringing people into the Python world literally so that, you know, because they want to use EVE.
- 15:28Yeah, yeah, that's awesome.
- 15:30When I get emails from people who are learning Python because they want to use EVE, that's totally awesome.
- 15:36It means that, you know, kind of makes, tells you that your goal has been achieved somehow.
- 15:42And then you're also bringing new people to the Python world, which is also awesome.
- 15:48So I'm really glad for it.
- 15:51Being based on Flask itself.
- 15:54In fact, we also have a lot of experience with Python guys working with EVE and building extensions because, you know, EVE is just a Flask subclass.
- 16:05And so whatever works with Flask, you can use with EVE.
- 16:09And so you can also get access to the Flask documentation and whatever works there also with EVE as well.
- 16:17So you can go on Stack Overflow or browse the Flask documentation, which is also excellent.
- 16:24And you can move in the layers, between the layers, you know, EVE at the top and Flask is right behind EVE.
- 16:31And then eventually MongoDB or your SQL database.
- 16:35And so while it is very easy to start with, probably if you are already using Flask, you can enjoy EVE so much more because you can do whatever you want with it.
- 16:47You can, for example, you can build a Flask extension and use it with EVE, which is in fact what most people are doing.
- 16:56We have a few community extensions, which are basically Flask extensions themselves.
- 17:03So it is good for the beginner, but it is also good for the experienced developer, I believe.
- 17:10Yeah, that's really cool.
- 17:11So all the great stuff that's out there for Flask, you can just use it.
- 17:14And maybe even if you already have a Flask website for HTML, you know, for like browsers to consume, you could add services to it pretty easily by adding EVE into your web app, yeah?
- 17:25Exactly, exactly.
- 17:27That's exactly what people are doing.
- 17:29And for example, there is a guy who wrote a EVE docs extension, which basically what he's doing is building the API documentation and serving them as a static HTML pages.
- 17:45And what it does is reading the API configuration files and building a browsable documentation for the user.
- 17:55So if you go to the, I don't know, example.com slash docs, you get the API documentation for free because it's being done as a Flask extension by this EVE docs extension.
- 18:10So you can mix and match HTML pages with REST APIs.
- 18:17That's cool.
- 18:18So what this guy's project does is basically it's like a self-documenting API or self-documentation for the API just depending on how you configure EVE, yeah?
- 18:27Yeah, yeah, yeah.
- 18:29I get a lot of questions about this actually even on Stack Overflow.
- 18:32So how can I serve static pages along with my API endpoints?
- 18:39And that's actually very easy to do.
- 18:41You just have to add a route to Flask as you would do with the Plex itself.
- 18:48So it's very, very easy to pull off.
- 18:51Very nice.
- 18:51So it sounds like, you know, this is a very popular project.
- 18:54And I looked on GitHub and it's got, you know, like 2,000 stars and 300 or so forks.
- 19:03That's a lot of people contributing.
- 19:05And this is not your full-time job, right?
- 19:07This is like a second project.
- 19:08So how much work is it and challenges it to balance making your awesome open source project successful and actually keeping the day job running?
- 19:18Yes, it's actually becoming quite a challenge because, you know, EVE is becoming a huge work.
- 19:26There are a lot of use cases and people want to do like all kinds of stuff with EVE, which is super cool.
- 19:35The community is awesome.
- 19:36We have about 70 contributors to the project at this moment in time.
- 19:41And they contributed with a lot of very cool features.
- 19:46On the other hand, you end up doing a lot of work for free.
- 19:49You know, it's kind of, I mean, for what we need EVE for, we'd be happy with what EVE was maybe one year ago.
- 20:01And now all the additions to the project are basically coming from the community.
- 20:07And they are either or adding new features themselves or asking for new features.
- 20:16And when something new and interesting is proposed, I usually end up coding it for the community and for myself, of course, as well.
- 20:25But that takes a lot of time.
- 20:28So, yeah, it's kind of a challenge because you have to balance your work life with your family and hobbies and open source activity.
- 20:40It's not that easy, but you also get a lot of, you know, gratification for doing this.
- 20:47I get emails from all around the world from people using EVE in so many strange, odd and amazing use cases.
- 20:58And so, yeah, it's hard to do, to pull it up, but it is also very well worth it for me.
- 21:04Yeah, I'm sure it's very rewarding.
- 21:07That's great.
- 21:07Are there other contributors to it, people who actually are putting a lot of effort into it?
- 21:13Are you looking for new contributors or what's the status there?
- 21:17Yes, we have, as I was saying, we have about 70 contributors of these.
- 21:22Maybe 10 of them are very active and have been contributing to the project quite a lot lately.
- 21:31Some are very skilled with both Flask and EVE itself.
- 21:36So, I still have to do a lot of work or most of the work.
- 21:40But, yes, I would really appreciate if more people would join the community and help with, even with simple things like, you know, updating the documentation, fixes titles.
- 21:51As you can say, I'm not an English speaker.
- 21:54So, it is very easy to find incorrect mistakes in the documentation, for example, or in DocStrengths, in the source code, stuff like that.
- 22:04But, also, we have people who are adding amazing features.
- 22:08Like, we had, I think, in 0.5, we had versioning feature added to EVE.
- 22:15So, you can store multiple versions of your documents and your API.
- 22:23And then, you can get back the version that you need with simple request.
- 22:29And that's a very cool feature, which was entirely contributed by the community from one guy, actually.
- 22:36And that's very cool.
- 22:39And so, we had a lot of other additions like that from the community.
- 22:44And so, yes, there is a lot of room for improvement.
- 22:46And I really would love to see more people jump in and help us with going further.
- 22:53That's great.
- 22:54Yeah.
- 22:55I think people have a hard time realizing how much work it is to actually get something like EVE out the door and ready for the community.
- 23:05I mean, there's obviously the writing of the application or the library and then maybe a sample.
- 23:11But there's the GitHub repository, the website, the documentation, all the little stuff, the little polish that you have to put on there.
- 23:20It seems like, you know, when you feel like you're done, you're halfway there and you still have a ton of little things that are somewhat uninteresting but have to be there, like documentation.
- 23:28Yeah.
- 23:29Absolutely.
- 23:30How's the experience being both a C# and Python and JavaScript developer?
- 23:38How do you see the world being this polygot, living in this polygot programming world?
- 23:43It's been a wild ride, actually, because, you know, the languages are so different in so many ways.
- 23:50Python is a dynamic language, whereas C# is a strongly tighter language.
- 23:56And now I'm playing with Go and Netsharp on approaches to solving the same problem, basically.
- 24:05And that's really interesting for me because you don't always have one tool, one language, which is perfect for all kind of problems.
- 24:17So it's great to actually be able to pick the right tool for the right job.
- 24:24And basically what I have now is Python on the web side of things.
- 24:28So my servers and websites are Python, while all my mobile applications and desktop applications are C#, for example.
- 24:39And I mean, it helps a lot because you get a very different skill set.
- 24:46And you can just you often find the same problem.
- 24:52You can solve it.
- 24:54The different languages actually have been solving it in a different manner, in different with different methods.
- 25:01Sorry.
- 25:02And that's really awesome.
- 25:04It helps you understand and experiment with different things.
- 25:10Even if you I go back to C#, I often find that I'm using techniques, which I learned while I was studying Python, for example.
- 25:20And the contrary is also true.
- 25:23For example, when I was looking at classes in Python, it was very easy to pick them up because, of course, I've been coding classes in C# for like, I don't know, 15, 20 years.
- 25:36And so it was very, very easy.
- 25:39And this is a very trivial example, but you get what I mean.
- 25:43Yeah, absolutely.
- 25:44And I, you know, I've lived that life as well.
- 25:47I think one interesting aspect that's different is the languages are actually not super different, right?
- 25:54Python is obviously dynamic and C# is static.
- 25:57But in a lot of ways, like you said, with the classes and so on, they're similar.
- 26:01Where they start to get different is around the tooling and around the packages and the frameworks that you can use.
- 26:08Yeah.
- 26:09Yeah.
- 26:10What tools do you use for working with Python?
- 26:13Do you have like an editor that you're fond of or anything like that?
- 26:16Yes.
- 26:17Oh, that's a good question, actually.
- 26:20You know, I'm using Veeam for coding in Python.
- 26:23And that's also something I never used until as long as I was working with C#.
- 26:28So back in, I think, maybe 2010 or something like that, I started working with Python.
- 26:35And I also picked Veeam.
- 26:38And I was a Visual Studio guy.
- 26:41And I've been a Visual Studio guy for a lot of time.
- 26:45And so coming to Python, it also meant learning a lot of new tools.
- 26:51I started using Veeam for a lot of new tools.
- 26:56And I started using Veeam for installing packages and learning how Python packaging works, which is totally different from C#.
- 27:04That's another very interesting aspect of using different languages.
- 27:10And now what you have is that C# and .NET are, you know, in this new Microsoft era.
- 27:16We are getting to the point where even Microsoft is learning from the open source experience.
- 27:23And so we have, for me, it is really exciting looking at how Microsoft is approaching and evolving these last maybe couple of years.
- 27:35Releasing .NET framework as open source, for example, is totally awesome.
- 27:39And going cross-platform as well.
- 27:42And this is all stuff that I've been seeing working on Python.
- 27:48And I was always wondering, "Ah, I really would love to see this kind of approach in Microsoft Word and Windows and C#."
- 27:58And now it's happening and it's really exciting.
- 28:02And it also means that Microsoft is learning from, you know, let's call them mistakes maybe.
- 28:09And, yeah, it's really cool.
- 28:12And I'm super excited because I see the open source potential coming to the C# world.
- 28:20On the other hand, I must say that the open source community in C# and in the .NET framework in general is still very, very, very in these early stages, so to speak.
- 28:33So when I release an open source tool in C#, I get a fraction of the attention that the same tool will get in Python, for example.
- 28:42So there is still a lot of room for improvement.
- 28:45Yeah, I totally agree.
- 28:48It's definitely a good sign that some of these closed source companies, especially Microsoft, since they're so widely used, is moving.
- 28:56I think they're learning a lot from open source and from Python.
- 28:59So it sounds like there's a lot of interesting pieces that you're bringing into EVE, like Cerebus and Flask Sentinel and things like that.
- 29:08Those are separate projects, separate packages that you're just using in EVE, right?
- 29:13Yeah, I'm using a lot of packages.
- 29:15I am also using Redis, for example, for some features.
- 29:20We have a rate limiting, which is a feature which is being bundled within EVE and it uses Redis, actually.
- 29:29By the way, Redis is also by an Italian developer, so Dr. Sanfilippo, which is a friend of mine.
- 29:36And yes, I'm using Cerebus, which is another open source release of mine.
- 29:43It's used for data validation, basically.
- 29:46And Cerebus, actually, it is being used even outside of EVE from forum by a lot of people, since it allows, basically, to do validation for Python data.
- 29:58So we use it within EVE for data validation.
- 30:02So that's really interesting.
- 30:11So that's really interesting.
- 30:12I haven't used Cerebus, but basically what you can do is you can say what required fields and what required shape a Python dictionary should have.
- 30:20And then you can say, validate this particular dictionary.
- 30:23What kind of stuff can you validate there?
- 30:25Yes, you can basically say, hey, this is, you know, the name field is a string.
- 30:31It must be, must have a maximum length of 10 and, or you can, you must use this regular expression to validate it.
- 30:42And this is, there are a lot of options.
- 30:45Actually, you can say that a field must be unique or stuff like that.
- 30:50And this is true for,
- 30:53the EVE by load, of course, but also for any Python dictionary.
- 30:57So people are using it everywhere.
- 30:59And this is very nice.
- 31:01And another tool that I ended up building for EVE, but it is also being used outside of EVE, is events,
- 31:09which is basically a package which allows you to bind the callback functions to any kind of event.
- 31:18And so when EVE receives an incoming request,
- 31:22you can have a number of callback functions, which are being called by EVE.
- 31:31And so you can do your own stuff with this payload, which is coming in and change it or store it elsewhere, or call another API and validate it against it, stuff like that.
- 31:46And this is all powered by events, which is another package that you can use for your own tools for building your own tools.
- 31:57So that's fantastic.
- 31:58That sounds great.
- 31:58So another one that I saw in there was Flask Sentinel.
- 32:03What is that?
- 32:04Flask Sentinel is basically an implementation of OAuth for Flask.
- 32:13In particular, it is addressing the token authentication scheme.
- 32:19So you can, of course, you can use it without EVE as well, or you can use it with EVE to have OAuth 2 on your API.
- 32:32So yes, you can basically look it up on GitHub.
- 32:38It is being used for a lot of things.
- 32:41That's cool.
- 32:42So if I want to have like Twitter authentication or Google or Facebook or something like that, is that kind of what you're thinking?
- 32:49Almost.
- 32:50I mean, right now it only addresses token authentication, basic token authentication.
- 32:58So it's not really suited for that use case.
- 33:02It is not yet a full OAuth 2 authentication scheme, but it is the best use case, I think, is when you use it for your own mobile application
- 33:16application and you want your user to be authenticated with your REST API framework and you give him a token and then your mobile application uses this token instead of using the username and password and sending them over the wire, of course.
- 33:32And so, yes, it's, you know, kind of just one of the many users of OAuth 2.
- 33:40Sorry about that.
- 33:42OAuth 2 for me is very easy, very difficult to pronounce that word.
- 33:47And, yeah.
- 33:49Okay, that's great.
- 33:52Yeah, so I can see how you use that.
- 33:53That's very interesting.
- 33:54Now, I noticed you're also working on a project called Eve.net.
- 33:58Is that like a .NET spinoff of this whole idea?
- 34:01It's basically a REST client for .NET.
- 34:07So, what you use it for is, for example, if you are writing a mobile application for iOS or Android and want to connect to an Eve instance, you can use Eve.net.
- 34:21It deals with, since it knows very well how Eve performs, you can send, for example, a class or an object instance to Eve and it deals with serializing the object and sending it to Eve.
- 34:35And it handles the responses.
- 34:38And, for example, if you want to modify an object, the user just says to Eve.net, "Hey, store this update up to the server."
- 34:50And the client connects to Eve, sends the update and if something goes wrong, it reports back to the client.
- 35:00And since it knows very well how Eve performs, it can, you know, it hides a lot of the implementation behind the scenes.
- 35:08So, you don't have to worry about E tags and conflicts and errors, validation and stuff like that.
- 35:18And this is interesting because it is exactly the Polyglot approach, which we were speaking about earlier, a little bit earlier.
- 35:26So, you have C# and C# client working with a Python server.
- 35:32And so, it's kind of, you know, kind of fun.
- 35:35Yeah, because you know both sides of that story, you can make it really easy for the C# guys.
- 35:41I wonder if there's other languages out there like Swift or Java or something that might also benefit from that.
- 35:47Yes, yes.
- 35:48You can use it.
- 35:49You can use it everywhere you use .NET.
- 35:51So, it's very nice.
- 35:52And actually, one of my, one of the things that I'm doing with the .NET framework, at least here in Italy, is encourage people to go out on the reconfort zone.
- 36:04For example, installing Eve instead of, I don't know, embassy framework or stuff like that on the server side.
- 36:10And because they also get the advantages of Eve.
- 36:14Eve is totally language agnostic.
- 36:27So, you can use it with whatever language you want.
- 36:33Yeah, that's beautiful.
- 36:34It uses the universal language of JSON.
- 36:36Excellent.
- 36:37So...
- 36:38Right.
- 36:39Yeah.
- 36:39So, are there any notable uses or really popular deployments of Eve that you could talk about?
- 36:46Yeah.
- 36:49There is, there are two or three which I think can be interesting for your audience.
- 36:56For example, we have Dailymotion, which is, I don't know if you know about it, but they are, I believe, the second streaming website in the world right below, right after YouTube.
- 37:10It's a French company, which is streaming live content on the web.
- 37:16And they're using Eve for some of their projects.
- 37:20Actually, they are also contributing to it itself.
- 37:24So, they are one of the main contributors to the project itself, which is totally cool for me.
- 37:30And then there is a RedTartle, which is a company.
- 37:36They are the guys behind the SQL extension, for example, speaking of the community.
- 37:41As you can see, we have people who are using the tool itself and then contributing with new features.
- 37:47And this is one special case because RedTartle basically took the SQL extension, which was already being developed by other guys.
- 37:58And, you know, kind of completed it and they are now 100%, I believe, I suspect, I think as well, they are 100% feature complete.
- 38:12And so, yeah, RedTartle.
- 38:15And then we have these very famous space agency, but I didn't get any feedback from them.
- 38:23I wanted to mention them, but I'm not sure I can.
- 38:26Let's just say that it is a very famous space company led by a very, very well-known entrepreneur who also works on a car industry and stuff like that.
- 38:39That's really fantastic.
- 38:41So, Eve might be going to space and back.
- 38:43That is really cool.
- 38:44Yeah, that's my dream, actually.
- 38:47It would be totally cool.
- 38:48I think they are still experimenting with it.
- 38:50They are contributors as well.
- 38:54One of their engineers is the guy who worked on a version in Feetor, for example.
- 39:00Yeah, they are using it internally.
- 39:03I'm not sure if they are using it to send stuff in the space.
- 39:07I'm not sure I want them to use it for sending stuff in the space.
- 39:10It's a whole other level of responsibility.
- 39:12Yes, it is.
- 39:13Yes, it is.
- 39:15But, yeah, it is being used by all kinds of people.
- 39:19And that's what I find really interesting for me.
- 39:24It's really exciting.
- 39:25So many people with so many different use cases who rely on your tool is, you know, so, I don't know, totally awesome.
- 39:38Yeah, that's really great.
- 39:39I'm sure it's super rewarding.
- 39:41And, you know, thanks from everybody in the community for putting that together.
- 39:45That's cool.
- 39:45So, I think that's probably a good place to wrap up the show.
- 39:49So, is there anything you want to mention or give a shout out to, you know, give a little promotion to before we call it a day?
- 39:58Not really.
- 39:58Not really.
- 39:58What I really would like to see is people join the community.
- 40:04And, as I said already, try the tool.
- 40:07And if they have, you know, questions or contributions to add, be very happy to learn about them and see more people adopt the tool.
- 40:20And the other, the satellite tool like Flash Sentinel or Cerberus and, you know, just keep sending feedback.
- 40:29And so, we can keep growing with the tool and the community itself.
- 40:34Yeah, that's really great.
- 40:36Okay, so, you can find Eve on the web at python-eve.org.
- 40:40Nicola, thank you so much for your time.
- 40:42It's been a really interesting conversation.
- 40:44Thank you.
- 40:45It's been great.
- 40:46And thank you for inviting me.
- 40:47It's been awesome.
- 40:48You're welcome.
- 40:49Hopefully, we get to catch up on an aircraft carrier in New York City sometime soon.
- 40:53Okay.
- 40:54Talk to you soon.
- 40:56Looking forward to that.
- 40:58Indeed.
- 40:58Okay.
- 40:59See you later.
- 40:59Thank you.
- 40:59Bye.
- 41:19Developers, developers, developers, developers.