Air Web Framework
@airwebframework.bsky.social
19 followers 3 following 16 posts
The new web framework that breathes fresh air into Python web development. Built with FastAPI, Starlette, Pydantic, and HTMX.
Posts Media Videos Starter Packs
airwebframework.bsky.social
In the past 8 hours our GitHub stars jumped by almost 10%!
airwebframework.bsky.social
Air 0.32.0 is out! Features:
- Vast improvements to auth and sql extensions
- Addition of developer convenience methods Tag.pretty_render and Tag.pretty_print
- Many documentation improvements
- Lots more!

Next up is a full-fledged tutorial!

github.com/feldroy/air/...
Release v0.32.0 · feldroy/air
What's Changed FEAT: Add changelog link to pyproject.toml by @alaminopu in #480 FEAT: Make the default status_code of air.RedirectResponse be 303 by @alaminopu in #481 Merge cookbook into learn se...
github.com
airwebframework.bsky.social
Coming in Air 0.32, released hopefully tomorrow!

To make reading HTML output easier, we will have features for converting dense HTML to pretty printed HTML!

All credit goes to github.com/tallerasaf for the PR and
@willmcgugan.bsky.social for the rich library its built on.
What browsers see from Air, which is HTML with unnecessary whitespace stripped. What developers using Air can see locally if they so chose, which is carefully formatted, indented, and code highlighted output.
airwebframework.bsky.social
We just released 0.31.0, which:

- Adds a Django-inspired get_object_or_404 to air.ext.sql
- Adds an async sql lifespan function to air.ext.sql
- Drops support for Python 3.10 and 3.11
- Vastly increases our type coverage

Read the entire release here: github.com/feldroy/air/...
Release v0.31.0 · feldroy/air
What's Changed Add latest-changes GitHub Action workflow (Issue #163) by @prodigisoftwares in #437 Issue #60-Document-is_htmx_request - Add documentation and add a coup… by @prodigisoftwares in #4...
github.com
Reposted by Air Web Framework
isaac-flath.bsky.social
I documented how I created a 74-second promo video draft for a new framework, air, in 30 minutes

How to stay in control of AI:

✅ Injecting human taste
✅ Correcting AI errors
✅ Improving code examples
✅ Syncing animations to music, and more.

elite-ai-assisted-coding.dev/p/from-zero...
From Zero to Promo Video in 30 Minutes with AI
How to retain creative control and direction over AI when you aren't writing much of the code
elite-ai-assisted-coding.dev
airwebframework.bsky.social
Air 0.30.0 is out and it's huge. High lights of the release:

- Tag improvements that print better in the shell, and also have a pretty printing option
- First official authentication connector!
- An Air Tag/Jinja component loader for third party packages

github.com/feldroy/air/...
Release v0.30.0 · feldroy/air
What's Changed New contributor submissions BUG: resolve type-check errors pyrefly in docs by adding path by @datnq26 in #415 DOCS: add two uv steps by @modasserbillah in #416 DOCS: Import Field fr...
github.com
airwebframework.bsky.social
Our docs are now served here: feldroy.github.io/air/

Building AirDocs is fun but it is hard to build it while also building AIR and various products. When AIR is more feature complete we'll return to working on the AirDoc system.
AIR
feldroy.github.io
airwebframework.bsky.social
We just got pretty argument tables in our API reference docs. Needs some cleanup, but we're really happy with where this is going!
Image of the keyword argument table in airdocs, the documentation site for Air.
airwebframework.bsky.social
The new reference doc system has been deployed! This first pass took just an hour of effort by the core team. Just imagine the improvements when we get another hour into this effort!

airdocs.fastapicloud.dev/reference
Air Docs
airdocs.fastapicloud.dev
airwebframework.bsky.social
We love and are inspired by all the other Python web frameworks. However one thing we have over all of them is badges.
Wall of badges owned by Air
Reposted by Air Web Framework
audrey.feldroy.com
I've figured that @airwebframework.bsky.social works with React in production, for anyone needing to use it that way 🚀

In my AIR app, I created a Jinja template that works with any arbitrary 1-file React app
How I load a Jinja template that serves as a shell for any dynamic single-file React app: I check if the app needs React, then return a rendered Jinja template containing what the app needs
airwebframework.bsky.social
Hi, this is Air, the new web framework that breathes fresh air into Python web development