Skip to content

Commit

Permalink
Add lunchtime 14: FastAPI
Browse files Browse the repository at this point in the history
- add fastapi[standard], sqlmodel, argon2-cffi to requirements.in
  • Loading branch information
lkeegan committed Nov 25, 2024
1 parent 9014663 commit ee9af15
Show file tree
Hide file tree
Showing 6 changed files with 915 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ Python is a very popular - maybe even *the* most popular - programming language

## Sessions

Next installment of Lunch Time Python: tba
Next installment of Lunch Time Python: Session 14, Dec 29th 2024, 11:30pm

Here is a list of past sessions which you can reproduce in a Cloud environment by clicking the [Binder](https://mybinder.org) or [Colab](https://colab.research.google.com/) (requires a Google account) links below:

* FastAPI: [slides](https://ssciwr.github.io/lunch-time-python/lunchtime14/lunchtime14.slides.html), [binder](https://mybinder.org/v2/gh/ssciwr/lunch-time-python.git/HEAD?labpath=lunchtime14%2Flunchtime14.ipynb), [colab](https://colab.research.google.com/github/ssciwr/lunch-time-python/blob/main/lunchtime14/lunchtime14.ipynb), [notebook](https://ssciwr.github.io/lunch-time-python/lunchtime14/lunchtime14.ipynb) (Session 14, Dec 29th 2024, 11:30pm)

* pydantic: [slides](https://ssciwr.github.io/lunch-time-python/lunchtime13/lunchtime13.slides.html), [binder](https://mybinder.org/v2/gh/ssciwr/lunch-time-python.git/HEAD?labpath=lunchtime13%2Flunchtime13.ipynb), [colab](https://colab.research.google.com/github/ssciwr/lunch-time-python/blob/main/lunchtime13/lunchtime13.ipynb), [notebook](https://ssciwr.github.io/lunch-time-python/lunchtime13/lunchtime13.ipynb) (Session 13, April 23th 2024, 12:00pm)

* Dash: [slides](https://ssciwr.github.io/lunch-time-python/lunchtime12/lunchtime12.slides.html), [binder](https://mybinder.org/v2/gh/ssciwr/lunch-time-python.git/HEAD?labpath=lunchtime12%2Flunchtime12.ipynb), [colab](https://colab.research.google.com/github/ssciwr/lunch-time-python/blob/main/lunchtime12/lunchtime12.ipynb), [notebook](https://ssciwr.github.io/lunch-time-python/lunchtime12/lunchtime12.ipynb) (Session 12, May 25th 2022, 12:00pm)
Expand Down
1 change: 1 addition & 0 deletions jupyter_nbconvert_template/index.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
<li><a href='https://ssciwr.github.io/lunch-time-python/lunchtime11/lunchtime11.slides.html'>11</a></li>
<li><a href='https://ssciwr.github.io/lunch-time-python/lunchtime12/lunchtime12.slides.html'>12</a></li>
<li><a href='https://ssciwr.github.io/lunch-time-python/lunchtime13/lunchtime13.slides.html'>13</a></li>
<li><a href='https://ssciwr.github.io/lunch-time-python/lunchtime14/lunchtime14.slides.html'>14</a></li>
</ul>
</div>
<div class="slides">
Expand Down
5 changes: 5 additions & 0 deletions lunchtime14/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Lunchtime #14: FastAPI / SQLModel

[FastAPI](https://fastapi.tiangolo.com/) is a web framework that combines [https://www.starlette.io/](starlette) (ASGI framework) with [pydantic](https://docs.pydantic.dev/latest/) (data validation).
[SQLModel](https://sqlmodel.tiangolo.com/) combines SQLAlchemy (database ORM) with pydantic](https://docs.pydantic.dev/latest/).
Together they allow you to write expressive web backends with data validation and type hints.
Loading

0 comments on commit ee9af15

Please sign in to comment.