Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Introducing Litestar — A New Python Web Framework (Part 2)

Member-only storyJes Fink-JensenFollowBetter Programming--ShareIn this second article on Litestar, I present two additional examples showing how to use the framework.In the first example, we look at a web app that can manage user data, and we test it using Pytest.Then, in the second example, we write a Litestar app that manages books in an SQLite database. Both the front-end and the back-end are written in Python. The front-end is written using Brython (as in Browser Python).In the code below, a simple web application is being set up with basic operations for managing user data.Below is the step-by-step explanation of what’s happening in the above code:----Better ProgrammingNot your average geek…Jes Fink-JenseninBetter Programming--VinitainBetter Programming--38Benoit RuizinBetter Programming--221Jes Fink-JenseninBetter Programming--Tomas SvojanovskyinDjango Unleashed--abdadeel--Dmitrii EliuseevinTowards Data Science--1elijah samsoninAWS Tip--Darya Plotnikova--8Chanon Krittapholchai--1HelpStatusAboutCareersBlogPrivacyTermsText to speechTeams



This post first appeared on VedVyas Articles, please read the originial post: here

Share the post

Introducing Litestar — A New Python Web Framework (Part 2)

×

Subscribe to Vedvyas Articles

Get updates delivered right to your inbox!

Thank you for your subscription

×