{"id":18417,"date":"2022-08-03T09:32:07","date_gmt":"2022-08-03T07:32:07","guid":{"rendered":"https:\/\/www.codemotion.com\/magazine\/?p=18417"},"modified":"2023-06-19T12:31:28","modified_gmt":"2023-06-19T10:31:28","slug":"video-how-to-use-python-for-async-microservices","status":"publish","type":"post","link":"https:\/\/www.codemotion.com\/magazine\/microservices\/video-how-to-use-python-for-async-microservices\/","title":{"rendered":"Video: How to Use Python for Async Microservices"},"content":{"rendered":"\n<p>In the video below, Iacopo Palletti, CTO at Nephilia, explains how to use Starlette (an ASGI Framework and toolkit) for building asynchronous microservices in Python. <\/p>\n\n\n\n<p>Async (asynchronous) programming is not new, but it is a new kid on the block when we talk about <a href=\"https:\/\/www.codemotion.com\/magazine\/python\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\">Python <\/a>core. This allowed <strong>developing a new universe of async-first or async-enabled<\/strong> libraries and frameworks that makes asyncchronous programming much more accessible for devs every day.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Writing an async microservice is a good way to get your hands dirty with async programming: we are going to see how to build it using Starlette and its ecosystem to show tecniques and pitfalls.<\/p>\n<cite>Iacopo Spalletti<\/cite><\/blockquote>\n\n\n\n<p><strong><em>Watch the video below!<\/em><\/strong><\/p>\n\n\n\n<p>[jwp-video n=&#8221;1&#8243;]<\/p>\n\n\n\n<p>Also, you can check Iacopo&#8217;s presentation in <a aria-label=\"PDF here (opens in a new tab)\" href=\"https:\/\/drive.google.com\/file\/d\/1i3pEGdal5c2qq0bqi2do5N62giWs89FF\/view\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\">PDF here<\/a>. Tip: it includes all the code lines needed for Starlette. <\/p>\n\n\n\n<p>Python is one of the most popular languages used by devs worldwide today. According to <a aria-label=\"The PYPL PopularitY of Programming Language Index (opens in a new tab)\" href=\"https:\/\/pypl.github.io\/PYPL.html\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\">The PYPL PopularitY of Programming Language Index<\/a> it is the first most used language with 28.11%, followed by Java with 17.35%.<\/p>\n\n\n\n<p>However, asynchronous programming can be trickier when using this super popular language. In asynchronous programming, the orders are executed concurrently in the background, not in a linear (or one line at a time) way like in synchronous programming. <\/p>\n\n\n\n<p>We hope the video above will help you get your python microservices up and running, and remember to check out many other useful videos by devs for devs on our video platform.<\/p>\n\n\n\n<p><em><strong>Recommended article: <a href=\"https:\/\/www.codemotion.com\/magazine\/backend\/languages\/top-python-frameworks\/\" target=\"_blank\" aria-label=\"Top Trending Python Frameworks (opens in a new tab)\" rel=\"noreferrer noopener\" class=\"ek-link\">Top Trending Python Frameworks<\/a><\/strong><\/em><\/p>\n\n\n\n<div class=\"wp-block-group has-text-color has-background\" style=\"color:#000000;background-color:#ffffff\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<div style=\"height:64px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-text-align-center has-small-font-size\" style=\"line-height:.9\"><strong>VIDEOS BY DEVS FOR DEVS<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\" id=\"schedule-a-visit\" style=\"font-size:59px;line-height:1.15\"><strong>Visit Codemotion Watch<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-buttons is-horizontal is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-499968f5 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-50\"><a class=\"wp-block-button__link has-text-color has-background wp-element-button\" href=\"https:\/\/talks.codemotion.com\/\" style=\"border-radius:50px;color:#ffffff;background-color:#000000\">Join now!<\/a><\/div>\n<\/div>\n\n\n\n<div style=\"height:64px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In the video below, Iacopo Palletti, CTO at Nephilia, explains how to use Starlette (an ASGI Framework and toolkit) for building asynchronous microservices in Python. Async (asynchronous) programming is not new, but it is a new kid on the block when we talk about Python core. This allowed developing a new universe of async-first or&#8230; <a class=\"more-link\" href=\"https:\/\/www.codemotion.com\/magazine\/microservices\/video-how-to-use-python-for-async-microservices\/\">Read more<\/a><\/p>\n","protected":false},"author":64,"featured_media":11283,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_editorskit_title_hidden":false,"_editorskit_reading_time":1,"_editorskit_is_block_options_detached":false,"_editorskit_block_options_position":"{}","_uag_custom_page_level_css":"","_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[3355],"tags":[68],"collections":[],"class_list":{"0":"post-18417","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-microservices","8":"tag-python","9":"entry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.9 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Video: How to Use Python for Async Microservices - Codemotion Magazine<\/title>\n<meta name=\"description\" content=\"Asynchronous microservices with Python? Watch this video and learn how to get it done with Starlette. Code examples included!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.codemotion.com\/magazine\/microservices\/video-how-to-use-python-for-async-microservices\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Video: How to Use Python for Async Microservices\" \/>\n<meta property=\"og:description\" content=\"Asynchronous microservices with Python? Watch this video and learn how to get it done with Starlette. Code examples included!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.codemotion.com\/magazine\/microservices\/video-how-to-use-python-for-async-microservices\/\" \/>\n<meta property=\"og:site_name\" content=\"Codemotion Magazine\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Codemotion.Italy\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-03T07:32:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-19T10:31:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1011\" \/>\n\t<meta property=\"og:image:height\" content=\"568\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Codemotion\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CodemotionIT\" \/>\n<meta name=\"twitter:site\" content=\"@CodemotionIT\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Codemotion\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/microservices\\\/video-how-to-use-python-for-async-microservices\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/microservices\\\/video-how-to-use-python-for-async-microservices\\\/\"},\"author\":{\"name\":\"Codemotion\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#\\\/schema\\\/person\\\/201bb98b02412383686cced7521b861c\"},\"headline\":\"Video: How to Use Python for Async Microservices\",\"datePublished\":\"2022-08-03T07:32:07+00:00\",\"dateModified\":\"2023-06-19T10:31:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/microservices\\\/video-how-to-use-python-for-async-microservices\\\/\"},\"wordCount\":260,\"publisher\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/microservices\\\/video-how-to-use-python-for-async-microservices\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/python-developer-community-e1659350197438.jpg\",\"keywords\":[\"Python\"],\"articleSection\":[\"Microservices\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/microservices\\\/video-how-to-use-python-for-async-microservices\\\/\",\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/microservices\\\/video-how-to-use-python-for-async-microservices\\\/\",\"name\":\"Video: How to Use Python for Async Microservices - Codemotion Magazine\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/microservices\\\/video-how-to-use-python-for-async-microservices\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/microservices\\\/video-how-to-use-python-for-async-microservices\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/python-developer-community-e1659350197438.jpg\",\"datePublished\":\"2022-08-03T07:32:07+00:00\",\"dateModified\":\"2023-06-19T10:31:28+00:00\",\"description\":\"Asynchronous microservices with Python? Watch this video and learn how to get it done with Starlette. Code examples included!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/microservices\\\/video-how-to-use-python-for-async-microservices\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/microservices\\\/video-how-to-use-python-for-async-microservices\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/microservices\\\/video-how-to-use-python-for-async-microservices\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/python-developer-community-e1659350197438.jpg\",\"contentUrl\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/python-developer-community-e1659350197438.jpg\",\"width\":1011,\"height\":568,\"caption\":\"similar documents, python, document similarity\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/microservices\\\/video-how-to-use-python-for-async-microservices\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Microservices\",\"item\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/microservices\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Video: How to Use Python for Async Microservices\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#website\",\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/\",\"name\":\"Codemotion Magazine\",\"description\":\"We code the future. Together\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#organization\",\"name\":\"Codemotion\",\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/codemotionlogo.png\",\"contentUrl\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/codemotionlogo.png\",\"width\":225,\"height\":225,\"caption\":\"Codemotion\"},\"image\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Codemotion.Italy\\\/\",\"https:\\\/\\\/x.com\\\/CodemotionIT\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#\\\/schema\\\/person\\\/201bb98b02412383686cced7521b861c\",\"name\":\"Codemotion\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/cropped-codemotionlogo-150x150.png\",\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/cropped-codemotionlogo-150x150.png\",\"contentUrl\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/cropped-codemotionlogo-150x150.png\",\"caption\":\"Codemotion\"},\"description\":\"Articles wirtten by the Codemotion staff. Tech news, inspiration, latest treends in software development and more.\",\"sameAs\":[\"https:\\\/\\\/x.com\\\/CodemotionIT\"],\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/author\\\/codemotion-2\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Video: How to Use Python for Async Microservices - Codemotion Magazine","description":"Asynchronous microservices with Python? Watch this video and learn how to get it done with Starlette. Code examples included!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.codemotion.com\/magazine\/microservices\/video-how-to-use-python-for-async-microservices\/","og_locale":"en_US","og_type":"article","og_title":"Video: How to Use Python for Async Microservices","og_description":"Asynchronous microservices with Python? Watch this video and learn how to get it done with Starlette. Code examples included!","og_url":"https:\/\/www.codemotion.com\/magazine\/microservices\/video-how-to-use-python-for-async-microservices\/","og_site_name":"Codemotion Magazine","article_publisher":"https:\/\/www.facebook.com\/Codemotion.Italy\/","article_published_time":"2022-08-03T07:32:07+00:00","article_modified_time":"2023-06-19T10:31:28+00:00","og_image":[{"width":1011,"height":568,"url":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438.jpg","type":"image\/jpeg"}],"author":"Codemotion","twitter_card":"summary_large_image","twitter_creator":"@CodemotionIT","twitter_site":"@CodemotionIT","twitter_misc":{"Written by":"Codemotion","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.codemotion.com\/magazine\/microservices\/video-how-to-use-python-for-async-microservices\/#article","isPartOf":{"@id":"https:\/\/www.codemotion.com\/magazine\/microservices\/video-how-to-use-python-for-async-microservices\/"},"author":{"name":"Codemotion","@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/person\/201bb98b02412383686cced7521b861c"},"headline":"Video: How to Use Python for Async Microservices","datePublished":"2022-08-03T07:32:07+00:00","dateModified":"2023-06-19T10:31:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.codemotion.com\/magazine\/microservices\/video-how-to-use-python-for-async-microservices\/"},"wordCount":260,"publisher":{"@id":"https:\/\/www.codemotion.com\/magazine\/#organization"},"image":{"@id":"https:\/\/www.codemotion.com\/magazine\/microservices\/video-how-to-use-python-for-async-microservices\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438.jpg","keywords":["Python"],"articleSection":["Microservices"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.codemotion.com\/magazine\/microservices\/video-how-to-use-python-for-async-microservices\/","url":"https:\/\/www.codemotion.com\/magazine\/microservices\/video-how-to-use-python-for-async-microservices\/","name":"Video: How to Use Python for Async Microservices - Codemotion Magazine","isPartOf":{"@id":"https:\/\/www.codemotion.com\/magazine\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.codemotion.com\/magazine\/microservices\/video-how-to-use-python-for-async-microservices\/#primaryimage"},"image":{"@id":"https:\/\/www.codemotion.com\/magazine\/microservices\/video-how-to-use-python-for-async-microservices\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438.jpg","datePublished":"2022-08-03T07:32:07+00:00","dateModified":"2023-06-19T10:31:28+00:00","description":"Asynchronous microservices with Python? Watch this video and learn how to get it done with Starlette. Code examples included!","breadcrumb":{"@id":"https:\/\/www.codemotion.com\/magazine\/microservices\/video-how-to-use-python-for-async-microservices\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.codemotion.com\/magazine\/microservices\/video-how-to-use-python-for-async-microservices\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codemotion.com\/magazine\/microservices\/video-how-to-use-python-for-async-microservices\/#primaryimage","url":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438.jpg","contentUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438.jpg","width":1011,"height":568,"caption":"similar documents, python, document similarity"},{"@type":"BreadcrumbList","@id":"https:\/\/www.codemotion.com\/magazine\/microservices\/video-how-to-use-python-for-async-microservices\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.codemotion.com\/magazine\/"},{"@type":"ListItem","position":2,"name":"Microservices","item":"https:\/\/www.codemotion.com\/magazine\/microservices\/"},{"@type":"ListItem","position":3,"name":"Video: How to Use Python for Async Microservices"}]},{"@type":"WebSite","@id":"https:\/\/www.codemotion.com\/magazine\/#website","url":"https:\/\/www.codemotion.com\/magazine\/","name":"Codemotion Magazine","description":"We code the future. Together","publisher":{"@id":"https:\/\/www.codemotion.com\/magazine\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.codemotion.com\/magazine\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.codemotion.com\/magazine\/#organization","name":"Codemotion","url":"https:\/\/www.codemotion.com\/magazine\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/logo\/image\/","url":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/11\/codemotionlogo.png","contentUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/11\/codemotionlogo.png","width":225,"height":225,"caption":"Codemotion"},"image":{"@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Codemotion.Italy\/","https:\/\/x.com\/CodemotionIT"]},{"@type":"Person","@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/person\/201bb98b02412383686cced7521b861c","name":"Codemotion","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/11\/cropped-codemotionlogo-150x150.png","url":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/11\/cropped-codemotionlogo-150x150.png","contentUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/11\/cropped-codemotionlogo-150x150.png","caption":"Codemotion"},"description":"Articles wirtten by the Codemotion staff. Tech news, inspiration, latest treends in software development and more.","sameAs":["https:\/\/x.com\/CodemotionIT"],"url":"https:\/\/www.codemotion.com\/magazine\/author\/codemotion-2\/"}]}},"featured_image_src":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438-600x400.jpg","featured_image_src_square":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438-600x568.jpg","author_info":{"display_name":"Codemotion","author_link":"https:\/\/www.codemotion.com\/magazine\/author\/codemotion-2\/"},"uagb_featured_image_src":{"full":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438.jpg",1011,568,false],"thumbnail":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438-150x150.jpg",150,150,true],"medium":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438-300x169.jpg",300,169,true],"medium_large":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438-768x431.jpg",768,431,true],"large":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438.jpg",1011,568,false],"1536x1536":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438.jpg",1011,568,false],"2048x2048":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438.jpg",1011,568,false],"small-home-featured":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438.jpg",100,56,false],"sidebar-featured":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438-180x128.jpg",180,128,true],"genesis-singular-images":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438-896x504.jpg",896,504,true],"archive-featured":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438-400x225.jpg",400,225,true],"gb-block-post-grid-landscape":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438-600x400.jpg",600,400,true],"gb-block-post-grid-square":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/python-developer-community-e1659350197438-600x568.jpg",600,568,true]},"uagb_author_info":{"display_name":"Codemotion","author_link":"https:\/\/www.codemotion.com\/magazine\/author\/codemotion-2\/"},"uagb_comment_info":0,"uagb_excerpt":"In the video below, Iacopo Palletti, CTO at Nephilia, explains how to use Starlette (an ASGI Framework and toolkit) for building asynchronous microservices in Python. Async (asynchronous) programming is not new, but it is a new kid on the block when we talk about Python core. This allowed developing a new universe of async-first or&#8230;&hellip;","lang":"en","_links":{"self":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts\/18417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/users\/64"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/comments?post=18417"}],"version-history":[{"count":5,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts\/18417\/revisions"}],"predecessor-version":[{"id":21451,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts\/18417\/revisions\/21451"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/media\/11283"}],"wp:attachment":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/media?parent=18417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/categories?post=18417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/tags?post=18417"},{"taxonomy":"collections","embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/collections?post=18417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}